changeset 353:de4db9b5dcf1

* More latency for PortAudio output * ...
author Chris Cannam
date Thu, 24 Jan 2008 22:49:19 +0000
parents 25e72328a897
children 94ada7dbae3c
files layer/Colour3DPlotLayer.cpp layer/TimeValueLayer.cpp
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/layer/Colour3DPlotLayer.cpp	Thu Jan 24 14:35:43 2008 +0000
+++ b/layer/Colour3DPlotLayer.cpp	Thu Jan 24 22:49:19 2008 +0000
@@ -29,7 +29,7 @@
 
 #include <cassert>
 
-#define DEBUG_COLOUR_3D_PLOT_LAYER_PAINT 1
+//#define DEBUG_COLOUR_3D_PLOT_LAYER_PAINT 1
 
 
 Colour3DPlotLayer::Colour3DPlotLayer() :
--- a/layer/TimeValueLayer.cpp	Thu Jan 24 14:35:43 2008 +0000
+++ b/layer/TimeValueLayer.cpp	Thu Jan 24 22:49:19 2008 +0000
@@ -540,6 +540,8 @@
     int sampleRate = m_model->getSampleRate();
     if (!sampleRate) return;
 
+    paint.setRenderHint(QPainter::Antialiasing, false);
+
 //    Profiler profiler("TimeValueLayer::paint", true);
 
     int x0 = rect.left(), x1 = rect.right();