What is the proper way to create and distribute a makefile+clang compiled command-line binary tool so that Gatekeeper on a recipient's Mac running Catalina will allow the binary executable to run from the Terminal? Given I have a Developer ID, is there a way to Notarize some sort of container for the binary to allow the extracted command-line… Show more
Hi everyone, I'm seeking to create a precision timer that synchronises with AVPlayer at a rate of 10 milliseconds. Every 10ms I want to trigger an event. My current implementation uses an NSTimer which causes clock drift. From what I've found it seems that the best implementation would be to use the audio rate clock - but I'm struggling… Show more
In what thread are you requesting timer callbacks? What do you mean by "clock drift"? In general, in the main UI runloop thread, timer callback resolution is usually no better than roughly the display frame rate, 60 Hz, or every 16.667 mS. For better 60 Hz timing, try the CADisplayLink API. For higher timer resolution, you might want to use…
With iOS Inter-App audio and AUGraph being deprecated (according to the iOS 13 beta Release Notes), how does one expose the existence of an Audio Unit or custom AVAudioNode audio source to another audio destination app, and how does a destination app (recorder, player, and/or visualizer) get sent audio samples from the audio source app… Show more
Can Xcode create a command-line tool with a hardened runtime and containing an Info.plist? If so, how? Can this be done using clang from a makefile? Is this now required for codesigning and Notarization of command-line executables for distribution to systems running Catalina?