Domanda

I have question about core audio system. Is there any way how to find out what type of headphones are plugged? Or get some information about that. How does iPod app detect it? Core audio is C type things, so is it any way how to do it in C? Any ideas? Thank you for replies.

È stato utile?

Soluzione

You can use this open source class to determine if headphones are plugged and handle headphones plug or unplugging and audio route changes.

You cannot get programmatically the type of headphones plugged. iPod app detects if you hear from the speaker or from headphones, not the type of the headphones.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top