Logo Search packages:      
Sourcecode: qasmixer version File versions  Download package

Public Types | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes

QSnd::Snd_Mixer_CTL_Elem Class Reference

Snd_Mixer_CTL_Elem. More...

#include <snd_mixer_ctl_elem.hpp>

Collaboration diagram for QSnd::Snd_Mixer_CTL_Elem:
Collaboration graph

List of all members.

Public Types

typedef std::vector< QString > Enum_Names_Buffer


void sig_values_changed ()
 Gets emitted when a value was set.

Public Member Functions

long ask_dB_from_int (long int_value_n) const
long ask_int_from_dB (long value_n, int round_dir_n=0) const
void clear ()
unsigned int count () const
int dB_range (long *min_n, long *max_n) const
long dB_value (unsigned int idx_n) const
unsigned int device () const
const QString & display_name () const
unsigned int elem_index () const
const char * elem_name () const
unsigned int elem_numid () const
snd_ctl_elem_type_t elem_type () const
const QString & elem_type_display_name () const
const QString & elem_type_name () const
bool enum_idices_equal () const
unsigned int enum_index (unsigned int channel_idx_n) const
QString enum_item_display_name (unsigned int enum_idx_n) const
const char * enum_item_name (unsigned int enum_idx_n) const
unsigned int enum_num_items () const
bool has_dB () const
snd_ctl_elem_iface_t iface () const
const QString & iface_display_name () const
const QString & iface_name () const
unsigned int iface_type_idx () const
long integer_max () const
long integer_min () const
long integer_value (unsigned int idx_n) const
bool integers_equal () const
void invert_switch_all ()
void invert_switch_state (unsigned int idx_n)
bool is_active () const
bool is_boolean () const
bool is_bytes () const
bool is_enumerated () const
bool is_IEC958 () const
bool is_integer () const
bool is_integer64 () const
bool is_readable () const
bool is_volatile () const
bool is_writable () const
void level_enums ()
void level_integers ()
void level_switches ()
void level_values ()
void set_display_name (const QString &name_n)
void set_enum_index (unsigned int channel_idx_n, unsigned int enum_idx_n)
void set_enum_index_all (unsigned int enum_idx_n)
void set_integer (unsigned int idx_n, long value_n)
void set_integer_all (long value_n)
void set_snd_hctl (snd_hctl_t *hctl_n)
void set_snd_hctl_elem (snd_hctl_elem_t *hctl_elem_n)
void set_switch_all (bool state_n)
void set_switch_state (unsigned int idx_n, bool state_n)
void signalize_changes ()
void signalize_element_changed ()
 Signalizes the parent that this element changed.
const snd_ctl_elem_info_t * snd_ctl_info () const
snd_hctl_t * snd_hctl () const
snd_hctl_elem_t * snd_hctl_elem () const
 Snd_Mixer_CTL_Elem (const Snd_Mixer_CTL_Data &data_n, QObject *parent_n=0, snd_hctl_t *hctl_n=0, snd_hctl_elem_t *hctl_elem_n=0)
unsigned int subdevice () const
bool switch_state (unsigned int idx_n) const
bool switches_equal () const
void update_value ()
 Reads all value from alsa.
void update_value_mark ()
 Reads all value from alsa and flags a change.
bool values_changed () const
bool values_equal () const

Static Public Member Functions

static int alsa_callback_hctl_elem (snd_hctl_elem_t *elem_n, unsigned int mask_n)

Protected Member Functions

void value_was_set ()

Private Attributes

const Snd_Mixer_CTL_Data_data
QString _display_name
Enum_Names_Buffer _enum_item_names
snd_ctl_elem_info_t * _snd_ctl_elem_info
snd_ctl_elem_value_t * _snd_ctl_elem_value
snd_hctl_t * _snd_hctl
snd_hctl_elem_t * _snd_hctl_elem
bool _values_changed

Detailed Description


Brings Qt and ALSA objects together but without any GUI objects

Definition at line 35 of file snd_mixer_ctl_elem.hpp.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index