in Intel p2p2 sample application the default audio source is internal speaker. And when in plugin earphone it works fine.
but want to change to loudspeaker
i want to switch to loudspeaker and can you explain me how to do that.
Please implement the switch function with Android system interface in your application .
For more complete information about compiler optimizations, see our Optimization Notice.