diff --git a/include/AudioSoundIo.h b/include/AudioSoundIo.h index 5816bc52b..4912e6850 100644 --- a/include/AudioSoundIo.h +++ b/include/AudioSoundIo.h @@ -45,6 +45,8 @@ class AudioSoundIoSetupUtil : public QObject { Q_OBJECT public: + virtual ~AudioSoundIoSetupUtil(); + void *m_setupWidget; public slots: void updateDevices(); diff --git a/src/core/audio/AudioSoundIo.cpp b/src/core/audio/AudioSoundIo.cpp index ed573becf..69f1a2183 100644 --- a/src/core/audio/AudioSoundIo.cpp +++ b/src/core/audio/AudioSoundIo.cpp @@ -282,6 +282,10 @@ void AudioSoundIo::writeCallback(int frameCountMin, int frameCountMax) } } +AudioSoundIoSetupUtil::~AudioSoundIoSetupUtil() +{ +} + void AudioSoundIoSetupUtil::reconnectSoundIo() { ((AudioSoundIo::setupWidget *)m_setupWidget)->reconnectSoundIo();