This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSString *appSupportLocation = @"/System/Library/PrivateFrameworks/AppSupport.framework/AppSupport"; | |
NSDictionary *environment = [[NSProcessInfo processInfo] environment]; | |
NSString *simulatorRoot = [environment objectForKey:@"IPHONE_SIMULATOR_ROOT"]; | |
if (simulatorRoot) { | |
appSupportLocation = [simulatorRoot stringByAppendingString:appSupportLocation]; | |
} | |
void *appSupportLibrary = dlopen([appSupportLocation fileSystemRepresentation], RTLD_LAZY); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
audiounitinitialize on open - test on OS X and iOS | |
get_caps - okay | |
cached_caps_valid - take lock in property notification only if on outer element | |
can we just use cached_caps == NULL for marking invalid? | |
with/without channel-mask in caps - keep both, since we want to expose what the | |
device has, and also allow remapping | |
- if !channel_mask, we're adding duplicate | |
structures | |
- out_s1 should be before out_s2 | |
G_STRUCT_OFFSET - maybe just add a single line note like: |