X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=snd_alsa_0_9.c;h=3d4129dd847a418ab25be5398653b610fcd738b6;hb=efd89dee09ac8a3c6b31dd71d61dd5bca54ca6eb;hp=5cb3092e204e45018e8d927327ebbf86f72691e3;hpb=ee56e1bdc794221e223424a6b79f4c86c4b977e1;p=xonotic%2Fdarkplaces.git diff --git a/snd_alsa_0_9.c b/snd_alsa_0_9.c index 5cb3092e..3d4129dd 100644 --- a/snd_alsa_0_9.c +++ b/snd_alsa_0_9.c @@ -1,7 +1,7 @@ /* snd_alsa_0_9.c - (description) + Support for ALSA 0.9 sound driver (cvs development version) Copyright (C) 1999,2000 contributors of the QuakeForge project Please see the file "AUTHORS" for a list of contributors @@ -35,9 +35,8 @@ #include -#include "qtypes.h" +#include "quakedef.h" #include "sound.h" -#include "qargs.h" #include "console.h" static int snd_inited; @@ -219,7 +218,7 @@ qboolean SNDDMA_Init(void) } static inline int -get_hw_ptr() +get_hw_ptr(void) { size_t app_ptr; snd_pcm_sframes_t delay; @@ -306,3 +305,20 @@ void SNDDMA_Submit(void) } } +void *S_LockBuffer(void) +{ + return shm->buffer; +} + +void S_UnlockBuffer(void) +{ +} + + +void S_Open(void) +{ +} + +void S_Close(void) +{ +}