mardi 26 mai 2015

How to get Audio source for FM audio stream recording?

I am trying to record FM radio audio stream. I am able to record with one audio source which is 9 for Motorola.

But when i tried with different phones it not working. So i wondering how to get this audio source dynamically.

This is how i am recording

 //RX_SRC is the FM receiving Antenna
   mRecorder = new AudioRecord(10, sampleRateInHz,
                            channelConfigIn,
                            AudioFormat.ENCODING_PCM_16BIT,
                            bufferSizeInBytes);                 

Please help me.

Aucun commentaire:

Enregistrer un commentaire