stmm-games-doc  0.32.0
Public Attributes | List of all members
stmi::PlaybackCapability::SoundData Struct Reference

Return data type. More...

Public Attributes

int32_t m_nSoundId = -1
 The sound id. More...
 
int32_t m_nFileId = -1
 The file id. More...
 

Detailed Description

Return data type.

Member Data Documentation

◆ m_nFileId

int32_t stmi::PlaybackCapability::SoundData::m_nFileId = -1

The file id.

Allows to play the file or buffer again possibly more efficiently (using cache). Negative if error. Default is -1.

◆ m_nSoundId

int32_t stmi::PlaybackCapability::SoundData::m_nSoundId = -1

The sound id.

Can be used to position, pause, resume the sound. If negative, error occurred. Default is -1.