#include <AlsaSoundCard.hpp>
Inheritance diagram for Gizmod::AlsaSoundCard:
Public Member Functions | |
std::string | getCardHardwareID () const |
Get the card's hardware ID. | |
int | getCardID () const |
Get the card ID. | |
std::string | getCardName () const |
Get the name of the card. | |
std::string | getCardNameLong () const |
Get the long name of the card. | |
AlsaMixer const * | getMixer (std::string Name) |
Get a mixer by name. | |
size_t | getNumMixers () |
Get the number of mixers on the sound card. | |
void | setAllPlaybackSwitches (bool Enabled) |
Set all playback switches to Enabled. | |
void | shutdown () |
Shutdown the AlsaSoundCard connection. | |
AlsaSoundCard (AlsaInterface *piAlsa, int CardID) | |
AlsaSoundCard Default Constructor. | |
virtual | ~AlsaSoundCard () |
AlsaSoundCard Destructor. | |
Static Public Member Functions | |
static int | MixerCallback (snd_mixer_t *Mixer, unsigned int EventMask, snd_mixer_elem_t *MixerElement) |
Static mixer callback. | |
Friends | |
class | boost::serialization::access |
Classes | |
struct | AlsaSoundCardThreadProc |
std::string AlsaSoundCard::getCardHardwareID | ( | ) | const [virtual] |
int AlsaSoundCard::getCardID | ( | ) | const [virtual] |
std::string AlsaSoundCard::getCardName | ( | ) | const [virtual] |
std::string AlsaSoundCard::getCardNameLong | ( | ) | const [virtual] |
AlsaMixer const * AlsaSoundCard::getMixer | ( | std::string | Name | ) |
size_t AlsaSoundCard::getNumMixers | ( | ) |
Get the number of mixers on the sound card.
int AlsaSoundCard::MixerCallback | ( | snd_mixer_t * | Mixer, | |
unsigned int | EventMask, | |||
snd_mixer_elem_t * | MixerElement | |||
) | [static] |
Static mixer callback.
Mixer | Mixer handle | |
EventMask | event mask | |
MixerElement | related mixer element (if any) |
void AlsaSoundCard::setAllPlaybackSwitches | ( | bool | Enabled | ) |
Set all playback switches to Enabled.
Enabled | Value to set switches to |