Re: Thunderbolt port audio programmability

2020-03-13 Thread Jens Alfke via Cocoa-dev
> On Mar 12, 2020, at 5:31 PM, Carl Hoefs > wrote: > > In iOS, what is the current way to generate precise audio tones? > AVFoundation? CoreAudio? AudioUnits? AudioUnits. It's been a long time since I worked with that API, but I'm pretty sure I recall some sample code showing a generator AU

Re: Thunderbolt port audio programmability

2020-03-13 Thread Gerald Henriksen via Cocoa-dev
On Thu, 12 Mar 2020 10:27:25 -0700, you wrote: >I'm looking at creating an iPhone/iPad app that acts as a dual-channel >waveform generator. > >I see two options for the output signal medium: > (a) using the audio jack (on suitable devices), or > (b) using the Thunderbolt port As already noted

How to ask user to grant access ?

2020-03-13 Thread Gabriel Zachmann via Cocoa-dev
PS: So far, I am not even getting permissions within the same app invocation. What I have tried is, when I hit an alias that is also a directory, I open an NSOpenPanel with setDirectoryURL: resolved URL of the alias. The user hits OK, then I try to set up an enumerator with that URL. However,

How to ask user to grant access ?

2020-03-13 Thread Gabriel Zachmann via Cocoa-dev
I am doing a directory enumeration , collecting a list of files for accessing them later. When I encounter aliases / symlinks, I would like to follow them. As far as I understand, in a sandboxed app, I need to ask the user to grant my app access to the directories the aliases point to. I guess I