iOS 0.3.0: card editors like Android's for every plugin (knobs, switches, tabs, drawings)
Layouts exported from Android's DeviceLayouts (DeviceLayouts.json), iOS layouts for the devices with hand-built Android editors, SwiftUI editor shared by the extension and the app, Mac snapshot tool for the editors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
47588990ce
commit
b6589ee792
@@ -144,6 +144,22 @@ static NSString *const kStateKey = @"sizzleValues";
|
||||
return [NSString stringWithFormat:@"%.2f", value];
|
||||
}
|
||||
|
||||
- (AUValue)defaultValueForParameter:(AUParameter *)param {
|
||||
if (param.address >= (AUParameterAddress)_k->spec->paramCount) return 0;
|
||||
return _k->spec->params[param.address].def;
|
||||
}
|
||||
|
||||
- (BOOL)isIntegerParameter:(AUParameter *)param {
|
||||
if (param.address >= (AUParameterAddress)_k->spec->paramCount) return NO;
|
||||
const ParamSpec &s = _k->spec->params[param.address];
|
||||
return s.isInt || s.isEnum();
|
||||
}
|
||||
|
||||
- (NSString *)specLabelForParameter:(AUParameter *)param {
|
||||
if (param.address >= (AUParameterAddress)_k->spec->paramCount) return @"";
|
||||
return @(_k->spec->params[param.address].label);
|
||||
}
|
||||
|
||||
#pragma mark - presets and state
|
||||
|
||||
- (void)buildFactoryPresets {
|
||||
|
||||
Reference in New Issue
Block a user