Home | All Classes | Grouped Classes | Index | Search

Class CL_SoundOutput

SoundOutput interface in ClanLib. More...

Derived from: none
Derived by: none
Group: Sound (Audio Mixing)

#include <ClanLib/sound.h>

Construction:

CL_SoundOutput

Constructs a sound output object.

Attributes:

has_sound

True if the sound system has been properly initialized

get_name

Name of the output device.

get_mixing_frequency

Returns the mixing frequency for the sound output device.

get_global_volume

Returns the main volume of the sound output.

get_global_pan

Returns the main panning position of the sound output.

Operations:

operator =

Copy assignment operator.

stop_all

Stops all sample playbacks on the sound output.

set_global_volume

Sets the main/mixer volume on the sound output.

set_global_pan

Sets the main panning position on the sound output.

add_filter

Adds the sound filter to the sound output.

remove_filter

Remove the sound filter from the session.

Detailed description:

!group=Sound/Audio Mixing! !header=sound.h!

CL_SoundOutput is the interface to a sound output device. It is used to control the main mixer volume and other global settings.



Questions or comments, write to the
ClanLib mailing list.