diff dmengine.h @ 786:bc95f8a6d89c

Add audio sample size information into the engine structure.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 04 Aug 2013 11:31:53 +0300
parents dbf5772690a8
children 7ea8775b265a
line wrap: on
line diff
--- a/dmengine.h	Sat Aug 03 23:48:46 2013 +0300
+++ b/dmengine.h	Sun Aug 04 11:31:53 2013 +0300
@@ -258,6 +258,7 @@
     DMMutex *audioStreamMutex;
     Uint8 * audioStreamBuf;
     size_t audioStreamLen;      // Length in samples
+    int audioSampleSize;        // Size of one audio sample in bytes (incl. all channels)
 
     // No-sound audio simulation thread stuff
     SDL_Thread *audioSimThread;