| 138 | |
| 139 | |
| 140 | void ProjectRenderer::startProcessing() |
| 141 | { |
| 142 | |
| 143 | if( isReady() ) |
| 144 | { |
| 145 | // have to do mixer stuff with GUI-thread-affinity in order to |
| 146 | // make slots connected to sampleRateChanged()-signals being |
| 147 | // called immediately |
| 148 | Engine::mixer()->setAudioDevice( m_fileDev, |
| 149 | m_qualitySettings, false, false ); |
| 150 | |
| 151 | start( |
| 152 | #ifndef LMMS_BUILD_WIN32 |
| 153 | QThread::HighPriority |
| 154 | #endif |
| 155 | ); |
| 156 | |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | |
| 161 | void ProjectRenderer::run() |
no test coverage detected