Revert "hmulti_audio.media_addon: stop the output thread on BTimedEventQueue::B_STOP"
This reverts commit 571148258b.
Change-Id: I5efa34035ebe51fce2521684987bb6e8b7dc42d3
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2246
Reviewed-by: Jérôme Duval <[email protected]>
This commit is contained in:
@@ -1256,7 +1256,6 @@ MultiAudioNode::_HandleStart(const media_timed_event* event, bigtime_t lateness,
|
|||||||
{
|
{
|
||||||
CALLED();
|
CALLED();
|
||||||
if (RunState() != B_STARTED) {
|
if (RunState() != B_STARTED) {
|
||||||
_StartOutputThreadIfNeeded();
|
|
||||||
}
|
}
|
||||||
return B_OK;
|
return B_OK;
|
||||||
}
|
}
|
||||||
@@ -1292,7 +1291,7 @@ MultiAudioNode::_HandleStop(const media_timed_event* event, bigtime_t lateness,
|
|||||||
EventQueue()->FlushEvents(0, BTimedEventQueue::B_ALWAYS, true,
|
EventQueue()->FlushEvents(0, BTimedEventQueue::B_ALWAYS, true,
|
||||||
BTimedEventQueue::B_HANDLE_BUFFER);
|
BTimedEventQueue::B_HANDLE_BUFFER);
|
||||||
|
|
||||||
_StopOutputThread();
|
//_StopOutputThread();
|
||||||
return B_OK;
|
return B_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user