[android-developers] Re: AudioRecord fails on Android 2.1

2010-04-13 Thread Walter
I think emulator is ok for developing. One thing you need to pay attention for using AudioRecord is: you'd better use AudioRecord.getMinBufferSize() * X to set up the buffer size, otherwise it may not always work properly. I'm not sure that can resolve your problem, hope it helps. On Apr 12, 1:47 

[android-developers] Re: AudioRecord fails on Android 2.1

2010-04-12 Thread Gabriel Simões
Well, yes, there´s a clue. At least I´ve had the same error before and it was this: Everytime you get an error instantiating AudioRecord it doesn´t release it´s resources the way it should so you won´t be able to request it again unless you restart your phone (or close and reopen the emulator).

Re: [android-developers] Re: AudioRecord fails on Android 2.1

2010-04-12 Thread Olivier Guilyardi
Hi Gabriel, On 04/12/2010 11:34 PM, Gabriel Simões wrote: Well, yes, there´s a clue. At least I´ve had the same error before and it was this: Everytime you get an error instantiating AudioRecord it doesn´t release it´s resources the way it should so you won´t be able to request it again

[android-developers] Re: AudioRecord fails on Android 2.1

2010-04-12 Thread HeHe
On Apr 12, 2:34 pm, Gabriel Simões gsim...@gmail.com wrote: I´d like to ask you one thing: have you been able to record a sound and listen to it without problems using the emulator (older versions). I can create an instance and indeed record but when I try to play it the sound is completly

[android-developers] Re: AudioRecord fails on Android 2.1

2010-04-12 Thread Gabriel Simões
Well then I think I will need to hold 400 bucks to buy a real device here in Brazil ... and it´s gonna be a crap samsung On 12 abr, 20:22, HeHe cnm...@gmail.com wrote: On Apr 12, 2:34 pm, Gabriel Simões gsim...@gmail.com wrote: I´d like to ask you one thing: have you been able to

[android-developers] Re: AudioRecord fails on Android 2.1

2010-04-12 Thread HeHe
i believe you should buy one for development, especially after you country has discovered a huge oil field :-) On Apr 12, 4:33 pm, Gabriel Simões gsim...@gmail.com wrote: Well then I think I will need to hold 400 bucks to buy a real device here in Brazil ... and it´s gonna be a crap