Inheritance Graph
graph BT
Source
Source --> ReferenceCounter
click Source "classSound_1_1Source"
click ReferenceCounter "classUtil_1_1ReferenceCounter"
Description
Public Static Functions
Public Functions
|
|
|
|
|
~Source() |
|
|
uint32_t |
getSourceId() const |
|
|
void |
enqueueBuffer( Buffer * buffer) |
|
|
void |
dequeueBuffers(int num) |
|
|
void |
setAttribute_i(unsigned int attrib, int value) |
|
|
void |
setAttribute_f(unsigned int attrib, float value) |
|
|
void |
setAttribute_3f(unsigned int attrib, float v1, float v2, float v3) |
|
|
void |
getAttribute_3f(unsigned int attrib, float & v1, float & v2, float & v3) |
|
|
int |
getAttribute_i(unsigned int attrib) const |
|
|
void |
play() |
|
|
void |
stop() |
|
|
void |
pause() |
|
|
void |
rewind() |
|
|
void |
setPitch(float f) |
|
|
void |
setGain(float f) |
|
|
void |
setMinGain(float f) |
|
|
void |
setMaxGain(float f) |
|
|
void |
setRolloffFactor(float f) |
|
|
void |
setConeOuterGain(float f) |
|
|
void |
setConeInnerAngle(float f) |
|
|
void |
setConeOuterAngle(float f) |
|
|
void |
setReferenceDistance(float f) |
|
|
void |
setPosition(float x, float y, float z) |
|
|
void |
setVelocity(float x, float y, float z) |
|
|
void |
setDirection(float x, float y, float z) |
|
|
void |
setSourceIsRelative(bool b) |
|
|
void |
setLooping(bool b) |
|
|
bool |
isLooping() const |
|
|
bool |
isPaused() const |
|
|
bool |
isPlaying() const |
|
|
bool |
isStopped() const |
|
|
bool |
isSourceRelative() const |
|
|
int |
getNumBuffersQueued() const |
|
|
int |
getNumBuffersProcessed() const |
|
|
int |
getSourceState() const |
|
|
void |
getDirection(float & x, float & y, float & z) |
|
|
void |
getPosition(float & x, float & y, float & z) |
|
|
void |
getVelocity(float & x, float & y, float & z) |
Documentation
function
Sound::Source::create
Defined in Sound/Source.h:29
function
Sound::Source::~Source
Defined in Sound/Source.h:30
function
Sound::Source::getSourceId
Defined in Sound/Source.h:32
function
Sound::Source::enqueueBuffer
Defined in Sound/Source.h:35
function
Sound::Source::dequeueBuffers
Defined in Sound/Source.h:36
function
Sound::Source::setAttribute_i
Defined in Sound/Source.h:38
function
Sound::Source::setAttribute_f
Defined in Sound/Source.h:39
function
Sound::Source::setAttribute_3f
Defined in Sound/Source.h:40
function
Sound::Source::getAttribute_3f
|
|
|
|
|
|
void getAttribute_3f( |
unsigned int |
attrib, |
|
float & |
v1, |
|
float & |
v2, |
|
float & |
v3 |
) |
|
|
Defined in Sound/Source.h:41
function
Sound::Source::getAttribute_i
Defined in Sound/Source.h:42
function
Sound::Source::play
Defined in Sound/Source.h:45
function
Sound::Source::stop
Defined in Sound/Source.h:46
function
Sound::Source::pause
Defined in Sound/Source.h:47
function
Sound::Source::rewind
Defined in Sound/Source.h:48
function
Sound::Source::setPitch
Defined in Sound/Source.h:52
function
Sound::Source::setGain
Defined in Sound/Source.h:53
function
Sound::Source::setMinGain
Defined in Sound/Source.h:54
function
Sound::Source::setMaxGain
Defined in Sound/Source.h:55
function
Sound::Source::setRolloffFactor
Defined in Sound/Source.h:56
function
Sound::Source::setConeOuterGain
Defined in Sound/Source.h:57
function
Sound::Source::setConeInnerAngle
Defined in Sound/Source.h:58
function
Sound::Source::setConeOuterAngle
Defined in Sound/Source.h:59
function
Sound::Source::setReferenceDistance
Defined in Sound/Source.h:60
function
Sound::Source::setPosition
Defined in Sound/Source.h:62
function
Sound::Source::setVelocity
Defined in Sound/Source.h:63
function
Sound::Source::setDirection
Defined in Sound/Source.h:64
function
Sound::Source::setSourceIsRelative
Defined in Sound/Source.h:66
function
Sound::Source::setLooping
Defined in Sound/Source.h:67
function
Sound::Source::isLooping
Defined in Sound/Source.h:69
function
Sound::Source::isPaused
Defined in Sound/Source.h:70
function
Sound::Source::isPlaying
Defined in Sound/Source.h:71
function
Sound::Source::isStopped
Defined in Sound/Source.h:72
function
Sound::Source::isSourceRelative
Defined in Sound/Source.h:73
function
Sound::Source::getNumBuffersQueued
Defined in Sound/Source.h:75
function
Sound::Source::getNumBuffersProcessed
Defined in Sound/Source.h:76
function
Sound::Source::getSourceState
Defined in Sound/Source.h:77
function
Sound::Source::getDirection
Defined in Sound/Source.h:78
function
Sound::Source::getPosition
Defined in Sound/Source.h:79
function
Sound::Source::getVelocity
Defined in Sound/Source.h:80