Revert "hmulti_audio.media_addon: stop the output thread on BTimedEventQueue::B_STOP"

This reverts commit 571148258b901c87717395e3a91d9b078992359c.

Change-Id: I5efa34035ebe51fce2521684987bb6e8b7dc42d3
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2246
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
This commit is contained in:
Jérôme Duval 2020-02-14 22:27:21 +01:00
parent 9c9a810c41
commit f368188360

View File

@ -1256,7 +1256,6 @@ MultiAudioNode::_HandleStart(const media_timed_event* event, bigtime_t lateness,
{
CALLED();
if (RunState() != B_STARTED) {
_StartOutputThreadIfNeeded();
}
return B_OK;
}
@ -1292,7 +1291,7 @@ MultiAudioNode::_HandleStop(const media_timed_event* event, bigtime_t lateness,
EventQueue()->FlushEvents(0, BTimedEventQueue::B_ALWAYS, true,
BTimedEventQueue::B_HANDLE_BUFFER);
_StopOutputThread();
//_StopOutputThread();
return B_OK;
}