mirror of
https://github.com/mpv-player/mpv
synced 2024-12-27 09:32:40 +00:00
ao_wasapi: Also do passthrough for AF_FORMAT_MPEG2
That's the sample format ad_spdif uses when the source is MP3.
This commit is contained in:
parent
dcf38e0190
commit
a8b4be274c
@ -428,7 +428,7 @@ static int find_formats(struct ao *const ao)
|
||||
{
|
||||
struct wasapi_state *state = (struct wasapi_state *)ao->priv;
|
||||
|
||||
if (AF_FORMAT_IS_IEC61937(ao->format)) {
|
||||
if (AF_FORMAT_IS_IEC61937(ao->format) || ao->format == AF_FORMAT_MPEG2) {
|
||||
if (try_passthrough(state, ao))
|
||||
return 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user