mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
audioconvert: add support of volume ramp scale parameter
- Add support for Linear and Cubic volume scales - Also start treating a "zero" value of volume ramp parameters as invalid
This commit is contained in:
parent
7b91d506f1
commit
8bfafaeca2
3 changed files with 78 additions and 47 deletions
|
|
@ -261,6 +261,11 @@ enum spa_audio_channel {
|
|||
SPA_AUDIO_CHANNEL_START_Custom = 0x10000,
|
||||
};
|
||||
|
||||
enum spa_audio_volume_ramp_scale {
|
||||
SPA_AUDIO_VOLUME_RAMP_LINEAR,
|
||||
SPA_AUDIO_VOLUME_RAMP_CUBIC,
|
||||
};
|
||||
|
||||
/** Extra audio flags */
|
||||
#define SPA_AUDIO_FLAG_NONE (0) /*< no valid flag */
|
||||
#define SPA_AUDIO_FLAG_UNPOSITIONED (1 << 0) /*< the position array explicitly
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue