How do I check if the iPod supports audio recording using Cocoa API?
+1
A:
If you know what devices support audio recording (iPhone always does for example) you can use methods from this question:
http://stackoverflow.com/questions/448162/determine-device-iphone-ipod-touch-with-iphone-sdk
Actual testing for input device connected can be done by Audio Session Services shown in this solution:
http://stackoverflow.com/questions/667196/detecting-iphone-ipod-touch-accessories
Ben
2010-10-08 15:07:46
my ipod touch (2g) supports audio recording if a headset with microphone is plugged in. So I would not go for the method you suggest.
fluchtpunkt
2010-10-08 15:27:50
Well, the thing is iPods can have audio input if you plug in specific headphones...
ruibm
2010-10-08 15:28:59
Ah this seems to have the answer to checking for actual connected input devices:http://stackoverflow.com/questions/667196/detecting-iphone-ipod-touch-accessories
Ben
2010-10-08 15:32:22