#include <AlsaMixer.hpp>
Inheritance diagram for Gizmod::AlsaMixer:


Public Member Functions | |
| std::string | getName () const |
| Get the unique name of the mixer. | |
| std::string | getNameShort () const |
| Get the short name of the mixer (not unique). | |
| bool | setSwitchCapture (bool Enable) |
| Set the capture switch. | |
| bool | setSwitchPlayback (bool Enable) |
| Set the playback switch. | |
| bool | setVolumeCapture (long Volume) |
| Set the Capture volume. | |
| bool | setVolumeCapturePercent (float Percent) |
| Set the Capture volume as a percent. | |
| bool | setVolumePlayback (long Volume) |
| Set the playback volume. | |
| bool | setVolumePlaybackPercent (float Percent) |
| Set the playback volume as a percent. | |
| int | signalMixerEvent () |
| Signal a manual mixer event. | |
| AlsaMixer () | |
| AlsaMixer Default Constructor. | |
| AlsaMixer (AlsaSoundCardInterface *piSoundCard, snd_mixer_elem_t *MixerElement, std::string MixerName, std::string MixerNameUnique, unsigned int MixerID) | |
| AlsaMixer Default Constructor. | |
| virtual | ~AlsaMixer () |
| AlsaMixer Destructor. | |
Static Public Member Functions | |
| static int | MixerElemCallback (snd_mixer_elem_t *MixerElement, unsigned int EventMask) |
| Static mixer element callback. | |
Friends | |
| class | boost::serialization::access |
| std::string AlsaMixer::getName | ( | ) | const |
Get the unique name of the mixer.
| std::string AlsaMixer::getNameShort | ( | ) | const |
Get the short name of the mixer (not unique).
| int AlsaMixer::MixerElemCallback | ( | snd_mixer_elem_t * | MixerElement, | |
| unsigned int | EventMask | |||
| ) | [static] |
Static mixer element callback.
| MixerElement | Mixer element handle | |
| EventMask | event mask |
| bool AlsaMixer::setSwitchCapture | ( | bool | Enable | ) |
Set the capture switch.
| Enable | Set to true if the switch should be enabled |
| bool AlsaMixer::setSwitchPlayback | ( | bool | Enable | ) |
Set the playback switch.
| Enable | Set to true if the switch should be enabled |
| bool AlsaMixer::setVolumeCapture | ( | long | Volume | ) |
Set the Capture volume.
| Volume | Absolute volume level |
| bool AlsaMixer::setVolumeCapturePercent | ( | float | Percent | ) |
Set the Capture volume as a percent.
| Percent | Volume level percentage |
| bool AlsaMixer::setVolumePlayback | ( | long | Volume | ) |
Set the playback volume.
| Volume | Absolute volume level |
| bool AlsaMixer::setVolumePlaybackPercent | ( | float | Percent | ) |
Set the playback volume as a percent.
| Percent | Volume level percentage |
| int AlsaMixer::signalMixerEvent | ( | ) | [virtual] |
Signal a manual mixer event.
Implements Gizmod::AlsaMixerInterface.
1.4.7