nw::snd::StreamDataInfo Structurestruct StreamDataInfo
{
bool loopFlag;
int sampleRate;
u32 loopStart;
u32 loopEnd;
};
This set of parameters is for stream data.
This information can be retrieved using StrmSoundHandle::ReadStreamDataInfo.
| loopFlag | bool | True if the stream data is looped. False if it stops at the end. | |
|---|---|---|---|
| sampleRate | int | Represents the sampling rate of the stream data. | |
| loopStart | u32 | Represents the loop start position when the stream data is looped as a number of samples from the start of the stream. | |
| loopEnd | u32 | 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.) |
CONFIDENTIAL