Loading [MathJax]/extensions/MathMenu.js
 |
Cytopia
0.3
A city building simulation game
|
Go to the documentation of this file. 1 #ifndef SOUNDTRACK_HXX_
2 #define SOUNDTRACK_HXX_
7 #include "../../util/Meta.hxx"
ALuint effect_slot
The OpenAL effect slot of the sound track.
ALuint source[2]
The OpenAL sources of the sound track.
std::unique_ptr< Soundtrack > SoundtrackUPtr
Soundtrack(SoundtrackID, ChannelID, DecodedAudioData *, RepeatCount, bool, bool, bool, bool)
bool isPlayable
true if the Soundtrack can be played by SoundtrackID
std::vector< char > char_data_vec
pcm audio data
Container for raw pcm data that read from .ogg sound file.
bool isMusic
true if the Soundtrack is Music, false if it's a Sound
RepeatCount Loop
The number of times this track should be repeated.
ALuint buffer
The OpenAL buffer of the sound track.
long nBytes
number of bytes in decoded audio data
ChannelID Channel
The ChannelID.
bool isTriggerable
true if the Soundtrack can be played by AudioTrigger
DecodedAudioData dAudioDataBuffer
The audio data of the Soundtrack.
bool isPlaying
true if the Soundtrack is currently playing