Add support of AAudio in native WebRTC on Android O and above
Bug: webrtc:8914 Change-Id: I016dd8fcebba1644c0a83e5f1460520545d4cdde Reviewed-on: https://webrtc-review.googlesource.com/56180 Commit-Queue: Henrik Andreassson <henrika@webrtc.org> Reviewed-by: Oskar Sundbom <ossu@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22467}
This commit is contained in:
@ -104,11 +104,12 @@ class AudioDeviceBuffer {
|
||||
|
||||
int32_t SetTypingStatus(bool typing_status);
|
||||
|
||||
// Called on iOS where the native audio layer can be interrupted by other
|
||||
// audio applications. This method can then be used to reset internal
|
||||
// states and detach thread checkers to allow for a new audio session where
|
||||
// native callbacks may come from a new set of I/O threads.
|
||||
void NativeAudioInterrupted();
|
||||
// Called on iOS and Android where the native audio layer can be interrupted
|
||||
// by other audio applications. These methods can then be used to reset
|
||||
// internal states and detach thread checkers to allow for new audio sessions
|
||||
// where native callbacks may come from a new set of I/O threads.
|
||||
void NativeAudioPlayoutInterrupted();
|
||||
void NativeAudioRecordingInterrupted();
|
||||
|
||||
private:
|
||||
// Starts/stops periodic logging of audio stats.
|
||||
|
||||
Reference in New Issue
Block a user