|
xoreos
0.0.5
|
A sound channel. More...

Public Member Functions | |
| Channel (uint32 i, size_t idx, SoundType t, const TypeList::iterator &ti, AudioStream *s, bool d) | |
Public Attributes | |
| uint32 | id |
| The channel's ID. More... | |
| size_t | index |
| The channel's index. More... | |
| ALint | state |
| The sound's state. More... | |
| Common::DisposablePtr< AudioStream > | stream |
| The actual audio stream. More... | |
| ALuint | source |
| OpenAL source for this channel. More... | |
| std::list< ALuint > | buffers |
| List of buffers for that channel. More... | |
| std::list< ALuint > | freeBuffers |
| List of free buffers not filled with data. More... | |
| std::map< ALuint, ALsizei > | bufferSize |
| Size of a buffer in bytes. More... | |
| SoundType | type |
| The channel's sound type. More... | |
| TypeList::iterator | typeIt |
| Iterator into the type list. More... | |
| uint64 | finishedBuffers |
| Number of bytes in all buffers that finished playing and were unqueued. More... | |
| float | gain |
| The channel's gain. More... | |
| Sound::SoundManager::Channel::Channel | ( | uint32 | i, |
| size_t | idx, | ||
| SoundType | t, | ||
| const TypeList::iterator & | ti, | ||
| AudioStream * | s, | ||
| bool | d | ||
| ) |
| std::list<ALuint> Sound::SoundManager::Channel::buffers |
List of buffers for that channel.
Definition at line 212 of file sound.h.
Referenced by Sound::SoundManager::freeChannel(), and Sound::SoundManager::playAudioStream().
| std::map<ALuint, ALsizei> Sound::SoundManager::Channel::bufferSize |
Size of a buffer in bytes.
Definition at line 215 of file sound.h.
Referenced by Sound::SoundManager::bufferData(), and Sound::SoundManager::playAudioStream().
| uint64 Sound::SoundManager::Channel::finishedBuffers |
Number of bytes in all buffers that finished playing and were unqueued.
Definition at line 221 of file sound.h.
Referenced by Sound::SoundManager::bufferData(), and Sound::SoundManager::getChannelSamplesPlayed().
| std::list<ALuint> Sound::SoundManager::Channel::freeBuffers |
List of free buffers not filled with data.
Definition at line 213 of file sound.h.
Referenced by Sound::SoundManager::bufferData(), and Sound::SoundManager::playAudioStream().
| float Sound::SoundManager::Channel::gain |
The channel's gain.
Definition at line 223 of file sound.h.
Referenced by Sound::SoundManager::setChannelGain().
| uint32 Sound::SoundManager::Channel::id |
The channel's ID.
Definition at line 203 of file sound.h.
Referenced by Sound::SoundManager::formatChannel(), and Sound::SoundManager::pauseChannel().
| size_t Sound::SoundManager::Channel::index |
The channel's index.
Definition at line 204 of file sound.h.
Referenced by Sound::SoundManager::formatChannel().
| ALuint Sound::SoundManager::Channel::source |
OpenAL source for this channel.
Definition at line 210 of file sound.h.
Referenced by Sound::SoundManager::bufferData(), Sound::SoundManager::freeChannel(), Sound::SoundManager::getChannelPosition(), Sound::SoundManager::getChannelSamplesPlayed(), Sound::SoundManager::pauseChannel(), Sound::SoundManager::playAudioStream(), Sound::SoundManager::setChannelDistance(), Sound::SoundManager::setChannelGain(), Sound::SoundManager::setChannelPitch(), Sound::SoundManager::setChannelPosition(), and Sound::SoundManager::setChannelRelative().
| ALint Sound::SoundManager::Channel::state |
The sound's state.
Definition at line 206 of file sound.h.
Referenced by Sound::SoundManager::pauseChannel(), and Sound::SoundManager::startChannel().
| Common::DisposablePtr<AudioStream> Sound::SoundManager::Channel::stream |
The actual audio stream.
Definition at line 208 of file sound.h.
Referenced by Sound::SoundManager::bufferData(), Sound::SoundManager::freeChannel(), Sound::SoundManager::getChannelDurationPlayed(), Sound::SoundManager::getChannelPosition(), Sound::SoundManager::getChannelSamplesPlayed(), Sound::SoundManager::pauseChannel(), Sound::SoundManager::playAudioStream(), Sound::SoundManager::setChannelDistance(), Sound::SoundManager::setChannelGain(), Sound::SoundManager::setChannelPitch(), Sound::SoundManager::setChannelPosition(), Sound::SoundManager::setChannelRelative(), and Sound::SoundManager::startChannel().
| SoundType Sound::SoundManager::Channel::type |
The channel's sound type.
Definition at line 217 of file sound.h.
Referenced by Sound::SoundManager::freeChannel(), Sound::SoundManager::playAudioStream(), and Sound::SoundManager::setChannelGain().
| TypeList::iterator Sound::SoundManager::Channel::typeIt |
Iterator into the type list.
Definition at line 218 of file sound.h.
Referenced by Sound::SoundManager::freeChannel(), and Sound::SoundManager::playAudioStream().
1.8.14