nw::snd::StreamSoundHandle::GetPlaySamplePosition Member Function

Syntax

#include <nw/snd/snd_StreamSoundHandle.h>
long GetPlaySamplePosition() const;

Arguments

None.

Return Values

Returns the playback position of the stream sound as a number of samples.

Description

Obtains the playback position for the stream data currently playing.

Gets the playback position for the stream data being played for the sound associated with a handle. Returns a negative value if the handle is invalid.

Revision History

2010/01/22
Initial version.

CONFIDENTIAL