1 #ifndef ZENI_SOUND_STREAM_AL_H
2 #define ZENI_SOUND_STREAM_AL_H
14 Sound_Stream_AL & operator=(
const Sound_Stream_AL &);
21 Sound_Stream_AL(
const String &
path,
const bool &looping_ =
false,
const float &time_ = 0.0
f);
26 void set_position(
const Point3f &position);
27 void set_velocity(
const Vector3f &velocity);
28 void set_looping(
const bool &looping);
29 void set_time(
const float &time);
34 float get_duration()
const;
35 float get_pitch()
const;
36 float get_gain()
const;
39 bool is_looping()
const;
41 float get_reference_distance()
const;
42 float get_max_distance()
const;
43 float get_rolloff()
const;
49 bool is_playing()
const;
50 bool is_paused()
const;
51 bool is_stopped()
const;
Sound_Stream_Update_Failure()
#define ZENI_DEFAULT_PITCH
GLsizei const GLchar *const * path
#define ZENI_DEFAULT_GAIN
A 3D Point represented with floats.
static long get_time(void)
#define ZENI_DEFAULT_MAX_SOUND_DISTANCE
EGLContext EGLenum EGLClientBuffer buffer
A Featureful 3-Space Vector Class.
#define ZENI_DEFAULT_REFERENCE_DISTANCE
GLint GLenum GLsizei GLsizei GLsizei GLint GLenum format
local int destroy(gz_stream *s)
Sound_Stream_Init_Failure()
#define ZENI_DEFAULT_ROLLOFF
GLsizei GLsizei GLchar * source
Sound_Stream_Ogg_Read_Failure()