Alexandre Ratchov
8d24dd3ef8
sioctl_sun.c: If no "xxx.mute" control is found, try "xxx_mute"
2020-04-30 17:25:22 +02:00
Alexandre Ratchov
cc30ccae23
bump copyright year
2020-02-24 07:00:49 +01:00
Alexandre Ratchov
e55971c61e
Add "maxval" attribute to sioctl_desc structure.
...
As control may have different max values, make sndioctl
expose floats in the [0:1] range.
2020-02-22 14:52:20 +01:00
Alexandre Ratchov
2207b5e6db
Represent sndioctl controls as floats in the [0:1] interval
2020-02-22 10:34:40 +01:00
Alexandre Ratchov
b62a7eef6f
Expose sun mixer master knobs in the top-level group.
...
This allows the same master knobs to be available no matter
if sndiod is running or net.
2020-02-08 15:50:56 +01:00
Alexandre Ratchov
94515589f5
Rename wskbd_vol to volume
2020-02-05 17:32:23 +01:00
Alexandre Ratchov
1bfe9a4f39
Filter redundant control settings
2020-02-04 15:49:34 +01:00
Alexandre Ratchov
0575c9f2e1
Use new /dev/audioctlN read(2) interface
2020-01-29 07:04:30 +01:00
Alexandre Ratchov
0ac817ab82
Rename node->str to node->name3
2020-01-23 07:38:14 +01:00
Alexandre Ratchov
f51534ae26
Rename sioctl_chan to sioctl_node
2020-01-23 07:16:27 +01:00
Alexandre Ratchov
0031ec4a72
Use "hw" group for hw controls to get stable control names.
...
To ensure chained sndiod controls get unique names, we prefix
groups sndiod creates with "dev".
2020-01-21 06:39:00 +01:00
Alexandre Ratchov
74ae9cda72
Make the control group a simple string.
...
To handle nested devices, just prefix the group with the "dev."
prefix. To avoid namespace conflicts, put program controls in a
new "app" group.
The "master.level" control is renamed to "output.level" to match the
hardware name. This way snd/0 and rsnd/0 end-up with the same control
name.
2020-01-13 09:27:06 +01:00
Alexandre Ratchov
9edbee2bc1
sioctl_sun: Rename spkr->output, mic->input.
2020-01-13 07:19:55 +01:00
Alexandre Ratchov
c64f25a5f8
Remove group for hardware controls.
2020-01-13 07:15:36 +01:00
Alexandre Ratchov
5a0fc8feb7
Move hw control in "inputs" and "outputs" groups
2020-01-11 11:01:56 +01:00
Alexandre Ratchov
ddf18ab3e1
Allow "snd/default" style syntax
2020-01-03 15:41:30 +01:00
Alexandre Ratchov
d2057194b1
Rename _setctl -> _setval and _onctl -> _onval
2020-01-03 15:30:06 +01:00
Alexandre Ratchov
6e83bb6a4f
Rename siomix -> sioctl, stop using "mixer" word.
2020-01-03 15:19:25 +01:00