From 09ea80d12d6e553b1981f6d51adcb270536996c6 Mon Sep 17 00:00:00 2001 From: Florent Rougon Date: Mon, 26 Sep 2022 16:00:19 +0200 Subject: [PATCH] FGSoundManager::playAudioSampleCommand(): update comment The 'instant' queue doesn't work like other queues. --- src/Sound/soundmanager.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Sound/soundmanager.cxx b/src/Sound/soundmanager.cxx index c66e53d09..b6ba3c57f 100644 --- a/src/Sound/soundmanager.cxx +++ b/src/Sound/soundmanager.cxx @@ -201,9 +201,9 @@ void FGSoundManager::update(double dt) /** * 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 - * into a queue. Messages are played sequentially so they do not - * overlap. + * fire and forget. Call this once per message and it will get dumped + * into a queue. Except for the special 'instant' queue, messages within + * a given queue are played sequentially so they do not overlap. */ bool FGSoundManager::playAudioSampleCommand(const SGPropertyNode * arg, SGPropertyNode * root) {