afcc7ccdf3e9 — Chris Cannam 9 months ago
Fix crash when started in record-only mode
1 files changed, 1 insertions(+), 1 deletions(-)

M src/PortAudioIO.cpp
M src/PortAudioIO.cpp +1 -1
@@ 684,7 684,7 @@ PortAudioIO::process(const void *inputBu
 
         m_source->setOutputLevels(peakLeft, peakRight);
 
-    } else if (m_outputChannels > 0) {
+    } else if (m_outputChannels > 0 && output) {
 
         v_zero(output, m_outputChannels * nframes);
     }