-
Notifications
You must be signed in to change notification settings - Fork 6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move AudioTrack initialization into handleBuffer.
Move initialization code from the audio renderers into handleBuffer. The audio session id and tunneling enabled state can be altered using new setters. This change is not intended to change the behavior of the audio renderers. Before this change, the AudioTrack would always be reinitialized by the renderers before calling handleBuffer. Add a protected onAudioTrackUnderrun method for custom renderers that want to implement custom handling of underruns. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=144067149
- Loading branch information
1 parent
5c89bbe
commit ce03b8c
Showing
3 changed files
with
174 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.