aboutsummaryrefslogtreecommitdiffstats
path: root/WinQuake/sound.h
diff options
context:
space:
mode:
Diffstat (limited to 'WinQuake/sound.h')
-rw-r--r--WinQuake/sound.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/WinQuake/sound.h b/WinQuake/sound.h
index 6410af2..f5e8b35 100644
--- a/WinQuake/sound.h
+++ b/WinQuake/sound.h
@@ -115,7 +115,13 @@ channel_t *SND_PickChannel(int entnum, int entchannel);
void SND_Spatialize(channel_t *ch);
// initializes cycling through a DMA buffer and returns information on it
+#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
qboolean SNDDMA_Init(void);
+#endif
// gets the current DMA position
int SNDDMA_GetDMAPos(void);