A queue containing mappings between sounds and sound sources. More...
#include <SoundInterface.h>

Public Attributes | |
| QSoundChar CarSoundData::* | schar |
| The calculated sound characteristic. More... | |
| TorcsSound * | snd |
| The raw sound. More... | |
| float | max_vol |
| Max. More... | |
| int | id |
| The id of the car producing the sound, used for retrieving doppler effects etc. More... | |
A queue containing mappings between sounds and sound sources.
Provides a mapping various sound sources and actual sounds. This is used for the case where we have many sound sources emitting exactly the same sound and where we don't allow more than 1 source to play simultaneously. This structure can be used to sort competing sources in order to decide which one is going to take priority.
Definition at line 63 of file SoundInterface.h.
| int QueueSoundMap_::id |
The id of the car producing the sound, used for retrieving doppler effects etc.
Definition at line 67 of file SoundInterface.h.
| float QueueSoundMap_::max_vol |
Max.
Definition at line 66 of file SoundInterface.h.
| QSoundChar CarSoundData::* QueueSoundMap_::schar |
The calculated sound characteristic.
Definition at line 64 of file SoundInterface.h.
| TorcsSound* QueueSoundMap_::snd |
The raw sound.
Definition at line 65 of file SoundInterface.h.