mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
3a35210be1
PR: 54898 Submitted by: KATO Tsuguru <tkato@prontomail.com>
18 lines
440 B
C++
18 lines
440 B
C++
--- common/drivers/posix/sound_driver_oss.cpp.orig Mon Jun 23 10:06:42 2003
|
|
+++ common/drivers/posix/sound_driver_oss.cpp Fri Jul 11 11:49:31 2003
|
|
@@ -40,6 +40,14 @@
|
|
|
|
#define DEFAULT_AUDIO_DEVICE "/dev/dsp"
|
|
|
|
+#if !defined(AFMT_S16_NE)
|
|
+#if defined(BYTE_ORDER) && (BYTE_ORDER == BIG_ENDIAN)
|
|
+#define AFMT_S16_NE AFMT_S16_BE
|
|
+#else
|
|
+#define AFMT_S16_NE AFMT_S16_LE
|
|
+#endif
|
|
+#endif
|
|
+
|
|
|
|
bool Sound_Driver_OSS::does_perform_disk_write() {
|
|
|