41 class SoundOutput_Description;
42 class SoundOutput_Impl;
127 SoundOutput(
const std::weak_ptr<SoundOutput_Impl> impl);
129 std::shared_ptr<SoundOutput_Impl> impl;
void set_global_pan(float pan)
Sets the main panning position on the sound output.
Sound output description class.
Definition: soundoutput_description.h:43
SoundOutput(const SoundOutput_Description &desc)
Constructs a SoundOutput.
Sample interface in ClanLib.
Definition: soundbuffer.h:57
const std::string & get_name() const
Name of the output device.
Sound interface in ClanLib.
Definition: Sources/API/Sound/sound.h:47
Sound Filter Class.
Definition: soundfilter.h:45
float get_global_pan() const
Returns the main panning position of the sound output.
float get_global_volume() const
Returns the main volume of the sound output.
int get_mixing_latency() const
Returns the mixing latency in milliseconds.
void throw_if_null() const
Throw an exception if this object is invalid.
void set_global_volume(float volume)
Sets the main/mixer volume on the sound output.
SoundBuffer_Session provides control over a playing soundeffect.
Definition: soundbuffer_session.h:52
void stop_all()
Stops all sample playbacks on the sound output.
SoundOutput(int mixing_frequency, int latency=50)
Constructs a SoundOutput.
SoundOutput interface in ClanLib.
Definition: soundoutput.h:49
bool is_null() const
Returns true if this object is invalid.
Definition: soundoutput.h:76
int get_mixing_frequency() const
Returns the mixing frequency for the sound output device.
void add_filter(SoundFilter &filter)
Adds the sound filter to the sound output.
void remove_filter(SoundFilter &filter)
Remove the sound filter from the session.
SoundOutput()
Constructs a null instance.