Reference

CL_SoundCard(3)

Soundcard interface in ClanLib.

NAME

CL_SoundCard - Soundcard interface in ClanLib.

DESCRIPTION

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.

SEE ALSO

All ClanLib API classes can be found in clanlib (3).

AUTHORS

Originally written by Magnus Norddahl <[email protected]> and Martin Starch <[email protected]>. ClanLib is now developed by the ClanLib Development team as an Open Source project.

The ClanLib man pages was created using the Perceps documentation system (another excellent piece of Open Source software, available at http://somewhere.in.the.world.org).

See clanlib (3) to find out how to get a full list of contributors and details on how to submit bug reports, comments etc.