views:

37

answers:

0

I'm making a couple audio apps, and one snag I've run into several times is code I write for the iPhone doesn't work on the iPod Touch.

When using low-level audio, having no audio input route can crash the app when initializing an audio session.

Is anyone aware of how to simulate no available audio input in the iPhone simulator?

EDIT: the iPod Touch is crashing on:

XThrowIfError(AudioSessionInitialize(NULL, NULL, sessionInterruptionListener, self), "Initialize Session");