Home | All Classes | Grouped Classes | Index | Search

# Class CL_Sound

Sound interface in ClanLib. More...

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

#include <ClanLib/sound.h>

Selected CL_SoundOutput accessors:

get_name | Returns the name of the current sound output:
get_mixing_frequency | Returns the mixing frequency of the current sound output.
get_current_output | Returns the current selected sound output.
select_output | Change the current selected sound output.

Detailed description:

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

All the functions that share name with those in CL_SoundOutput have the same functionality. The only difference is, that the ones CL_Sound operate on a selected sound output. This saves the trouble of passing around a pointer to the sound output, when only a single one is used anyway.

Questions or comments, write to the ClanLib mailing list.