audioconvert: add a invalid value for scale

The invalid value here is zero, this will help avoid inadvertant parameter
updates and brings this on par with rest of the volume ramp parameters
This commit is contained in:
Ashok Sidipotu 2023-03-30 14:38:29 +05:30 committed by Wim Taymans
parent b61bf8a27d
commit dcec2e785e
4 changed files with 16 additions and 14 deletions

View file

@ -262,6 +262,7 @@ enum spa_audio_channel {
};
enum spa_audio_volume_ramp_scale {
SPA_AUDIO_VOLUME_RAMP_INVALID,
SPA_AUDIO_VOLUME_RAMP_LINEAR,
SPA_AUDIO_VOLUME_RAMP_CUBIC,
};