Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

BOOL PSoundChannel::WaitForPlayCompletion (  ) [inline, virtual]

Block the thread until the sound play begun with PlayBuffer() or PlayFile() has completed.

Returns:
TRUE if the sound has successfully completed playing.

Reimplemented in PSoundChannelDirectSound, PSoundChannelWin32, PSoundChannelBeOS, PSoundChannelCoreAudio, PSoundChannelALSA, PSoundChannelESD, PSoundChannelOSS, and PSoundChannelSunAudio.

Definition at line 662 of file sound.h.

References WaitForPlayCompletion().

Referenced by WaitForPlayCompletion().

    { return (baseChannel == NULL) ? FALSE : baseChannel->WaitForPlayCompletion(); }

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index