ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Wintermute::BaseSoundBuffer Class Reference

#include <base_sound_buffer.h>

Inheritance diagram for Wintermute::BaseSoundBuffer:
Collaboration diagram for Wintermute::BaseSoundBuffer:

List of all members.

Public Member Functions

 BaseSoundBuffer (BaseGame *inGame)
 ~BaseSoundBuffer () override
bool pause ()
bool play (bool looping=false, uint32 startSample=0)
bool resume ()
bool stop ()
bool isPlaying ()
void setLooping (bool looping)
uint32 getPosition ()
bool setPosition (uint32 pos)
uint32 getLength ()
bool setLoopStart (uint32 pos)
uint32 getLoopStart () const
bool setPan (float pan)
bool setPrivateVolume (int colume)
bool setVolume (int colume)
void updateVolume ()
void setType (Audio::Mixer::SoundType Type)
Audio::Mixer::SoundType getType () const
bool loadFromFile (const Common::String &filename, bool forceReload=false)
void setStreaming (bool streamed, uint32 numBlocks=0, uint32 blockSize=0)
bool applyFX (TSFXType type, float param1, float param2, float param3, float param4)
int32 getPrivateVolume () const
void setFreezePaused (bool freezePaused)
bool isFreezePaused () const
bool isLooping () const

Private Attributes

Audio::Mixer::SoundType _type
bool _freezePaused
bool _looping
int32 _privateVolume
uint32 _loopStart
uint32 _startPos
Common::String _filename
bool _streamed
int32 _volume
int8 _pan

Detailed Description

Definition at line 45 of file base_sound_buffer.h.

Constructor & Destructor Documentation

Wintermute::BaseSoundBuffer::BaseSoundBuffer ( BaseGame inGame  ) 

Definition at line 53 of file base_sound_buffer.cpp.

Wintermute::BaseSoundBuffer::~BaseSoundBuffer (  )  [override]

Definition at line 76 of file base_sound_buffer.cpp.

Member Function Documentation

bool Wintermute::BaseSoundBuffer::applyFX ( TSFXType  type,
float  param1,
float  param2,
float  param3,
float  param4 

Definition at line 293 of file base_sound_buffer.cpp.

uint32 Wintermute::BaseSoundBuffer::getLength (  ) 

Definition at line 209 of file base_sound_buffer.cpp.

uint32 Wintermute::BaseSoundBuffer::getLoopStart (  )  const [inline]

Definition at line 64 of file base_sound_buffer.h.

uint32 Wintermute::BaseSoundBuffer::getPosition (  ) 

Definition at line 257 of file base_sound_buffer.cpp.

int32 Wintermute::BaseSoundBuffer::getPrivateVolume (  )  const

Definition at line 310 of file base_sound_buffer.cpp.

Audio::Mixer::SoundType Wintermute::BaseSoundBuffer::getType (  )  const

Definition at line 326 of file base_sound_buffer.cpp.

bool Wintermute::BaseSoundBuffer::isFreezePaused (  )  const

Definition at line 318 of file base_sound_buffer.cpp.

bool Wintermute::BaseSoundBuffer::isLooping (  )  const

Definition at line 314 of file base_sound_buffer.cpp.

bool Wintermute::BaseSoundBuffer::isPlaying (  ) 

Definition at line 247 of file base_sound_buffer.cpp.

bool Wintermute::BaseSoundBuffer::loadFromFile ( const Common::String filename,
bool  forceReload = false 

Definition at line 96 of file base_sound_buffer.cpp.

bool Wintermute::BaseSoundBuffer::pause (  ) 

Definition at line 200 of file base_sound_buffer.cpp.

bool Wintermute::BaseSoundBuffer::play ( bool  looping = false,
uint32  startSample = 0 

Definition at line 140 of file base_sound_buffer.cpp.

bool Wintermute::BaseSoundBuffer::resume (  ) 

Definition at line 177 of file base_sound_buffer.cpp.

void Wintermute::BaseSoundBuffer::setFreezePaused ( bool  freezePaused  ) 

Definition at line 322 of file base_sound_buffer.cpp.

void Wintermute::BaseSoundBuffer::setLooping ( bool  looping  ) 

Definition at line 168 of file base_sound_buffer.cpp.

bool Wintermute::BaseSoundBuffer::setLoopStart ( uint32  pos  ) 

Definition at line 276 of file base_sound_buffer.cpp.

bool Wintermute::BaseSoundBuffer::setPan ( float  pan  ) 

Definition at line 282 of file base_sound_buffer.cpp.

bool Wintermute::BaseSoundBuffer::setPosition ( uint32  pos  ) 

Definition at line 267 of file base_sound_buffer.cpp.

bool Wintermute::BaseSoundBuffer::setPrivateVolume ( int  colume  ) 

Definition at line 240 of file base_sound_buffer.cpp.

void Wintermute::BaseSoundBuffer::setStreaming ( bool  streamed,
uint32  numBlocks = 0,
uint32  blockSize = 0 

Definition at line 90 of file base_sound_buffer.cpp.

void Wintermute::BaseSoundBuffer::setType ( Audio::Mixer::SoundType  Type  ) 

Definition at line 219 of file base_sound_buffer.cpp.

bool Wintermute::BaseSoundBuffer::setVolume ( int  colume  ) 

Definition at line 229 of file base_sound_buffer.cpp.

bool Wintermute::BaseSoundBuffer::stop (  ) 

Definition at line 191 of file base_sound_buffer.cpp.

void Wintermute::BaseSoundBuffer::updateVolume (  ) 

Definition at line 224 of file base_sound_buffer.cpp.

Member Data Documentation

Definition at line 90 of file base_sound_buffer.h.

Definition at line 91 of file base_sound_buffer.h.

Definition at line 99 of file base_sound_buffer.h.

Definition at line 96 of file base_sound_buffer.h.

Definition at line 98 of file base_sound_buffer.h.

The documentation for this class was generated from the following files:

Generated on Sat Sep 19 2020 05:06:31 for ResidualVM by doxygen 1.7.1
curved edge   curved edge