mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-16 07:00:00 -05:00
acp: add volume base and step
Add a READONLY property flag to makr properties READONLY Set the base_volume and volume_step in the acp device Send the base volume and step as REAONLY properties. Use these in pulse layer.
This commit is contained in:
parent
f75dfde89c
commit
e030445e49
8 changed files with 40 additions and 11 deletions
|
|
@ -69,12 +69,15 @@ enum spa_prop {
|
|||
SPA_PROP_START_Audio = 0x10000, /**< audio related properties */
|
||||
SPA_PROP_waveType,
|
||||
SPA_PROP_frequency,
|
||||
SPA_PROP_volume,
|
||||
SPA_PROP_mute,
|
||||
SPA_PROP_volume, /**< a volume (Float), 0.0 silence, 1.0 normal */
|
||||
SPA_PROP_mute, /**< mute (Bool) */
|
||||
SPA_PROP_patternType,
|
||||
SPA_PROP_ditherType,
|
||||
SPA_PROP_truncate,
|
||||
SPA_PROP_channelVolumes,
|
||||
SPA_PROP_channelVolumes, /**< a volume array, one volume per
|
||||
* channel (Array of Float) */
|
||||
SPA_PROP_volumeBase, /**< a volume base (Float) */
|
||||
SPA_PROP_volumeStep, /**< a volume step (Float) */
|
||||
|
||||
SPA_PROP_START_Video = 0x20000, /**< video related properties */
|
||||
SPA_PROP_brightness,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue