]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sound.h
added S_RawSamples_Enqueue, S_RawSamples_Dequeue, and S_RawSamples_ClearQueue functio...
[xonotic/darkplaces.git] / sound.h
diff --git a/sound.h b/sound.h
index f50b5800ea82f82549c896f43c1acedc852d3060..5ab1c4d8f020f8bcd5c0d832225a362b3f16943e 100644 (file)
--- a/sound.h
+++ b/sound.h
@@ -180,5 +180,12 @@ void S_AmbientOn (void);
 void *S_LockBuffer(void);
 void S_UnlockBuffer(void);
 
+// add some data to the tail of the rawsamples queue
+void S_RawSamples_Enqueue(short *samples, unsigned int length);
+// read and remove some data from the head of the rawsamples queue
+void S_RawSamples_Dequeue(int *samples, unsigned int length);
+// empty the rawsamples queue
+void S_RawSamples_ClearQueue(void);
+
 #endif