Author: remi
Date: 2009-02-15 19:35:41 +0100 (Sun, 15 Feb 2009)
New Revision: 3641

Modified:
   software_suite_v2/tuxware/tuxosl-ose/trunk/include/win32/playback.h
   software_suite_v2/tuxware/tuxosl-ose/trunk/src/win32/playback.cpp
Log:
* moved some structures and constants

Modified: software_suite_v2/tuxware/tuxosl-ose/trunk/include/win32/playback.h
===================================================================
--- software_suite_v2/tuxware/tuxosl-ose/trunk/include/win32/playback.h 
2009-02-15 18:20:29 UTC (rev 3640)
+++ software_suite_v2/tuxware/tuxosl-ose/trunk/include/win32/playback.h 
2009-02-15 18:35:41 UTC (rev 3641)
@@ -28,6 +28,8 @@
 #ifndef _PLAYBACK_H_
 #define _PLAYBACK_H_
 
+#include <windows.h>
+#include <mmsystem.h>
 #include <portaudio.h>
 
 #include "../misc.h"
@@ -36,6 +38,15 @@
 #include "../threading.h"
 
 /**
+ * \brief Tuxdroid sound card name.
+ */
+#if PLAYBACK_TUX_DEVICE_AUDIO
+#   define TUX_DEVICE_NAME             "TuxDroid-Audio"
+#else
+#   define TUX_DEVICE_NAME             "TuxDroid-TTS"
+#endif
+
+/**
  * \class TOPlayback
  * \brief Class to manage the audio playback.
  */

Modified: software_suite_v2/tuxware/tuxosl-ose/trunk/src/win32/playback.cpp
===================================================================
--- software_suite_v2/tuxware/tuxosl-ose/trunk/src/win32/playback.cpp   
2009-02-15 18:20:29 UTC (rev 3640)
+++ software_suite_v2/tuxware/tuxosl-ose/trunk/src/win32/playback.cpp   
2009-02-15 18:35:41 UTC (rev 3641)
@@ -26,22 +26,11 @@
  */
 
 #include <stdio.h>
-#include <windows.h>
-#include <mmsystem.h>
 
 #include "../../include/config.h"
 #include "../../include/log.h"
 #include "../../include/win32/playback.h"
 
-/**
- * \brief Tuxdroid sound card name.
- */
-#if PLAYBACK_TUX_DEVICE_AUDIO
-#   define TUX_DEVICE_NAME             "TuxDroid-Audio"
-#else
-#   define TUX_DEVICE_NAME             "TuxDroid-TTS"
-#endif
-
 /*
  * When the TEST_PLAYBACK is set to 1, a sin wave is played to the device.
  */


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to