Loading services/audioflinger/Threads.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -5462,6 +5462,11 @@ void AudioFlinger::DirectOutputThread::onAddNewTrack_l() mFlushPending = true; } } } else if (previousTrack == 0) { // there could be an old track added back during track transition for direct // output, so always issues flush to flush data of the previous track if it // was already destroyed with HAL paused, then flush can resume the playback mFlushPending = true; } PlaybackThread::onAddNewTrack_l(); } Loading Loading
services/audioflinger/Threads.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -5462,6 +5462,11 @@ void AudioFlinger::DirectOutputThread::onAddNewTrack_l() mFlushPending = true; } } } else if (previousTrack == 0) { // there could be an old track added back during track transition for direct // output, so always issues flush to flush data of the previous track if it // was already destroyed with HAL paused, then flush can resume the playback mFlushPending = true; } PlaybackThread::onAddNewTrack_l(); } Loading