[android-developers] Re: Any way to have two MediaRecorders recording at once?

2008-11-12 Thread Dave
I don't see a way to do that with the current API. We will be enhancing the audio API's in a future release of the SDK. On Nov 11, 3:14 pm, Blake B. [EMAIL PROTECTED] wrote: Ok, I thought that may be the case. I need to create a sliding window effect in the recording, so that there is always

[android-developers] Re: Any way to have two MediaRecorders recording at once?

2008-11-12 Thread Blake B.
Thanks Dave. I'll try to get it done with concatenating .amr files. Also, is there any way to detect when the record channel is ready to use again? Right now I have to put a manual 100ms delay before doing back-to-back recordings. Is there an event or state I can check instead? On Nov 12,

[android-developers] Re: Any way to have two MediaRecorders recording at once?

2008-11-12 Thread Dave
No, there's a thread that in the media server that has to exit before the record path can be opened again. The time for this is indeterminate, probably around 40-50 msecs nominally, but could take longer depending on CPU load. On Nov 12, 8:58 am, Blake B. [EMAIL PROTECTED] wrote: Thanks Dave.

[android-developers] Re: Any way to have two MediaRecorders recording at once?

2008-11-11 Thread Dave
No, this use case is not supported. On Nov 11, 5:34 am, Blake B. [EMAIL PROTECTED] wrote: Hi all, For my app I need to have two audio recordings that overlap each other - that is, at some points in time there will be two separate audio files being created from the same audio source. I

[android-developers] Re: Any way to have two MediaRecorders recording at once?

2008-11-11 Thread Blake B.
Ok, I thought that may be the case. I need to create a sliding window effect in the recording, so that there is always 15 seconds of audio history recorded. I wanted to stair-step two 20-second recorders so that every 5 seconds I would delete one audio recording file when its history got too

[android-developers] Re: Any way to have two MediaRecorders recording at once?

2008-11-11 Thread Ulrich Scheller
You could record one audio stream and copy the desired parts into two new streams later on. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to