Qt: AudioProcessor::m_context can be null
Vicki Pfau vi@endrift.com
Sat, 12 Jan 2019 15:56:46 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/platform/qt/AudioProcessor.h
→
src/platform/qt/AudioProcessor.h
@@ -50,7 +50,7 @@
virtual void requestSampleRate(unsigned) = 0; protected: - mCoreThread* input() { return m_context->thread(); } + mCoreThread* input() { return m_context ? m_context->thread() : nullptr; } private: std::shared_ptr<CoreController> m_context;