]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_bsd.c
Fix a missing newline in system vars mismatch warning.
[xonotic/darkplaces.git] / snd_bsd.c
index e32766f11dea6f2d94ff08990e8629d4ddd4e097..0e927f1e8d02fa01c37dd02482c272fa374794ce 100644 (file)
--- a/snd_bsd.c
+++ b/snd_bsd.c
@@ -84,11 +84,10 @@ qboolean SndSys_Init (const snd_format_t* requested, snd_format_t* suggested)
 #ifdef SUNOS
                info.play.encoding = AUDIO_ENCODING_LINEAR;
 #else
-#      if BYTE_ORDER == BIG_ENDIAN
+       if (mem_bigendian)
                info.play.encoding = AUDIO_ENCODING_SLINEAR_BE;
-#      else
+       else
                info.play.encoding = AUDIO_ENCODING_SLINEAR_LE;
-#      endif
 #endif
 
        if (ioctl (audio_fd, AUDIO_SETINFO, &info) != 0)
@@ -230,3 +229,15 @@ void SndSys_UnlockRenderBuffer (void)
 {
        // Nothing to do
 }
+
+/*
+====================
+SndSys_SendKeyEvents
+
+Send keyboard events originating from the sound system (e.g. MIDI)
+====================
+*/
+void SndSys_SendKeyEvents(void)
+{
+       // not supported
+}