1
0
Fork 0

FGSoundManager::playAudioSampleCommand(): update comment

The 'instant' queue doesn't work like other queues.
This commit is contained in:
Florent Rougon 2022-09-26 16:00:19 +02:00
parent 280fdecad0
commit 09ea80d12d

View file

@ -201,9 +201,9 @@ void FGSoundManager::update(double dt)
/** /**
* Built-in command: play an audio message (i.e. a wav file) This is * Built-in command: play an audio message (i.e. a wav file) This is
* fire and forget. Call this once per message and it will get dumped * fire and forget. Call this once per message and it will get dumped
* into a queue. Messages are played sequentially so they do not * into a queue. Except for the special 'instant' queue, messages within
* overlap. * a given queue are played sequentially so they do not overlap.
*/ */
bool FGSoundManager::playAudioSampleCommand(const SGPropertyNode * arg, SGPropertyNode * root) bool FGSoundManager::playAudioSampleCommand(const SGPropertyNode * arg, SGPropertyNode * root)
{ {