Rob, AUHAL doesn't exist on iOS. There is AURemoteIO which has a separate component subtype. It implements much of the same interface, but does not support proxying HAL properties or selecting a device by ID. On iOS routing is controlled through AVAudioSession, and you just leave AURemoteIO directed at the default route.
HTH, Doug > On Jan 18, 2018, at 3:35 , Robert Bielik <[email protected]> wrote: > > I've successfully used AUHAL to communicate with audio devices on OS X, and I > suspected that much of that implementation would just "work" on iOS. > > But to my dismay there are TONS of errors: > > Unknown type name 'AudioDeviceID' > Use of undeclared identifier 'kAudioDeviceUnknown' > Use of undeclared identifier 'kAudioHardwarePropertyDefaultOutputDevice' > ... > > And I've included: > > #include <CoreAudio/CoreAudioTypes.h> > > Help ? > /Rob _______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com This email sent to [email protected]
