#include <nitro/snd.h>
void SND_WaitForCommandProc( u32 tag );
Waits for command processes to end.
The command tag specified for tag
is the one obtained by SND_GetCurrentCommandTag
. The return of this function confirms that execution has completed for the command that was reserved immediately prior to the acquisition of the command tag.
Be aware that you could end up waiting indefinitely if you are waiting for a command that is not flushed by the SND_FlushCommand
function.
SND_GetCurrentCommandTag, SND_FlushCommand
07/20/2004 Initial version