Defines | |
#define | CONVERT_AREA(TYPE) |
#define | GET_VOL_SCALE |
#define | GET_VOL_SCALE |
Functions | |
int | snd_pcm_softvol_open (snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, int ctl_card, snd_ctl_elem_id_t *ctl_id, int cchannels, double min_dB, int resolution, snd_pcm_t *slave, int close_slave) |
Creates a new SoftVolume PCM. | |
int | snd_pcm_parse_control_id (snd_config_t *conf, snd_ctl_elem_id_t *ctl_id, int *cardp, int *cchannelsp, int *hwctlp) |
Parse control element id from the config. | |
int | _snd_pcm_softvol_open (snd_pcm_t **pcmp, const char *name, snd_config_t *root, snd_config_t *conf, snd_pcm_stream_t stream, int mode) |
Creates a new Soft Volume PCM. | |
SND_DLSYM_BUILD_VERSION (_snd_pcm_softvol_open, SND_PCM_DLSYM_VERSION) |
|
Value: switch (ch) { \ case 0: \ case 2: \ vol_scale = (channels == ch + 1) ? vol_c : vol[0]; \ break; \ case 4: \ case 5: \ vol_scale = vol_c; \ break; \ default: \ vol_scale = vol[ch & 1]; \ break; \ } |
|
Creates a new Soft Volume PCM.
|
|
Parse control element id from the config.
cchannelsp and hwctlp arguments are optional. Set NULL if not necessary. |
|
Creates a new SoftVolume PCM.
|