Home | All Classes | Grouped Classes | Index | Search
Sound interface in ClanLib. More...
Derived from:
none
Derived by:
none
Group: Sound (Audio Mixing)
#include <ClanLib/sound.h>
Construction:
Variables:
cards static | The list of soundcards available on this system. |
preload_cards static | List of all cards where soundbuffers are automatically preloaded. |
Attributes:
Returns the streamed soundprovider representing the microphone. | |
Returns the streamed soundprovider representing the line in. | |
Returns the current selected soundcard. |
Operations:
Clears the list of preloaded soundcards. | |
Adds 'card' to the preloaded soundcards list. | |
Removes the specified card from the preload list. | |
Change the current selected soundcard to 'card'. |
Detailed 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.