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
uint _fadeLastTick
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 sound.h.


Constructor & Destructor Documentation

Myst3::SoundChannel::SoundChannel ( Myst3Engine vm  ) 

Definition at line 388 of file sound.cpp.

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

Definition at line 414 of file sound.cpp.


Member Function Documentation

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

Definition at line 474 of file sound.cpp.

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

Definition at line 610 of file sound.cpp.

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

Definition at line 578 of file sound.cpp.

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

Definition at line 570 of file sound.cpp.

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

Definition at line 481 of file sound.cpp.

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

Definition at line 461 of file sound.cpp.

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

Definition at line 417 of file sound.cpp.

uint32 Myst3::SoundChannel::playedFrames (  ) 

Definition at line 662 of file sound.cpp.

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

Definition at line 562 of file sound.cpp.

void Myst3::SoundChannel::stop (  ) 

Definition at line 540 of file sound.cpp.

void Myst3::SoundChannel::update (  ) 

Definition at line 521 of file sound.cpp.

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

Definition at line 615 of file sound.cpp.


Member Data Documentation

Definition at line 70 of file sound.h.

Definition at line 74 of file sound.h.

Definition at line 86 of file sound.h.

Definition at line 73 of file sound.h.

Definition at line 75 of file sound.h.

Definition at line 87 of file sound.h.

Definition at line 68 of file sound.h.

Definition at line 99 of file sound.h.

Definition at line 84 of file sound.h.

Definition at line 95 of file sound.h.

Definition at line 96 of file sound.h.

Definition at line 65 of file sound.h.

Definition at line 100 of file sound.h.

Definition at line 92 of file sound.h.

Definition at line 66 of file sound.h.

Definition at line 67 of file sound.h.

Definition at line 98 of file sound.h.

Definition at line 69 of file sound.h.

Definition at line 90 of file sound.h.

Definition at line 94 of file sound.h.


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


Generated on Sat Sep 21 2019 05:04:20 for ResidualVM by doxygen 1.7.1
curved edge   curved edge