-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bitstream wasapi exlusive mode #1742
Comments
We also need to make sure that all the supportable bitstream formats (particularly dtshd, truehd) actually work, and correctly (as in correct number / mapping of channels). |
...which boils down to not touching the audio parameters if it's a passthrough format. You can use |
* unify passthrough and pcm exclusive mode format setting/testing * set passthrough format parameters correctly * support all of mpv's existing passthrough formats * automatically test passthrough with exclusive mode and enable exclusive if it succeeds, even if it was not explictly requested. this obviates the need for --ao=wasapi,wasapi=exclusive * if passthrough fails (such as the device doesn't support the format), fallback to either exclusive pcm or shared mode depending on what the user specified. fixes mpv-player#1742
let me know the output with --msg-level=ao=debug |
for reference, that broke existing passthrough for ac3 and dts. ac3 passthrough format was rejected by IsFormatSupported my hypothesis is that this is a result of trying to set nBlockAlign. |
* unify passthrough and pcm exclusive mode format setting/testing * set passthrough format parameters correctly * support all of mpv's existing passthrough formats * automatically test passthrough with exclusive mode and enable exclusive if it succeeds, even if it was not explictly requested. this obviates the need for --ao=wasapi,wasapi=exclusive * if passthrough fails (such as the device doesn't support the format), fallback to either exclusive pcm or shared mode depending on what the user specified. fixes mpv-player#1742
hopefully fixes the freezing / unaccepted format in mpv-player#1742
ughgh, ignore all but the last of the above three. mpv-2ccee18.exe weird console window bug should also be fixed. |
fix stupid format GUID errors. mpv-d9609ad.exe |
* unify passthrough and pcm exclusive mode format setting/testing * set passthrough format parameters correctly * support all of mpv's existing passthrough formats * automatically test passthrough with exclusive mode and enable exclusive if it succeeds, even if it was not explictly requested. this obviates the need for --ao=wasapi,wasapi=exclusive * if passthrough fails (such as the device doesn't support the format), fallback to either exclusive pcm or shared mode depending on what the user specified. Right now this isn't very useful as it still fails due to the decoder path remainin stuck on spdif. fixes mpv-player#1742
On Windows, when specifying spdif as decoder, mpv should use wasapi excluvie mode by default.
The text was updated successfully, but these errors were encountered: