Skip to content
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.

Commit

Permalink
Merge change 5387 into donut
Browse files Browse the repository at this point in the history
* changes:
  When OpenCore 2.0 was integrated, it broke the audio stream MIO. This patch signals the observer so that playback starts correctly. Bug 1837526
  • Loading branch information
Android (Google) Code Review committed Jun 26, 2009
2 parents 5e1cf3a + 1a350fa commit 832bc26
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions android/android_audio_stream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,13 @@ void AndroidAudioStream::setParametersSync(PvmiMIOSession aSession, PvmiKvp* aPa
iAudioSamplingRateValid = false;
iAudioNumChannelsValid = false;
iAudioFormat = PVMF_MIME_FORMAT_UNKNOWN;

// signal observer
iAudioThreadCreatedAndMIOConfigured = true;
if(iObserver){
LOGV("event PVMFMIOConfigurationComplete to peer");
iObserver->ReportInfoEvent(PVMFMIOConfigurationComplete);
}
}
}

Expand Down

0 comments on commit 832bc26

Please sign in to comment.