ClanSoft logo
ClanSoft logo

    CL_Sound

Sound interface in ClanLib.

Description

This class provides a list of all soundcards available on the system. It is also a wrapper class for the CL_SoundCard class, providing an easier access to a single selected soundcard.

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

Class members

virtual ~CL_Sound()
static CL_Array<CL_SoundCard> cards
static int num_cards
static CL_List<CL_SoundCard> preload_cards
static CL_StreamSoundProvider *get_microphone()
static CL_StreamSoundProvider *get_line_in()
static void clear_card_preload()
static void add_card_preload(CL_SoundCard *card)
static void remove_card_preload(CL_SoundCard *card)
static void select_card(CL_SoundCard *card)
static void select_card(int card_no)
static CL_SoundCard *get_current_card()

See Also

CL_SoundCard-Soundcard interface class.
CL_SoundBuffer-Sample class in ClanLib.

Back to index



This page was built using the Perceps documentation system.