diff options
Diffstat (limited to 'QW/client/sound.h')
| -rw-r--r-- | QW/client/sound.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/QW/client/sound.h b/QW/client/sound.h index 941e620..c1e90fa 100644 --- a/QW/client/sound.h +++ b/QW/client/sound.h @@ -111,9 +111,14 @@ channel_t *SND_PickChannel(int entnum, int entchannel); // spatializes a channel void SND_Spatialize(channel_t *ch); +#if defined(USE_SDL2) +/* Probably the easiest way to retrofit quakespasm's SDL2 audio code into + Id Quake. */ +qboolean SNDDMA_Init(dma_t *dma); +#else // initializes cycling through a DMA buffer and returns information on it qboolean SNDDMA_Init(void); - +#endif // gets the current DMA position int SNDDMA_GetDMAPos(void); |
