]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_main.h
Experimental theora capturevideo code.
[xonotic/darkplaces.git] / snd_main.h
index 0eea2fdd1769f90c78a4f1c566fbf1147f5721f2..61c43b5c2166b3ebc40180156601220e5a3782bf 100644 (file)
@@ -185,5 +185,12 @@ qboolean SndSys_LockRenderBuffer (void);
 // Release the exclusive lock on "snd_renderbuffer"
 void SndSys_UnlockRenderBuffer (void);
 
+// exported for capturevideo so ogg can see all channels
+typedef struct portable_samplepair_s
+{
+       int sample[SND_LISTENERS];
+} portable_sampleframe_t;
+// LordHavoc: was 512, expanded to 2048
+#define        PAINTBUFFER_SIZE 2048
 
 #endif