This function returns the value of a sound property.
Copy Code | |
---|---|
float GetSoundDesc_PropertyValue( int SoundIndex, int PropertyIndex ); |
SoundIndex
Type: int
The index of the sound.
PropertyIndex
Type: int
The index of the property. The number of sound properties can be obtained by calling Sound_GetDesc()::NumProperties.
Returns a float with the property value.
Returns 0.0f if the sound property was not found.
Returns INT32_MAX if there is an internal error.