mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1123768 - Backout bug 1108455 to avoid truncating the end of audio streams on Vista+. r=kinetik
This commit is contained in:
parent
c566e5e21b
commit
3800ae52f4
@ -545,8 +545,10 @@ wasapi_stream_render_loop(LPVOID stream)
|
||||
assert(padding <= stm->buffer_frame_count);
|
||||
|
||||
if (stm->draining) {
|
||||
stm->state_callback(stm, stm->user_ptr, CUBEB_STATE_DRAINED);
|
||||
is_playing = false;
|
||||
if (padding == 0) {
|
||||
stm->state_callback(stm, stm->user_ptr, CUBEB_STATE_DRAINED);
|
||||
is_playing = false;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user