sync with OpenBSD -current

This commit is contained in:
purplerain 2023-12-02 11:08:21 +00:00
parent 8873eac723
commit 02d83d01a6
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
275 changed files with 1129 additions and 1124 deletions

View file

@ -123,7 +123,7 @@ mixer_ondesc(void *unused, struct sioctl_desc *d, int val)
* hw/output.level that we map to OSS gain controls. This
* ensures useful knobs are exposed no matter if sndiod
* is running or not.
*/
*/
if (d->group[0] == 0) {
if (strcmp(d->node0.name, "output") == 0)
type = SOUND_MIXER_VOLUME;
@ -143,7 +143,7 @@ mixer_ondesc(void *unused, struct sioctl_desc *d, int val)
i = malloc(sizeof(struct control));
if (i == NULL) {
DPRINTF("%s: cannot allocate control\n", __func__);
DPRINTF("%s: cannot allocate control\n", __func__);
return;
}