Methods
-
bool
get_stopped(
)
-
bool
get_playing(
)
-
bool
get_loop(
)
-
void
set_paused(
bool
arg0
)
-
void
set_loop(
bool
arg0
)
-
void
set_volume(
float
factor
)
-
void
set_pitch(
float
factor
)
-
int
get_playLength(
)
-
int
get_playPosition(
)
-
void
set_playPosition(
int
pos
)
-
void
seek(
int
pos
)
-
void
set_minDistance(
float
dist
)
-
void
set_maxDistance(
float
dist
)
-
void
pause(
)
-
void
resume(
)
-
void
stop(
)
-
void
set_position(
vec3d&
pos
)
-
void
set_velocity(
vec3d&
pos
)
-
void
set_rolloff(
float
arg0
)
void
set_rolloff(
float
arg0
)
Sets how much distance attentuates the volume of 3D sounds.
-
float
arg0 — Rolloff factor. Higher values increase attenuation. Default for 3D sounds is 1.