Bochs/bochs/iodev/sound
Biswapriyo Nath e1d67d9ce0
Fix checking Android platform with __ANDROID__ macro (#299)
This change fixes compiler errors in Android as following.
    
../../../iodev/sound/soundoss.cc:43:10: fatal error: 'sys/soundcard.h'
file not found
       43 | #include <sys/soundcard.h>
          |          ^~~~~~~~~~~~~~~~~
../../../iodev/network/slirp/misc.cc:195:12: error: use of undeclared
identifier 'getdtablesize'; did you mean 'getpagesize'?
      195 |                 for (s = getdtablesize() - 1; s >= 3; s--)
          |                          ^~~~~~~~~~~~~
          |                          getpagesize
/data/data/com.termux/files/usr/include/unistd.h:356:5: note:
'getpagesize' declared here
      356 | int getpagesize(void) __INTRODUCED_IN(21);
          |     ^
    
The official documentation also suggests to use __ANDROID__ macro which
is defined by the compiler irrespective of included headers and build
system.
https://android.googlesource.com/platform/bionic/+/HEAD/docs/defines.md
2024-04-06 23:18:01 +02:00
..
es1370.cc Fix checking Android platform with __ANDROID__ macro (#299) 2024-04-06 23:18:01 +02:00
es1370.h Changed parameter handler argument "set" type to bool. 2021-02-19 13:13:42 +00:00
Makefile.in Added lowlevel sound output support using the PulseAudio simple API. 2024-03-31 13:19:43 +02:00
opl.cc fixed 'misleading indentation' warning 2023-11-27 19:05:12 +02:00
opl.h convert define to enum 2023-10-20 22:34:37 +03:00
sb16.cc SB16: added 16-bit write support for even i/o addresses. 2023-12-31 16:05:20 +01:00
sb16.h Changed parameter handler argument "set" type to bool. 2021-02-19 13:13:42 +00:00
soundalsa.cc Disk image and sound driver modules don't need to include iodev.h. 2021-03-11 21:46:25 +00:00
soundalsa.h Reverted BX_THREAD_KILL() changes in the lowlevel sound code. Now using control 2017-06-02 16:56:58 +00:00
sounddummy.cc Disk image and sound driver modules don't need to include iodev.h. 2021-03-11 21:46:25 +00:00
soundfile.cc Disk image and sound driver modules don't need to include iodev.h. 2021-03-11 21:46:25 +00:00
soundfile.h Reverted BX_THREAD_KILL() changes in the lowlevel sound code. Now using control 2017-06-02 16:56:58 +00:00
soundlow.cc Lowlevel sound support: Attempt to fix issue #270. 2024-04-01 10:31:51 +02:00
soundlow.h Fix checking Android platform with __ANDROID__ macro (#299) 2024-04-06 23:18:01 +02:00
soundmod.cc Some more memory leak fixes. 2023-11-26 15:44:38 +01:00
soundmod.h Some more memory leak fixes. 2023-11-26 15:44:38 +01:00
soundoss.cc Disk image and sound driver modules don't need to include iodev.h. 2021-03-11 21:46:25 +00:00
soundoss.h Implemented self-registering static objects in the lowlevel sound code similar 2017-03-14 18:21:05 +00:00
soundosx.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
soundosx.h Implemented self-registering static objects in the lowlevel sound code similar 2017-03-14 18:21:05 +00:00
soundpulse.cc Added PCM recording support using the PulseAudio simple API. 2024-04-01 21:29:55 +02:00
soundpulse.h Added PCM recording support using the PulseAudio simple API. 2024-04-01 21:29:55 +02:00
soundsdl.cc Disk image and sound driver modules don't need to include iodev.h. 2021-03-11 21:46:25 +00:00
soundsdl.h Changed bx_bool to bool type in the harddrv, cdrom, hdimage and sound code. 2021-01-31 15:44:39 +00:00
soundwin.cc Lowlevel sound support: Attempt to fix issue #270. 2024-04-01 10:31:51 +02:00
soundwin.h convert define to enum 2023-10-20 22:34:37 +03:00