A sound object being played, called channel.
More...
#include <Sound.h>
A sound object being played, called channel.
◆ SoundChannel() [1/2]
XPMP2::SoundChannel::SoundChannel |
( |
| ) |
|
|
inline |
Default Constructor creates an invalid object.
◆ SoundChannel() [2/2]
XPMP2::SoundChannel::SoundChannel |
( |
FMOD_CHANNEL * |
c, |
|
|
SoundFile * |
s, |
|
|
float |
v |
|
) |
| |
|
inline |
◆ operator bool()
XPMP2::SoundChannel::operator bool |
( |
| ) |
const |
|
inline |
Has valid pointers? (Doesn't say if actual objects are valid any longer)
◆ ShallUnpause()
bool XPMP2::SoundChannel::ShallUnpause |
( |
| ) |
|
|
inline |
Need to unpause now? (returns true
only once when countdown reaches zero)
◆ bMuted
bool XPMP2::SoundChannel::bMuted = false |
◆ nPauseCountdown
int XPMP2::SoundChannel::nPauseCountdown = 2 |
frame till unpause this sound (starts paused to avoid crackling)
◆ pChn
FMOD_CHANNEL* XPMP2::SoundChannel::pChn = nullptr |
◆ pSnd
SoundFile* XPMP2::SoundChannel::pSnd = nullptr |
the sound file the sound was created from
◆ vol
float XPMP2::SoundChannel::vol = 1.0f |
The documentation for this class was generated from the following file: