正在尝试在macOS上编写AUv3。我从auval得到以下错误
VERIFYING CLASS INFO
ERROR: Class Data does not have required field:<type> == componentType似乎有一些元数据配置错误。
这是什么意思?
发布于 2019-07-08 07:36:44
Class Data实际上指的是kAudioUnitProperty_ClassInfo。因此,该错误与桥接到AUv2 kAudioUnitProperty_ClassInfo的AUv3 fullState有关。天哪。
潜在的问题是我的fullState方法没有调用超类fullState。
发布于 2020-03-08 05:51:33
此解决方法适用于我:
- (NSDictionary<NSString *, id> *)getFullState {
NSDictionary* pluginState = [data.controller getState];
NSDictionary* superState = [super fullState];
NSMutableDictionary* stateRes = [NSMutableDictionary dictionaryWithDictionary:pluginState];
[stateRes addEntriesFromDictionary:superState];
return stateRes;
}https://stackoverflow.com/questions/56926767
复制相似问题