John Doe
John Doe

Reputation: 2491

Use of undeclared type AudioDeviceID in iOS

I have added and imported AudioToolbox framework. But my project is not able to see the file AudioDeviceID, AudioObjectPropertyAddress. It gives the error, Use of undeclared type 'AudioDeviceID'. I tried a sample Core Audio project and it works fine. Am I missing something?

Upvotes: 2

Views: 1056

Answers (1)

John Doe
John Doe

Reputation: 2491

AudioDeviceID is currently available for macOS 10.0+ only. It is not available on iOS.

Upvotes: 6

Related Questions