]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_oss.c
.gitignore: Update to ignore .cache directory created by clangd and build directory...
[xonotic/darkplaces.git] / snd_oss.c
index bde3d50836e48178e600f95591b7824d3e6e169c..05f91c92ff50ded803d3f5d9712294a692eece33 100644 (file)
--- a/snd_oss.c
+++ b/snd_oss.c
@@ -46,7 +46,7 @@ Create "snd_renderbuffer" with the proper sound format if the call is successful
 May return a suggested format if the requested format isn't available
 ====================
 */
-qboolean SndSys_Init (const snd_format_t* requested, snd_format_t* suggested)
+qbool SndSys_Init (const snd_format_t* requested, snd_format_t* suggested)
 {
        int flags, ioctl_param, prev_value;
        unsigned int fragmentsize;
@@ -312,7 +312,7 @@ SndSys_LockRenderBuffer
 Get the exclusive lock on "snd_renderbuffer"
 ====================
 */
-qboolean SndSys_LockRenderBuffer (void)
+qbool SndSys_LockRenderBuffer (void)
 {
        // Nothing to do
        return true;
@@ -330,3 +330,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
+}