JordanC
JordanC

Reputation: 1323

AVAudioSession error

I'm getting the following error and have no idea what's causing it.

Aug 4 15:04:56 MyiPad myApp[1523] : 15:04:56.072 ERROR: [0x78ba000] AVAudioSessionUtilities.h:124: GetProperty_DefaultToZero: AudioSessionGetProperty ('cilt') failed with error: '!siz'

In my app I'm:

Obviously there's a lot going on so I don't expect anyone to serve this to me on a platter, but anything you can tell me about the error would be very helpful

Update 1: "cilt" stands for kAudioSessionProperty_CurrentHardwareInputLatency

Update 2: "!siz" means that the size of the property data was not correct (deprecated in iOS 7)

Upvotes: 3

Views: 1571

Answers (2)

Howard Cohen
Howard Cohen

Reputation: 135

I am new to this. What I've observed (because of an unrelated issue) is that when a second listener appears I got this error message. Maybe you are invoking more than one thread that is listening to the audio stream? Offering this as a (hopefully useful) data point for your consideration.

Upvotes: 0

JordanC
JordanC

Reputation: 1323

I followed every relevant thread I could find on Google and almost all of them lead to something about the AVAudioSessionCategoryOptionMixWithOthers option. I ORed it with the other options I was using on the PlayAndRecord category and it worked...go figure.

If anyone has any insights into this mystery, please answer or comment, but for now, try that option and see what happens. I'll update when I learn more.

Upvotes: 5

Related Questions