NNS_SndWaveOutWaitForChannelStop

Syntax

#include <nnsys/snd.h>
void NNS_SndWaveOutWaitForChannelStop(
        NNSSndWaveOutHandle handle );

Arguments

handle Waveform playback handle.

Return Values

None.

Description

Waits until the channel stops completely.

This function waits until playback in the channel obtained by the the waveform playback handle handle stops completely. This function must be called to ensure that the memory area that was once used for playback of the waveform data may be used for other purposes, or that waveform data can be updated.

This function processes relatively quickly if it is called after the NNS_SndWaveOutStop function has been called. If the NNS_SndWaveOutStop function has not been called, this function waits until playback ends naturally.

See Also

NNS_SndWaveOutStop

Revision History

2004/07/01 Initial version.


CONFIDENTIAL