Zyn fix: export now fully works with GUI either open/closed
This commit is contained in:
@@ -22,8 +22,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _REMOTE_ZYNADDSUBFX_H
|
||||
#define _REMOTE_ZYNADDSUBFX_H
|
||||
#ifndef REMOTE_ZYNADDSUBFX_H
|
||||
#define REMOTE_ZYNADDSUBFX_H
|
||||
|
||||
#include "RemotePlugin.h"
|
||||
|
||||
|
||||
@@ -423,6 +423,9 @@ void ZynAddSubFxInstrument::initPlugin()
|
||||
QSTR_TO_STDSTR(
|
||||
QString( configManager::inst()->factoryPresetsDir() +
|
||||
QDir::separator() + "ZynAddSubFX" ) ) ) );
|
||||
|
||||
m_remotePlugin->updateSampleRate( engine::mixer()->processingSampleRate() );
|
||||
|
||||
m_remotePlugin->showUI();
|
||||
m_remotePlugin->unlock();
|
||||
}
|
||||
@@ -432,6 +435,7 @@ void ZynAddSubFxInstrument::initPlugin()
|
||||
m_plugin->setSampleRate( engine::mixer()->processingSampleRate() );
|
||||
m_plugin->setBufferSize( engine::mixer()->framesPerPeriod() );
|
||||
}
|
||||
|
||||
m_pluginMutex.unlock();
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* ZynAddSubFx.h - ZynAddSubFX-embedding plugin
|
||||
*
|
||||
* Copyright (c) 2008-2010 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
*
|
||||
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
@@ -22,8 +22,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _ZYNADDSUBFX_H
|
||||
#define _ZYNADDSUBFX_H
|
||||
#ifndef ZYNADDSUBFX_H
|
||||
#define ZYNADDSUBFX_H
|
||||
|
||||
#include <QtCore/QMap>
|
||||
#include <QtCore/QMutex>
|
||||
|
||||
Reference in New Issue
Block a user