This isn't really a support forum; it's more of a "talk about marketing apps and complain about the Google Market" forum.
That said, I would simply write the sound data into a buffer at appropriate offsets, and then write it as a WAV format. Google for how the WAV format is structured. It's pretty simple. No idea if there's a solution where Android will magically do it for you. Tim On 9/20/2011 9:49 AM, Raj wrote: > Hello all, > I googled a lot for this and went through all possible forums but I > couldn't find any solution so I thought of giving it a last try here. > Coming back to the point- > > In my app, I am playing some sounds on click of buttons. What I want > to do is whenever the users clicks on those buttons in any tempo it > should play (like a piano) and also that sound stream must get stored > somewhere so as to record the sounds that were played. The only > solution I found till now is using > > MediaRecorder.AudioSource.MIC > > But, this records the stream with the surroundings sounds also > (because it is recording the sound that comes from speakerphone. Won't > work in case of headphones.) > So, please give me a solution for this. Thank you in advance. > > __ > > Regards, > Rajkiran Bande. > -- > You received this message because you are subscribed to the Google > Groups "Android Discuss" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/android-discuss/-/WasRszBPA2UJ. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/android-discuss?hl=en. -- You received this message because you are subscribed to the Google Groups "Android Discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/android-discuss?hl=en.
