void setStateInformation (const void* data, int sizeInBytes) override { MemoryInputStream stream (data, static_cast<size_t> (sizeInBytes), false); threshold->setValueNotifyingHost (stream.readFloat()); alpha->setValueNotifyingHost (stream.readFloat()); }
void setStateInformation (const void* data, int sizeInBytes) override { MemoryInputStream stream (data, sizeInBytes, false); radius->setValueNotifyingHost (stream.readFloat()); phi->setValueNotifyingHost (stream.readFloat()); }
void setStateInformation (const void* data, int sizeInBytes) override { MemoryInputStream stream (data, static_cast<size_t> (sizeInBytes), false); isRecordingParam->setValueNotifyingHost (stream.readFloat()); roomSizeParam->setValueNotifyingHost (stream.readFloat()); }
void MiditoOscAudioProcessor::setStateInformation (const void* data, int sizeInBytes) { // You should use this method to restore your parameters from this memory block, // whose contents will have been created by the getStateInformation() call. MemoryInputStream stream (data, static_cast<size_t> (sizeInBytes), false); polyphony->setValueNotifyingHost (stream.readInt()); glide->setValueNotifyingHost (stream.readFloat()); mono->setValueNotifyingHost (stream.readBool()); shift->setValueNotifyingHost (stream.readBool()); scale->setValueNotifyingHost (stream.readInt()); }