diff options
Diffstat (limited to 'audio/out/ao_wasapi.c')
-rw-r--r-- | audio/out/ao_wasapi.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/audio/out/ao_wasapi.c b/audio/out/ao_wasapi.c index 1337717f7b..dbca270e00 100644 --- a/audio/out/ao_wasapi.c +++ b/audio/out/ao_wasapi.c @@ -129,8 +129,9 @@ static bool thread_feed(struct ao *ao) BYTE *data[1] = {pData}; - ao_read_data(ao, (void **)data, frame_count, - mp_time_us() + (int64_t)llrint(delay_us)); + ao_read_data_converted(ao, &state->convert_format, + (void **)data, frame_count, + mp_time_us() + (int64_t)llrint(delay_us)); // note, we can't use ao_read_data return value here since we already // committed to frame_count above in the GetBuffer call |