Mercurial > hg > sonic-visualiser
comparison main/MainWindow.cpp @ 1040:1f4e40be5aa2 3.0-integration
Merge from branch bqaudioio
author | Chris Cannam |
---|---|
date | Tue, 04 Aug 2015 16:39:40 +0100 |
parents | 0f46daf55706 28ccb621d1af |
children | 2f8018eb1573 |
comparison
equal
deleted
inserted
replaced
1039:e517197049bc | 1040:1f4e40be5aa2 |
---|---|
55 #include "widgets/KeyReference.h" | 55 #include "widgets/KeyReference.h" |
56 #include "widgets/TransformFinder.h" | 56 #include "widgets/TransformFinder.h" |
57 #include "widgets/LabelCounterInputDialog.h" | 57 #include "widgets/LabelCounterInputDialog.h" |
58 #include "widgets/ActivityLog.h" | 58 #include "widgets/ActivityLog.h" |
59 #include "widgets/UnitConverter.h" | 59 #include "widgets/UnitConverter.h" |
60 #include "audioio/AudioCallbackPlaySource.h" | 60 #include "audio/AudioCallbackPlaySource.h" |
61 #include "audioio/AudioCallbackPlayTarget.h" | 61 #include "audio/PlaySpeedRangeMapper.h" |
62 #include "audioio/AudioTargetFactory.h" | |
63 #include "audioio/PlaySpeedRangeMapper.h" | |
64 #include "data/fileio/DataFileReaderFactory.h" | 62 #include "data/fileio/DataFileReaderFactory.h" |
65 #include "data/fileio/PlaylistFileReader.h" | 63 #include "data/fileio/PlaylistFileReader.h" |
66 #include "data/fileio/WavFileWriter.h" | 64 #include "data/fileio/WavFileWriter.h" |
67 #include "data/fileio/CSVFileWriter.h" | 65 #include "data/fileio/CSVFileWriter.h" |
68 #include "data/fileio/MIDIFileWriter.h" | 66 #include "data/fileio/MIDIFileWriter.h" |
90 // For version information | 88 // For version information |
91 #include <vamp/vamp.h> | 89 #include <vamp/vamp.h> |
92 #include <vamp-hostsdk/PluginBase.h> | 90 #include <vamp-hostsdk/PluginBase.h> |
93 #include "plugin/api/ladspa.h" | 91 #include "plugin/api/ladspa.h" |
94 #include "plugin/api/dssi.h" | 92 #include "plugin/api/dssi.h" |
93 | |
94 #include <bqaudioio/SystemPlaybackTarget.h> | |
95 | 95 |
96 #include <QApplication> | 96 #include <QApplication> |
97 #include <QMessageBox> | 97 #include <QMessageBox> |
98 #include <QGridLayout> | 98 #include <QGridLayout> |
99 #include <QLabel> | 99 #include <QLabel> |
4232 | 4232 |
4233 MainWindowBase::mainModelChanged(model); | 4233 MainWindowBase::mainModelChanged(model); |
4234 | 4234 |
4235 if (m_playTarget) { | 4235 if (m_playTarget) { |
4236 connect(m_fader, SIGNAL(valueChanged(float)), | 4236 connect(m_fader, SIGNAL(valueChanged(float)), |
4237 m_playTarget, SLOT(setOutputGain(float))); | 4237 this, SLOT(mainModelGainChanged(float))); |
4238 } | |
4239 } | |
4240 | |
4241 void | |
4242 MainWindow::mainModelGainChanged(float gain) | |
4243 { | |
4244 if (m_playTarget) { | |
4245 m_playTarget->setOutputGain(gain); | |
4238 } | 4246 } |
4239 } | 4247 } |
4240 | 4248 |
4241 void | 4249 void |
4242 MainWindow::modelAboutToBeDeleted(Model *model) | 4250 MainWindow::modelAboutToBeDeleted(Model *model) |