Public Types | |
| enum | PositionMode { kSpatial , kStereoPan } |
Public Member Functions | |
| SoundChannel (const SoundChannel &)=delete | |
| SoundChannel & | operator= (const SoundChannel &)=delete |
| void | play (Audio::Mixer *mixer, Audio::Mixer::SoundType type, Audio::AudioStream *stream, byte volume, const Common::Point *position=nullptr, int listenerX=0, float rolloff=1.0f, PositionMode mode=kSpatial) |
| void | stop () |
| bool | isPlaying () const |
| void | setVolume (byte volume) |
| void | setListenerPosition (int x) |