traverso-commit
[Top][All Lists]
Advanced

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

[Traverso-commit] traverso/src/core Song.cpp


From: Remon Sijrier
Subject: [Traverso-commit] traverso/src/core Song.cpp
Date: Thu, 24 May 2007 11:02:07 +0000

CVSROOT:        /sources/traverso
Module name:    traverso
Changes by:     Remon Sijrier <r_sijrier>       07/05/24 11:02:07

Modified files:
        src/core       : Song.cpp 

Log message:
        minor cleanup 

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/traverso/src/core/Song.cpp?cvsroot=traverso&r1=1.104&r2=1.105

Patches:
Index: Song.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/core/Song.cpp,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -b -r1.104 -r1.105
--- Song.cpp    24 May 2007 10:56:43 -0000      1.104
+++ Song.cpp    24 May 2007 11:02:07 -0000      1.105
@@ -139,7 +139,7 @@
 
        mixdown = gainbuffer = 0;
        m_masterOut = new AudioBus("Master Out", 2);
-       m_renderBus = new AudioBus("Master Out", 2);
+       m_renderBus = new AudioBus("Render Bus", 2);
        resize_buffer(false, audiodevice().get_buffer_size());
        m_hs = new QUndoStack(pm().get_undogroup());
        set_history_stack(m_hs);
@@ -840,11 +840,11 @@
 
        // Mix the result into the AudioDevice "physical" buffers
        if (m_playBackBus) {
+               // Process all the plugins for this Song
+               m_pluginChain->process(m_masterOut, nframes);
+               
                Mixer::mix_buffers_with_gain(m_playBackBus->get_buffer(0, 
nframes), m_masterOut->get_buffer(0, nframes), nframes, m_gain);
                Mixer::mix_buffers_with_gain(m_playBackBus->get_buffer(1, 
nframes), m_masterOut->get_buffer(1, nframes), nframes, m_gain);
-               
-               // Process all the plugins for this Song
-               m_pluginChain->process(m_playBackBus, nframes);
        }
 
        




reply via email to

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