diff --git a/src/aaudio/AudioStreamAAudio.cpp b/src/aaudio/AudioStreamAAudio.cpp index 96f0c392d..cb4caee90 100644 --- a/src/aaudio/AudioStreamAAudio.cpp +++ b/src/aaudio/AudioStreamAAudio.cpp @@ -110,7 +110,7 @@ void AudioStreamAAudio::internalErrorCallback( aaudio_result_t error) { AudioStreamAAudio *oboeStream = reinterpret_cast(userData); - // Prevents deletion of the stream if the app is using AudioStreamBuilder::openSharedStream() + // Prevents deletion of the stream if the app is using AudioStreamBuilder::openStream(shared_ptr) std::shared_ptr sharedStream = oboeStream->lockWeakThis(); // These checks should be enough because we assume that the stream close()