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