Build on master fails

From: Avinash Sonawane <rootkea_at_gmail.com>
Date: Fri, 29 Oct 2021 16:07:24 +0530
Hello!

I'm trying to compile sndio source.

I get these errors:
```
./configure --enable-alsa --enable-rmidi --enable-umidi --with-libbsd
--enable-oss
$ make -j4
...
sio_oss.c:69:4: error: use of undeclared identifier 'AFMT_U24_BE'
        { AFMT_U24_BE, 24, 3, 0, 0, 0 },
          ^
sio_oss.c:71:4: error: use of undeclared identifier 'AFMT_U24_LE'
        { AFMT_U24_LE, 24, 3, 0, 1, 0 },
          ^
sio_oss.c:76:4: error: use of undeclared identifier 'AFMT_U32_BE'
        { AFMT_U32_BE, 32, 4, 0, 0, 1 },
          ^
sio_oss.c:77:4: error: use of undeclared identifier 'AFMT_U32_LE'
        { AFMT_U32_LE, 32, 4, 0, 1, 1 },
          ^
...
```

Looking at the OSS source it seems there are no formats named
AFMT_U24_BE, AFMT_U24_LE, AFMT_U32_BE and AFMT_U32_LE.

I simply removed those and the build completed successfully.

I've attached the patch. Though I'm sot sure if this is the correct
way...

Thanks!

Regards,
Avinash Sonawane (rootKea)
https://www.rootkea.me

Received on Fri Oct 29 2021 - 12:37:24 CEST

This archive was generated by hypermail 2.3.0 : Tue Aug 09 2022 - 16:23:51 CEST