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, 2:15 am, Dave <[EMAIL PROTECTED]> wrote:
> 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 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 long, then
> > restart it. In this way, there would at most be two files of 20
> > seconds of audio on the SDcard and not get too large.
>
> > I can concatenate two .amr recordings, but I have to indroduce a 100ms
> > delay between stopping one recording and starting the next, otherwise
> > I get the same "Record channel already open" error.  This delay of
> > course causes a skip in the audio file where 100ms of audio is
> > omitted.
>
> > Since can't have two recorders recording, is there any way to:
>
> > - direct the audio recording stream to multiple files?
> > - buffer the audio recording so that I can manage the recording size
> > in-memory?
> > - other creative ideas to accomplish the "sliding window" effect?
>
> > Thanks
>
> > On Nov 11, 1:29 pm, Dave <[EMAIL PROTECTED]> wrote:
>
> > > No, this use case is not supported.- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to