I was looking for /dev/dsp or /dev/audio through terminal but I couldn't find either of the two. Is there any audio device on iOS 4 (specifically iPhone 4) for input or output?
closed as off topic by Nathan Greenstein♦ Oct 8 '11 at 1:48
Questions on Ask Different are expected to relate to Apple hardware or software within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.
The only exposed API to use the audio hardware under iOS is the RemoteIO Audio Unit API. The driver for the audio input/output hardware does not seem to be exposed via a *nix device on Mac OS X, or in its iDevice derivatives.