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

#include <sound.h>

Collaboration diagram for Myst3::SoundChannel:

List of all members.

Public Member Functions

 SoundChannel (Myst3Engine *vm)
virtual ~SoundChannel ()
void play (uint32 id, uint32 volume, uint16 heading, uint16 attenuation, bool loop, SoundType type)
void setVolume3D (uint32 volume, uint16 heading, uint16 attenuation)
void fade (uint32 targetVolume, int32 targetHeading, int32 targetAttenuation, uint32 fadeDelay)
void fadeOut (uint32 fadeDelay)
void update ()
void stop ()
void age (uint32 maxAge)
uint32 playedFrames ()
uint32 adjustVolume (uint32 volume)

Public Attributes

uint32 _id
bool _playing
bool _stopWhenSilent
bool _fading
SoundType _type
uint32 _age
uint32 _ambientFadeOutDelay
int32 _fadeDuration
int32 _fadePosition
int32 _fadeSourceVolume
int32 _fadeTargetVolume
int32 _fadeSourceHeading
int32 _fadeTargetHeading
int32 _fadeSourceAttenuation
int32 _fadeTargetAttenuation
bool _hasFadeArray
uint32 _fadeArrayPosition
uint32 _fadeDurations [4]
uint32 _fadeVolumes [4]

Private Member Functions

Audio::RewindableAudioStreammakeAudioStream (const Common::String &name) const
void updateFading ()
Audio::Mixer::SoundType mixerSoundType ()

Private Attributes

Myst3Engine_vm
Common::String _name
uint32 _volume
int32 _heading
uint32 _headingAngle
Audio::AudioStream_stream
Audio::SoundHandle _handle
Audio::Timestamp _length

Detailed Description

Definition at line 50 of file myst3/sound.h.


Constructor & Destructor Documentation

Myst3::SoundChannel::SoundChannel ( Myst3Engine vm  ) 

Definition at line 375 of file myst3/sound.cpp.

Myst3::SoundChannel::~SoundChannel (  )  [virtual]

Definition at line 400 of file myst3/sound.cpp.


Member Function Documentation

uint32 Myst3::SoundChannel::adjustVolume ( uint32  volume  ) 

Definition at line 459 of file myst3/sound.cpp.

void Myst3::SoundChannel::age ( uint32  maxAge  ) 

Definition at line 594 of file myst3/sound.cpp.

void Myst3::SoundChannel::fade ( uint32  targetVolume,
int32  targetHeading,
int32  targetAttenuation,
uint32  fadeDelay 
)

Definition at line 563 of file myst3/sound.cpp.

void Myst3::SoundChannel::fadeOut ( uint32  fadeDelay  ) 

Definition at line 555 of file myst3/sound.cpp.

Audio::RewindableAudioStream * Myst3::SoundChannel::makeAudioStream ( const Common::String name  )  const [private]

Definition at line 466 of file myst3/sound.cpp.

Audio::Mixer::SoundType Myst3::SoundChannel::mixerSoundType (  )  [private]

Definition at line 446 of file myst3/sound.cpp.

void Myst3::SoundChannel::play ( uint32  id,
uint32  volume,
uint16  heading,
uint16  attenuation,
bool  loop,
SoundType  type 
)

Definition at line 403 of file myst3/sound.cpp.

uint32 Myst3::SoundChannel::playedFrames (  ) 

Definition at line 642 of file myst3/sound.cpp.

void Myst3::SoundChannel::setVolume3D ( uint32  volume,
uint16  heading,
uint16  attenuation 
)

Definition at line 547 of file myst3/sound.cpp.

void Myst3::SoundChannel::stop (  ) 

Definition at line 525 of file myst3/sound.cpp.

void Myst3::SoundChannel::update (  ) 

Definition at line 506 of file myst3/sound.cpp.

void Myst3::SoundChannel::updateFading (  )  [private]

Definition at line 599 of file myst3/sound.cpp.


Member Data Documentation

Definition at line 70 of file myst3/sound.h.

Definition at line 86 of file myst3/sound.h.

Definition at line 68 of file myst3/sound.h.

Definition at line 98 of file myst3/sound.h.

Definition at line 83 of file myst3/sound.h.

Definition at line 94 of file myst3/sound.h.

Definition at line 95 of file myst3/sound.h.

Definition at line 65 of file myst3/sound.h.

Definition at line 99 of file myst3/sound.h.

Definition at line 91 of file myst3/sound.h.

Definition at line 66 of file myst3/sound.h.

Definition at line 67 of file myst3/sound.h.

Definition at line 97 of file myst3/sound.h.

Definition at line 89 of file myst3/sound.h.

Definition at line 93 of file myst3/sound.h.


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


Generated on Sat Jan 12 2019 05:04:55 for ResidualVM by doxygen 1.7.1
curved edge   curved edge