Mercurial > hg > sonic-visualiser
comparison main/MainWindow.cpp @ 39:f18093617b78
* Introduce WritableWaveFileModel, and use it as an output model for audio
real-time plugin transforms. Updates aren't working correctly yet.
author | Chris Cannam |
---|---|
date | Tue, 03 Oct 2006 14:17:37 +0000 |
parents | 5c20bb3e6c94 |
children | fbd7a497fd89 |
comparison
equal
deleted
inserted
replaced
38:5c20bb3e6c94 | 39:f18093617b78 |
---|---|
150 m_panner->setFixedHeight(40); | 150 m_panner->setFixedHeight(40); |
151 | 151 |
152 m_panLayer = new WaveformLayer; | 152 m_panLayer = new WaveformLayer; |
153 m_panLayer->setChannelMode(WaveformLayer::MergeChannels); | 153 m_panLayer->setChannelMode(WaveformLayer::MergeChannels); |
154 // m_panLayer->setScale(WaveformLayer::MeterScale); | 154 // m_panLayer->setScale(WaveformLayer::MeterScale); |
155 m_panLayer->setAutoNormalize(true); | 155 // m_panLayer->setAutoNormalize(true); |
156 m_panLayer->setBaseColour(Qt::darkGreen); | 156 m_panLayer->setBaseColour(Qt::darkGreen); |
157 m_panLayer->setAggressiveCacheing(true); | 157 m_panLayer->setAggressiveCacheing(true); |
158 m_panner->addLayer(m_panLayer); | 158 m_panner->addLayer(m_panLayer); |
159 | 159 |
160 m_playSource = new AudioCallbackPlaySource(m_viewManager); | 160 m_playSource = new AudioCallbackPlaySource(m_viewManager); |