So here is the deal, i have an app that you can use to make music. You press buttons and it plays sounds. Currently i am using default android api for sound recording, which takes the sound from the speaker, records it via the microphone, and then saves it to whatever format I want in the memory. This process produces *.mp3 with very poor quality.
I want to catch the sound before it reaches the speaker and record it then. Something like the radio recording apps. Any ideas and/or links would be greatly appreciated, thank you!