X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=snd_alsa_0_9.c;h=9ab93d3d72f159eec2d9d8ca321a26af9c5c1372;hb=e411cc7d14dad08cbbe27f5b3af86700f7eb5184;hp=5cb3092e204e45018e8d927327ebbf86f72691e3;hpb=ee56e1bdc794221e223424a6b79f4c86c4b977e1;p=xonotic%2Fdarkplaces.git diff --git a/snd_alsa_0_9.c b/snd_alsa_0_9.c index 5cb3092e..9ab93d3d 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;