Mercurial > hg > sonic-visualiser
diff main/OSCHandler.cpp @ 1523:f73a4e8c7040
Merge from branch 3.0-integration
author | Chris Cannam |
---|---|
date | Tue, 10 Jan 2017 16:21:32 +0000 |
parents | f013210eeceb |
children | afe620d017d7 |
line wrap: on
line diff
--- a/main/OSCHandler.cpp Tue Jan 10 16:10:33 2017 +0000 +++ b/main/OSCHandler.cpp Tue Jan 10 16:21:32 2017 +0000 @@ -22,14 +22,16 @@ #include "view/PaneStack.h" #include "data/model/WaveFileModel.h" #include "widgets/CommandHistory.h" -#include "audioio/AudioCallbackPlaySource.h" -#include "audioio/AudioCallbackPlayTarget.h" +#include "audio/AudioCallbackPlaySource.h" #include "framework/Document.h" #include "data/fileio/WavFileWriter.h" #include "transform/TransformFactory.h" -#include "widgets/Fader.h" +#include "widgets/LevelPanWidget.h" +#include "widgets/LevelPanToolButton.h" #include "widgets/AudioDial.h" +#include <bqaudioio/SystemPlaybackTarget.h> + #include <QFileInfo> void @@ -341,7 +343,7 @@ if (property == "gain") { if (value < 0.0) value = 0.0; - m_fader->setValue(value); + m_mainLevelPan->setLevel(value); if (m_playTarget) m_playTarget->setOutputGain(value); } else if (property == "speedup") { m_playSpeed->setMappedValue(value);