1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00

Fix code comment for juce::SoundPlayer::play.

This commit is contained in:
Tatsuya Shiozawa 2025-02-23 00:50:52 +09:00 committed by reuk
parent 389516feeb
commit ae7db80b7b
No known key found for this signature in database

View file

@ -73,9 +73,9 @@ public:
This gives you slightly more control over the sound playback compared This gives you slightly more control over the sound playback compared
to the other playSound methods. For example, if you would like to to the other playSound methods. For example, if you would like to
stop the sound prematurely you can call this method with a 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 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 The audio device manager will not hold any references to this audio
source once the audio source has stopped playing for any reason, source once the audio source has stopped playing for any reason,