mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Add softvol PCM plugin
The softvol PCM plugin is added. It applies the software volume attenuation, which may be useful for codecs without volume controls. Currently, the control is only mono. The attenuation is applied to all channels equally. The control is probed and automatically created when not exists yet.
This commit is contained in:
parent
5c9ee5ef03
commit
30f35c1f7a
6 changed files with 766 additions and 4 deletions
|
|
@ -356,7 +356,9 @@ enum _snd_pcm_type {
|
|||
SND_PCM_TYPE_DSHARE,
|
||||
/** IEC958 subframe plugin */
|
||||
SND_PCM_TYPE_IEC958,
|
||||
SND_PCM_TYPE_LAST = SND_PCM_TYPE_DSNOOP
|
||||
/** Soft volume plugin */
|
||||
SND_PCM_TYPE_SOFTVOL,
|
||||
SND_PCM_TYPE_LAST = SND_PCM_TYPE_SOFTVOL
|
||||
};
|
||||
|
||||
/** PCM type */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue