![]() |
gtkIOStream
1.7.0
GTK+ << C++ IOStream operators for GTK+. Now with ORBing, numerical computation, audio client and more ...
|
#include <Mixer.H>
Public Member Functions | |
| Mixer () | |
| virtual | ~Mixer () |
| int | open () |
| int | close () |
| int | attach (std::string card) |
| int | registerMixer () |
| int | load () |
| int | openCard (std::string card) |
| void | scanMixer () |
| std::string | getState () |
| std::string | getElementState (std::string name) |
| int | getElementIndex (std::string name) |
| long | setPlaybackVol (std::string name, long v) |
| long | setPlaybackChVol (std::string name, snd_mixer_selem_channel_id_t channel, long v) |
| std::string | setPlaybackVolJSON (std::string name, long v) |
| std::string | setPlaybackChVolJSON (std::string name, snd_mixer_selem_channel_id_t channel, long v) |
| std::string | setPlaybackChVolJSON (std::string name, int channel, long v) |
| int | setPlaybackVolDB (std::string name, double &dB) |
| int | setPlaybackChVolDB (std::string name, snd_mixer_selem_channel_id_t channel, double &dB) |
| std::string | setPlaybackVolDBJSON (std::string name, double dB) |
| std::string | setPlaybackChVolDBJSON (std::string name, snd_mixer_selem_channel_id_t channel, double dB) |
| std::string | setPlaybackChVolDBJSON (std::string name, int channel, double dB) |
| int | setPlaybackSwitch (std::string name, int v) |
| std::string | setPlaybackSwitchJSON (std::string name, int v) |
| long | setCaptureVol (std::string name, long v) |
| long | setCaptureVol (std::string name, snd_mixer_selem_channel_id_t channel, long v) |
| std::string | setCaptureVolJSON (std::string name, long v) |
| std::string | setCaptureChVolJSON (std::string name, snd_mixer_selem_channel_id_t channel, long v) |
| std::string | setCaptureChVolJSON (std::string name, int channel, long v) |
| int | setCaptureVolDB (std::string name, double &dB) |
| int | setCaptureChVolDB (std::string name, snd_mixer_selem_channel_id_t channel, double &dB) |
| std::string | setCaptureVolDBJSON (std::string name, double dB) |
| std::string | setCaptureChVolDBJSON (std::string name, snd_mixer_selem_channel_id_t channel, double dB) |
| std::string | setCaptureChVolDBJSON (std::string name, int channel, double dB) |
| int | setCaptureSwitch (std::string name, int v) |
| std::string | setCaptureSwitchJSON (std::string name, int v) |
Private Attributes | |
| snd_mixer_t * | handle |
| std::vector< MixerElement > | mixerElements |
| The vector of all mixer elements. More... | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, Mixer &m) |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Set the volume of a mixer element's channel given the name. The resulting state of the mixer element is returned
| name | The name of the mixer element to change |
| channel | The channel to set the volume on |
| v | The volume to set - the value is updated on return |
Definition at line 425 of file Mixer.H.
|
inline |
Set the volume of a mixer element's channel given the name. The resulting state of the mixer element is returned in the JSON string
| name | The name of the mixer element to change |
| channel | The channel to set the volume on |
| v | The volume to set - the value is not updated on return |
Definition at line 453 of file Mixer.H.
|
inline |
Set the volume of a mixer element's channel given the name. The resulting state of the mixer element is returned in the JSON string
| name | The name of the mixer element to change |
| channel | The channel to set the volume on |
| v | The volume to set - the value is not updated on return |
Definition at line 469 of file Mixer.H.
|
inline |
Set the volume of a mixer element's channel given the name. The resulting state of the mixer element is returned
| name | The name of the mixer element to change |
| channel | The channel to set the volume on |
| v | The volume to set. |
Definition at line 387 of file Mixer.H.
|
inline |
Set the volume of a mixer element's channel given the name. The resulting state of the mixer element is returned
| name | The name of the mixer element to change |
| channel | The channel to set the volume on |
| v | The volume to set. |
Definition at line 403 of file Mixer.H.
|
inline |
Set the switch state of a mixer element given the name. The resulting state of the mixer element is returned
| name | The name of the mixer element to change |
| v | The switch state to set. |
Definition at line 477 of file Mixer.H.
|
inline |
Set the switch state of a mixer element given the name. The resulting state of the mixer element is returned
| name | The name of the mixer element to change |
| v | The switch state to set. |
Definition at line 489 of file Mixer.H.
|
inline |
Set the volume of a mixer element given the name. The resulting state of the mixer element is returned
| name | The name of the mixer element to change |
| v | The volume to set. |
Definition at line 346 of file Mixer.H.
|
inline |
Set the volume of a mixer element's channel, given the name. The resulting state of the mixer element is returned
| name | The name of the mixer element to change |
| channel | The channel to set the volume on |
| v | The volume to set. |
Definition at line 359 of file Mixer.H.
|
inline |
Set the volume of a mixer element given the name. The resulting state of the mixer element is returned
| name | The name of the mixer element to change |
| v | The volume to set - the value is updated on return |
Definition at line 412 of file Mixer.H.
|
inline |
Set the volume of a mixer element given the name. The resulting state of the mixer element is returned in the JSON string
| name | The name of the mixer element to change |
| v | The volume to set - the value is not updated on return |
Definition at line 437 of file Mixer.H.
|
inline |
Set the volume of a mixer element given the name. The resulting state of the mixer element is returned
| name | The name of the mixer element to change |
| v | The volume to set. |
Definition at line 371 of file Mixer.H.
|
inline |
Set the volume of a mixer element's channel, given the name. The resulting state of the mixer element is returned
| name | The name of the mixer element to change |
| channel | The channel to set the volume on |
| v | The volume to set. |
Definition at line 200 of file Mixer.H.
|
inline |
Set the volume of a mixer element's channel given the name. The resulting state of the mixer element is returned
| name | The name of the mixer element to change |
| channel | The channel to set the volume on |
| v | The volume to set - updated on return to the actual value set. |
Definition at line 266 of file Mixer.H.
|
inline |
Set the volume of a mixer element's channel given the name. The resulting state of the mixer element is returned in a JSON format
| name | The name of the mixer element to change |
| channel | The channel to set the volume on |
| v | The volume to set - not updated on return |
Definition at line 294 of file Mixer.H.
|
inline |
Set the volume of a mixer element's channel given the name. The resulting state of the mixer element is returned in a JSON format
| name | The name of the mixer element to change |
| channel | The channel to set the volume on |
| v | The volume to set - not updated on return |
Definition at line 310 of file Mixer.H.
|
inline |
Set the volume of a mixer element's channel given the name. The resulting state of the mixer element is returned
| name | The name of the mixer element to change |
| channel | The channel to set the volume on |
| v | The volume to set. |
Definition at line 228 of file Mixer.H.
|
inline |
Set the volume of a mixer element's channel given the name. The resulting state of the mixer element is returned
| name | The name of the mixer element to change |
| channel | The channel to set the volume on |
| v | The volume to set. |
Definition at line 244 of file Mixer.H.
|
inline |
Set the switch state of a mixer element given the name. The resulting state of the mixer element is returned
| name | The name of the mixer element to change |
| v | The state to set. |
Definition at line 319 of file Mixer.H.
|
inline |
Set the switch state of a mixer element given the name. The resulting state of the mixer element is returned
| name | The name of the mixer element to change |
| v | The switch state to set - not updated on return |
Definition at line 331 of file Mixer.H.
|
inline |
Set the volume of a mixer element given the name. The resulting state of the mixer element is returned
| name | The name of the mixer element to change |
| v | The volume to set. |
Definition at line 187 of file Mixer.H.
|
inline |
Set the volume of a mixer element given the name. The resulting state of the mixer element is returned
| name | The name of the mixer element to change |
| v | The volume to set - updated on return to the actual value set. |
Definition at line 253 of file Mixer.H.
|
inline |
Set the volume of a mixer element given the name. The resulting state of the mixer element is returned in a JSON format
| name | The name of the mixer element to change |
| v | The volume to set - not updated on return |
Definition at line 278 of file Mixer.H.
|
inline |
Set the volume of a mixer element given the name. The resulting state of the mixer element is returned
| name | The name of the mixer element to change |
| v | The volume to set. |
Definition at line 212 of file Mixer.H.
|
friend |
|
private |
|
GTK+ IOStream
Beta
|