DescriptionAUAudioOutputStream::Stop() first sets the source_ to NULL then calls AudioOutputUnitStop(), since AudioOutputUnitStop() is called by AudioManager thread, it will do a synchronous stop which means that AUAudioOutputStream::Render() will keep running until it is done. so that it crashes when it hits source_ which has been set to NULL. The solution is to stop the HAL first and then set the source_ to NULL.
BUG=120193
TEST=None
TAB=tommi
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=129590
Patch Set 1 #
Total comments: 5
Patch Set 2 : addressed Chris's comments #
Messages
Total messages: 8 (0 generated)
|