Delete redundant information
This commit is contained in:
parent
53a5e989e5
commit
9636b3c733
3 changed files with 0 additions and 15 deletions
|
|
@ -244,11 +244,6 @@ void PLUGIN_API SfizzVstEditor::update(FUnknown* changedUnknown, int32 message)
|
||||||
|
|
||||||
if (PlayStateUpdate* update = FCast<PlayStateUpdate>(changedUnknown)) {
|
if (PlayStateUpdate* update = FCast<PlayStateUpdate>(changedUnknown)) {
|
||||||
const SfizzPlayState playState = update->getState();
|
const SfizzPlayState playState = update->getState();
|
||||||
uiReceiveValue(EditId::UINumCurves, playState.curves);
|
|
||||||
uiReceiveValue(EditId::UINumMasters, playState.masters);
|
|
||||||
uiReceiveValue(EditId::UINumGroups, playState.groups);
|
|
||||||
uiReceiveValue(EditId::UINumRegions, playState.regions);
|
|
||||||
uiReceiveValue(EditId::UINumPreloadedSamples, playState.preloadedSamples);
|
|
||||||
uiReceiveValue(EditId::UINumActiveVoices, playState.activeVoices);
|
uiReceiveValue(EditId::UINumActiveVoices, playState.activeVoices);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -295,11 +295,6 @@ tresult PLUGIN_API SfizzVstProcessor::process(Vst::ProcessData& data)
|
||||||
if (_playStateChangeCounter > _playStateChangePeriod) {
|
if (_playStateChangeCounter > _playStateChangePeriod) {
|
||||||
_playStateChangeCounter %= _playStateChangePeriod;
|
_playStateChangeCounter %= _playStateChangePeriod;
|
||||||
SfizzPlayState playState {};
|
SfizzPlayState playState {};
|
||||||
playState.curves = synth.getNumCurves();
|
|
||||||
playState.masters = synth.getNumMasters();
|
|
||||||
playState.groups = synth.getNumGroups();
|
|
||||||
playState.regions = synth.getNumRegions();
|
|
||||||
playState.preloadedSamples = synth.getNumPreloadedSamples();
|
|
||||||
playState.activeVoices = synth.getNumActiveVoices();
|
playState.activeVoices = synth.getNumActiveVoices();
|
||||||
if (writeWorkerMessage(kMsgIdNotifyPlayState, &playState, sizeof(playState)))
|
if (writeWorkerMessage(kMsgIdNotifyPlayState, &playState, sizeof(playState)))
|
||||||
_semaToWorker.post();
|
_semaToWorker.post();
|
||||||
|
|
|
||||||
|
|
@ -31,10 +31,5 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
struct SfizzPlayState {
|
struct SfizzPlayState {
|
||||||
uint32 curves;
|
|
||||||
uint32 masters;
|
|
||||||
uint32 groups;
|
|
||||||
uint32 regions;
|
|
||||||
uint32 preloadedSamples;
|
|
||||||
uint32 activeVoices;
|
uint32 activeVoices;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue