[haiku-commits] Change in haiku[master]: Revert "hmulti_audio.media_addon: stop the output thread on BTimedEve...

  • From: Gerrit <review@xxxxxxxxxxxxxxxxxxx>
  • To: waddlesplash <waddlesplash@xxxxxxxxx>, haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 15 Feb 2020 15:20:01 +0000

From Jérôme Duval <jerome.duval@xxxxxxxxx>:

Jérôme Duval has uploaded this change for review. ( 
https://review.haiku-os.org/c/haiku/+/2246 ;)


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

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

This reverts commit 571148258b901c87717395e3a91d9b078992359c.
---
M src/add-ons/media/media-add-ons/multi_audio/MultiAudioNode.cpp
1 file changed, 1 insertion(+), 2 deletions(-)



  git pull ssh://git.haiku-os.org:22/haiku refs/changes/46/2246/1

diff --git a/src/add-ons/media/media-add-ons/multi_audio/MultiAudioNode.cpp 
b/src/add-ons/media/media-add-ons/multi_audio/MultiAudioNode.cpp
index d84dc63..69d1819 100644
--- a/src/add-ons/media/media-add-ons/multi_audio/MultiAudioNode.cpp
+++ b/src/add-ons/media/media-add-ons/multi_audio/MultiAudioNode.cpp
@@ -1256,7 +1256,6 @@
 {
        CALLED();
        if (RunState() != B_STARTED) {
-               _StartOutputThreadIfNeeded();
        }
        return B_OK;
 }
@@ -1292,7 +1291,7 @@
        EventQueue()->FlushEvents(0, BTimedEventQueue::B_ALWAYS, true,
                BTimedEventQueue::B_HANDLE_BUFFER);

-       _StopOutputThread();
+       //_StopOutputThread();
        return B_OK;
 }


--
To view, visit https://review.haiku-os.org/c/haiku/+/2246
To unsubscribe, or for help writing mail filters, visit 
https://review.haiku-os.org/settings

Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: I5efa34035ebe51fce2521684987bb6e8b7dc42d3
Gerrit-Change-Number: 2246
Gerrit-PatchSet: 1
Gerrit-Owner: Jérôme Duval <jerome.duval@xxxxxxxxx>
Gerrit-MessageType: newchange

Other related posts:

  • » [haiku-commits] Change in haiku[master]: Revert "hmulti_audio.media_addon: stop the output thread on BTimedEve... - Gerrit