traverso-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Traverso-commit] traverso/src engine/AudioDeviceThread.cpp trave...


From: Remon Sijrier
Subject: [Traverso-commit] traverso/src engine/AudioDeviceThread.cpp trave...
Date: Mon, 23 Apr 2007 13:52:20 +0000

CVSROOT:        /sources/traverso
Module name:    traverso
Changes by:     Remon Sijrier <r_sijrier>       07/04/23 13:52:20

Modified files:
        src/engine     : AudioDeviceThread.cpp 
        src/traverso   : Traverso.cpp 

Log message:
        * register InfoStruct as a qtMetaType to able to send info messages 
from 
        other threads then the gui thread.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/traverso/src/engine/AudioDeviceThread.cpp?cvsroot=traverso&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/traverso/src/traverso/Traverso.cpp?cvsroot=traverso&r1=1.35&r2=1.36

Patches:
Index: engine/AudioDeviceThread.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/engine/AudioDeviceThread.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- engine/AudioDeviceThread.cpp        17 Apr 2007 19:56:46 -0000      1.15
+++ engine/AudioDeviceThread.cpp        23 Apr 2007 13:52:20 -0000      1.16
@@ -17,7 +17,7 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA.
 
-$Id: AudioDeviceThread.cpp,v 1.15 2007/04/17 19:56:46 r_sijrier Exp $
+$Id: AudioDeviceThread.cpp,v 1.16 2007/04/23 13:52:20 r_sijrier Exp $
 */
 
 #include "AudioDeviceThread.h"
@@ -130,7 +130,7 @@
                param.sched_priority = 70;
                if (pthread_setschedparam (pthread_self(), SCHED_FIFO, &param) 
!= 0) {
                        info().critical(tr("Unable to set Audiodevice Thread to 
realtime priority!!!"
-                               "This most likely results in unreliable 
playback/capture and"
+                               "This most likely results in unreliable 
playback/capture and "
                                "lots of buffer underruns (== sound drops)."
                                "In the worst case the program can even 
malfunction!"
                                "Please make sure you run this program with 
realtime privileges!!!"));

Index: traverso/Traverso.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/traverso/Traverso.cpp,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -b -r1.35 -r1.36
--- traverso/Traverso.cpp       17 Apr 2007 19:56:46 -0000      1.35
+++ traverso/Traverso.cpp       23 Apr 2007 13:52:20 -0000      1.36
@@ -33,6 +33,7 @@
 #include <Config.h>
 #include <AudioDevice.h>
 #include <ContextPointer.h>
+#include <Information.h>
 
 // Always put me below _all_ includes, this is needed
 // in case we run with memory leak detection enabled!
@@ -86,6 +87,8 @@
        QCoreApplication::setOrganizationName("Traverso-daw");
        QCoreApplication::setApplicationName("Traverso");
        
+       qRegisterMetaType<InfoStruct>("InfoStruct");
+       
        config().check_and_load_configuration();
        
        // Initialize random number generator




reply via email to

[Prev in Thread] Current Thread [Next in Thread]