Hi,
Made a small modification to the enginemaster.cpp file to fix the
issue of the balance not effecting the master VU meter.
The problem was simply that the vumeter was updated before the signal
was multiplied with the balleft and balright.
Hope this works,
-Miko // elysion
=== modified file 'mixxx/src/engine/enginemaster.cpp'
--- mixxx/src/engine/enginemaster.cpp 2009-01-24 04:39:32 +0000
+++ mixxx/src/engine/enginemaster.cpp 2009-04-05 12:18:15 +0000
@@ -283,10 +283,6 @@
// Clipping
clipping->process(m_pMaster, m_pMaster, iBufferSize);
- // Update VU meter (it does not return anything):
- if (vumeter!=0)
- vumeter->process(m_pMaster, m_pMaster, iBufferSize);
-
// Add master to headphone
for (int i=0; i<iBufferSize; i++)
m_pHead[i] += m_pMaster[i]*cmaster_gain;
@@ -313,6 +309,12 @@
m_pMaster[i+1] = m_pMaster[i+1]*balright;
}
+ // moved here to take balance into account -elysion
+ // Update VU meter (it does not return anything):
+ if (vumeter!=0)
+ vumeter->process(m_pMaster, m_pMaster, iBufferSize);
+
+
//Submit samples to the side chain to do shoutcasting, recording, etc.
//(cpu intensive non-realtime tasks)
sidechain->submitSamples(m_pMaster, iBufferSize);
------------------------------------------------------------------------------
_______________________________________________
Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel