676 |
deviceParam != device.params().end(); |
deviceParam != device.params().end(); |
677 |
++deviceParam) { |
++deviceParam) { |
678 |
const qsamplerDeviceParam& param = deviceParam.data(); |
const qsamplerDeviceParam& param = deviceParam.data(); |
679 |
if (!param.fix && !param.value.isEmpty()) |
if (!param.value.isEmpty()) |
680 |
ts << " " << deviceParam.key() << "='" << param.value << "'"; |
ts << " " << deviceParam.key() << "='" << param.value << "'"; |
681 |
} |
} |
682 |
ts << endl; |
ts << endl; |
717 |
deviceParam != device.params().end(); |
deviceParam != device.params().end(); |
718 |
++deviceParam) { |
++deviceParam) { |
719 |
const qsamplerDeviceParam& param = deviceParam.data(); |
const qsamplerDeviceParam& param = deviceParam.data(); |
720 |
if (!param.fix && !param.value.isEmpty()) |
if (!param.value.isEmpty()) |
721 |
ts << " " << deviceParam.key() << "='" << param.value << "'"; |
ts << " " << deviceParam.key() << "='" << param.value << "'"; |
722 |
} |
} |
723 |
ts << endl; |
ts << endl; |
732 |
++portParam) { |
++portParam) { |
733 |
const qsamplerDeviceParam& param = portParam.data(); |
const qsamplerDeviceParam& param = portParam.data(); |
734 |
if (!param.fix && !param.value.isEmpty()) { |
if (!param.fix && !param.value.isEmpty()) { |
735 |
ts << "SET MIDI_INPUT_CHANNEL_PARAMETER " << iDevice |
ts << "SET MIDI_INPUT_PORT_PARAMETER " << iDevice |
736 |
<< " " << iPort << " " << portParam.key() |
<< " " << iPort << " " << portParam.key() |
737 |
<< "='" << param.value << "'" << endl; |
<< "='" << param.value << "'" << endl; |
738 |
} |
} |