audioconvert: add support for volume ramp time params

This commit is contained in:
Ashok Sidipotu 2023-03-24 13:56:09 +05:30 committed by Wim Taymans
parent 075fd49ccc
commit b0f6c4a8c0
2 changed files with 77 additions and 28 deletions

View file

@ -60,11 +60,15 @@ enum spa_prop {
SPA_PROP_waveType,
SPA_PROP_frequency,
SPA_PROP_volume, /**< a volume (Float), 0.0 silence, 1.0 normal */
SPA_PROP_volumeRampSamples, /**< Samples to ramp the volume over */
SPA_PROP_volumeRampStepSamples, /**< Step or incremental Samples to ramp the volume over */
SPA_PROP_volumeRampTime, /**< Time to ramp the volume over */
SPA_PROP_volumeRampStepTime, /**< Step or incremental Time to ramp the volume over */
SPA_PROP_volumeRampScale, /**< the scale or graph to used to ramp the volume */
SPA_PROP_volumeRampSamples, /**< Samples to ramp the volume over
*-1 is invalid, 0 ramps over instantly*/
SPA_PROP_volumeRampStepSamples, /**< Step or incremental Samples to ramp the volume over
*-1 is invalid, 0 ramps over instantly */
SPA_PROP_volumeRampTime, /**< Time in millisec to ramp the volume over
*-1 is invalid, 0 ramps over instantly*/
SPA_PROP_volumeRampStepTime, /**< Step or incremental Time in nano seconds to ramp the
*volume over -1 is invalid, 0 ramps over instantly */
SPA_PROP_volumeRampScale, /**< the scale or graph to used to ramp the volume */
SPA_PROP_mute, /**< mute (Bool) */
SPA_PROP_patternType,
SPA_PROP_ditherType,