diff --git a/toonz/sources/common/tsound/tsound_qt.cpp b/toonz/sources/common/tsound/tsound_qt.cpp index cceb780..a0187e3 100644 --- a/toonz/sources/common/tsound/tsound_qt.cpp +++ b/toonz/sources/common/tsound/tsound_qt.cpp @@ -182,7 +182,7 @@ public: qint64 audioBufferSize = format.bytesForDuration(100000); m_audioOutput->setBufferSize(audioBufferSize); m_audioOutput->setNotifyInterval(50); - QObject::connect(m_audioOutput, &QAudioOutput::notify, [=](){ sendBuffer(); }); + QObject::connect(m_audioOutput.data(), &QAudioOutput::notify, [=](){ sendBuffer(); }); reset(); }/* audio buffer too small, so optimization not uses