nw::snd::WaveSoundHandle::GetPlaySamplePosition Member Function

Syntax

#include <nw/snd/snd_WaveSoundHandle.h>

s32 GetPlaySamplePosition() const;

Arguments

None.

Return Values

Returns the playback position of the wave sound data as a number of samples.

Description

Gets the playback position for the wave sound data currently playing.

Gets the playback position (as a number of samples) for the wave sound data being played for the sound associated with a handle. Returns a negative value if the handle is invalid.

Revision History

2010/03/08
Changed the return value type (from long to s32)
2010/01/22
Initial version.

CONFIDENTIAL