WASAPI does not work! Why?

Go down

WASAPI does not work! Why?

Post by GrindJohn on Tue Jan 16, 2018 8:50 am

Hello!

Can't configure the player to output the sound in WASAPI! Still the sound output in Windows!




GrindJohn

Posts : 17
Join date : 2017-02-04

View user profile

Back to top Go down

Re: WASAPI does not work! Why?

Post by Admin on Tue Jan 16, 2018 3:37 pm

On the Output page you need to select the "Internal Audio Renderer". That supports WASAPI.

Admin
Admin

Posts : 4189
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: WASAPI does not work! Why?

Post by GrindJohn on Tue Jan 16, 2018 8:35 pm

Admin wrote:On the Output page you need to select the "Internal Audio Renderer". That supports WASAPI.
So I tried that. The audio breaks up and crackles! Other players sound through WASAPI plays fine!

GrindJohn

Posts : 17
Join date : 2017-02-04

View user profile

Back to top Go down

Re: WASAPI does not work! Why?

Post by notcyf on Wed Jan 17, 2018 1:57 am

GrindJohn wrote:
Admin wrote:On the Output page you need to select the "Internal Audio Renderer". That supports WASAPI.
So I tried that. The audio breaks up and crackles! Other players sound through WASAPI plays fine!

For me audio crackling only ever occurs in WASAPI mode if it's running in shared mode. Not sure how to enable exclusive mode but that's usually been my fix. If you really need shared mode it's better to not use WASAPI and rather use the default option(Xaudio2 i believe). Also, if there are multiple programs trying to use WASAPI in exclusive mode, it might cause crashing issues.

notcyf

Posts : 141
Join date : 2017-08-24

View user profile

Back to top Go down

Re: WASAPI does not work! Why?

Post by Admin on Wed Jan 17, 2018 4:35 pm

Also test if lowering the volumes solves the crackling.

You can find an exclusive mode setting here:
Windows Control Panel > Sound > Device > properties > Advanced

Admin
Admin

Posts : 4189
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: WASAPI does not work! Why?

Post by GrindJohn on Thu Jan 18, 2018 3:43 am

Maybe this is due to 32 bit or 64 bit version of MediaPlayerClassic?
On Windows 10 this problem was not! Now I use Windows 7.

GrindJohn

Posts : 17
Join date : 2017-02-04

View user profile

Back to top Go down

Re: WASAPI does not work! Why?

Post by notcyf on Thu Jan 18, 2018 10:00 am

GrindJohn wrote:Maybe this is due to 32 bit or 64 bit version of MediaPlayerClassic?
On Windows 10 this problem was not! Now I use Windows 7.

I doubt this is due to what version you take, but you could always check yourself. I really think this is just due to how MPC-HC handles WASAPI audio. It is a low-level interface, it is a lot harder to work with than a high level API such as Xaudio2 and has lots of different implementations. Basically if you use WASAPI you're removing a layer between the player and the sound card(The DirectX layer to be specific). It can be hard to identify issues with WASAPI.

notcyf

Posts : 141
Join date : 2017-08-24

View user profile

Back to top Go down

Re: WASAPI does not work! Why?

Post by Admin on Thu Jan 18, 2018 2:44 pm

32bit or 64bit does not matter. It should also work on Windows 7.

Admin
Admin

Posts : 4189
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: WASAPI does not work! Why?

Post by GrindJohn on Thu Jan 18, 2018 3:01 pm

Admin wrote:32bit or 64bit does not matter. It should also work on Windows 7.
Works, but the audio breaks up

GrindJohn

Posts : 17
Join date : 2017-02-04

View user profile

Back to top Go down

Re: WASAPI does not work! Why?

Post by Admin on Thu Jan 18, 2018 3:27 pm

You said that another player worked ok. Did you test with the exact same video file and same version of Windows?

Check if DPC latency is good:
http://www.thesycon.de/eng/latency_check.shtml

Admin
Admin

Posts : 4189
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: WASAPI does not work! Why?

Post by GrindJohn on Thu Jan 18, 2018 4:28 pm

Admin wrote:You said that another player worked ok. Did you test with the exact same video file and same version of Windows?

Check if DPC latency is good:
http://www.thesycon.de/eng/latency_check.shtml



Yes! For example in PowerDVD WASAPI works perfectly!

GrindJohn

Posts : 17
Join date : 2017-02-04

View user profile

Back to top Go down

Re: WASAPI does not work! Why?

Post by Admin on Fri Jan 19, 2018 3:05 pm

The internal audio renderer in MPC-HC is not actively being developed right now, so I am afraid there is little chance of improvement.

Admin
Admin

Posts : 4189
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: WASAPI does not work! Why?

Post by notcyf on Fri Jan 19, 2018 5:37 pm

Can i ask for the specific reason you need to use WASAPI? Unless you are a professional audio engineer(in which you usually use ASIO instead) there's no big reason to use WASAPI over Xaudio2 except for low latency requirements(such as certain emulators).

notcyf

Posts : 141
Join date : 2017-08-24

View user profile

Back to top Go down

Re: WASAPI does not work! Why?

Post by GrindJohn on Fri Jan 19, 2018 8:38 pm

notcyf wrote:Can i ask for the specific reason you need to use WASAPI? Unless you are a professional audio engineer(in which you usually use ASIO instead) there's no big reason to use WASAPI over Xaudio2 except for low latency requirements(such as certain emulators).
For WASAPI the sound is different, he somehow got me louder! For DirectSound it quieter! And it's a matter of principle. PowerDVD plays not all formats!

GrindJohn

Posts : 17
Join date : 2017-02-04

View user profile

Back to top Go down

Re: WASAPI does not work! Why?

Post by Admin on Sat Jan 20, 2018 4:58 pm

Volume can be increased by enabling the "Loudness Equalization" enhancement in the Windows sound settings.

Admin
Admin

Posts : 4189
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: WASAPI does not work! Why?

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum