X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=snd_bsd.c;h=0e927f1e8d02fa01c37dd02482c272fa374794ce;hp=e32766f11dea6f2d94ff08990e8629d4ddd4e097;hb=e3f0be4a467683a4900fd774e9206516269e22ae;hpb=734e4b83218340b0fecbde230c7faa22f597ac84 diff --git a/snd_bsd.c b/snd_bsd.c index e32766f1..0e927f1e 100644 --- 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 +}