CL_SoundCard3
Soundcard interface in clanlib.
Overview
CL_SoundCard is the interface to a soundcard. It is used to control the main mixer volume and other global settings. It also provides access to the microphone and line in as streamed soundproviders.
Class members
- std::string
name
- int
card_no
- virtual
~CL_SoundCard()
- virtual CL_StreamSoundProvider *
get_microphone()
- virtual CL_StreamSoundProvider *
get_line_in()
- virtual void
stop_all()
- virtual void
set_global_volume( -
int volume)
- virtual void
set_global_pan( -
int pan)
Members with descriptions
- std::string
name -
Description:
Name of the soundcard.
- int
card_no -
Description:
Card number.
- virtual
~CL_SoundCard() -
Description:
- virtual CL_StreamSoundProvider *
get_microphone() -
Description:
Returns the streamed soundprovider representing the microphone.
- virtual CL_StreamSoundProvider *
get_line_in() -
Description:
Returns the streamed soundprovider representing the line in.
- virtual void
stop_all() -
Description:
Stops all sample playbacks on the soundcard.
- virtual void
set_global_volume( -
int volume)
Description:
Sets the main/mixer volume on the soundcard.
- virtual void
set_global_pan( -
int pan)
Description:
Sets the main panning position on the soundcard.