Sound sample (PLIB).
More...
#include <_src_sound_sound_sample_plib.hh>
List of all members.
Detailed Description
Sound sample (PLIB).
Constructor & Destructor Documentation
| sound::SamplePLIB::SamplePLIB |
( |
const Sample::Name & |
sampleName |
) |
|
| sound::SamplePLIB::~SamplePLIB |
( |
|
) |
[virtual] |
Member Function Documentation
| fp sound::SamplePLIB::GetVolume |
( |
void |
|
) |
[virtual] |
| bool sound::SamplePLIB::IfPlaying |
( |
void |
|
) |
[virtual] |
| bool sound::SamplePLIB::Play |
( |
const defs::ePlayLoop |
playLoop, |
|
|
const fp |
volume | |
|
) |
| | [virtual] |
Play sound sample.
- Parameters:
-
| playLoop | Play continuously or once. |
| volume | Default is DEFAULT_VOLUME. |
- Returns:
- False if error.
Implements sound::Sample.
| bool sound::SamplePLIB::SetVolume |
( |
const fp |
volume |
) |
[virtual] |
Set volume of a sound sample.
- Returns:
- False if error.
Implements sound::Sample.
| bool sound::SamplePLIB::Stop |
( |
void |
|
) |
[virtual] |
Stop playing a sound sample.
- Returns:
- False if error.
Implements sound::Sample.
Member Data Documentation
stored for changing volume
current volume (PLIB alters waveform data)
The documentation for this class was generated from the following files:
Palomino Flight Simulator documents generated by
doxygen 1.7.1 on Tue May 15 2012 22:40:12