Loading media/libaaudio/src/legacy/AudioStreamTrack.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -119,7 +119,8 @@ aaudio_result_t AudioStreamTrack::open(const AudioStreamBuilder& builder) // that is some multiple of the burst size. notificationFrames = 0 - DEFAULT_BURSTS_PER_BUFFER_CAPACITY; } else { notificationFrames = builder.getFramesPerDataCallback(); // To avoid glitching, let AudioFlinger pick the optimal burst size. notificationFrames = 0; } } mCallbackBufferSize = builder.getFramesPerDataCallback(); Loading Loading
media/libaaudio/src/legacy/AudioStreamTrack.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -119,7 +119,8 @@ aaudio_result_t AudioStreamTrack::open(const AudioStreamBuilder& builder) // that is some multiple of the burst size. notificationFrames = 0 - DEFAULT_BURSTS_PER_BUFFER_CAPACITY; } else { notificationFrames = builder.getFramesPerDataCallback(); // To avoid glitching, let AudioFlinger pick the optimal burst size. notificationFrames = 0; } } mCallbackBufferSize = builder.getFramesPerDataCallback(); Loading