From ae7db80b7bece19bbd7a26f0fe6750b8bf3f175d Mon Sep 17 00:00:00 2001 From: Tatsuya Shiozawa Date: Sun, 23 Feb 2025 00:50:52 +0900 Subject: [PATCH] Fix code comment for juce::SoundPlayer::play. --- modules/juce_audio_utils/players/juce_SoundPlayer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/juce_audio_utils/players/juce_SoundPlayer.h b/modules/juce_audio_utils/players/juce_SoundPlayer.h index 8823f5ddb7..b2fc4acfa3 100644 --- a/modules/juce_audio_utils/players/juce_SoundPlayer.h +++ b/modules/juce_audio_utils/players/juce_SoundPlayer.h @@ -73,9 +73,9 @@ public: This gives you slightly more control over the sound playback compared to the other playSound methods. For example, if you would like to stop the sound prematurely you can call this method with a - TransportAudioSource and then call audioSource->stop. Note that, + AudioTransportSource and then call audioSource->stop. Note that, you must call audioSource->start to start the playback, if your - audioSource is a TransportAudioSource. + audioSource is a AudioTransportSource. The audio device manager will not hold any references to this audio source once the audio source has stopped playing for any reason,