Defines | |
| #define | MULTI_DIV_short(src, scale) (((int)(src) * (scale)) >> VOL_SCALE_SHIFT) |
| #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_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. | |
|
|
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.
|
|
||||||||||||||||||||||||||||||||||||||||||||
|
Creates a new SoftVolume PCM.
|
1.4.1