nw::snd::StreamDataInfo Structure

Header file: nw/snd/snd_StreamSoundPlayer.h

Syntax

struct StreamDataInfo
{
   bool loopFlag;
   int sampleRate;
   u32 loopStart;
   u32 loopEnd;
};

Description

This set of parameters is for stream data.

This information can be retrieved using StrmSoundHandle::ReadStreamDataInfo.

Member Variables

loopFlag True if the stream data is looped. False if it stops at the end.
sampleRate Represents the sampling rate of the stream data.
loopStart Represents the loop start position when the stream data is looped as a number of samples from the start of the stream.
loopEnd Represents the loop end position when the stream data is looped as a number of samples from the start of the stream. Represents the end of the data as a number of samples if stream data is not looped. (Points to the sample following the last sample played.)

See Also

StreamSoundHandle::ReadStreamDataInfo

Revision History

2010/03/12
Corrected a type (changed StearmSoundHandle to StreamSoundHandle)
2010/01/22
Initial version.

CONFIDENTIAL