Commit cf9a19f0 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

DirectSound: always set the original_channels

Ref #13826

(cherry picked from commit 32db92e713d16c2a98730d126b6adcad87b27698)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 116a6280
...@@ -772,6 +772,8 @@ static HRESULT Start( vlc_object_t *obj, aout_stream_sys_t *sys, ...@@ -772,6 +772,8 @@ static HRESULT Start( vlc_object_t *obj, aout_stream_sys_t *sys,
} }
} }
fmt->i_original_channels = fmt->i_physical_channels;
int ret = vlc_clone(&sys->eraser_thread, PlayedDataEraser, (void*) obj, int ret = vlc_clone(&sys->eraser_thread, PlayedDataEraser, (void*) obj,
VLC_THREAD_PRIORITY_LOW); VLC_THREAD_PRIORITY_LOW);
if( unlikely( ret ) ) if( unlikely( ret ) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment