32 #include "api_sound.h"
43 class SoundBuffer_Session_Impl;
72 void throw_if_null()
const;
75 int get_position()
const;
82 float get_position_relative()
const;
88 int get_length()
const;
91 int get_frequency()
const;
97 float get_volume()
const;
103 float get_pan()
const;
108 bool get_looping()
const;
122 bool set_position(
int new_pos);
132 bool set_position_relative(
float new_pos);
139 bool set_end_position(
int pos);
144 void set_frequency(
int new_freq);
153 void set_volume(
float new_volume);
163 void set_pan(
float new_pan);
174 void set_looping(
bool loop);
190 std::shared_ptr<SoundBuffer_Session_Impl> impl;
193 friend class SoundOutput_Impl;
bool is_null() const
Returns true if this object is invalid.
Definition: soundbuffer_session.h:69
SoundBuffer_Session provides control over a playing soundeffect.
Definition: soundbuffer_session.h:52
SoundOutput interface in ClanLib.
Definition: soundoutput.h:49
Sample interface in ClanLib.
Definition: soundbuffer.h:57
Sound Filter Class.
Definition: soundfilter.h:45