It's a current limitation of the emulator's kernel driver that it only
supports 8kHz mono audio for recording.
Recent changes to the platform image (in Android 1.5) modify the Audio
daemon to want 16kHz by default,
and hence broke audio recording in the emulator.

The fix is not trivial unfortunately, because the driver's architecture does
not allow for the emulator to
detect whether it should emulate an 8kHz or 16kHz recording mike (and we
want to keep a single emulator
binary to support all existing platforms, so breaking 1.0/1.1 for the
benefit of 1.5 is not an option currently).

A correct fix would be to extend the driver to let the emulated hardware
what sampling rate it needs, and
adapt to it (something the emulator can trivially do). This hasn't been
fixed yet due to other priorities.

On Sun, Aug 9, 2009 at 4:25 AM, Natalya Dobry <[email protected]>wrote:

> Hi lbcoder,
> Since i am new in Android can you explain me what is this
> ALSA/OSS/PULSEAUDIO/ETC and  MSWINDEATH .
> About my problem i found  following error in the log
> 08-09 11:05:05.486: ERROR/AudioRecord(864): Recording parameters are not
> supported: sampleRate 16000, channelCount 1, format 1
> 08-09 11:05:05.486: WARN/AudioHardwareInterface(542): getInputBufferSize
> bad sampling rate: 16000
>
> So about configuration you are right the problem that i do not know how to
> configure audio.
> Can you help me with this ?
>
>
> Regards ,
> Shura
>
> On Fri, Aug 7, 2009 at 4:58 PM, lbcoder <[email protected]> wrote:
>
>>
>> I'm afraid I can't help you much with that. It will be something to do
>> with the interaction between the emulator and your computer's audio
>> systems (ALSA/OSS/PULSEAUDIO/ETC.), I wouldn't even hazard a guess
>> about what it could be if you use MSWINDEATH.
>>
>> Google might help you (or not)...
>>
>> http://groups.google.com/group/android-developers/browse_thread/thread/b4be83e1ce5ef8ac
>>
>> Many times, you simply need to configure the inputs and outputs for
>> your sound card correctly.
>>
>>
>>
>> On Aug 6, 7:45 am, Shura_7_2 <[email protected]> wrote:
>> > Hi lbcoder,
>> >  I did as you write and speech recognion is supported but when i try
>> > to use it i receive "audio problem" speak again
>> > Can you help me what it can be ?
>> > ps: i speak in microphone.
>> > Regards.
>> >
>> > On 5 אוגוסט, 21:07, lbcoder <[email protected]> wrote:
>> >
>> > > The emulator allows you to change the system image to one of your
>> > > choice. The file to change is located in sdk/platforms/android-1.5/
>> > > images/system.img. You might start out with the stock Android Dev
>> > > Phone 1 system image v.1.5R3 which can be downloaded from the support
>> > > section of the htc global website.
>> >
>> > > On Aug 5, 11:25 am, Student Android Developer <[email protected]>
>> > > wrote:
>> >
>> > > > Hi,
>> > > >    I am a research student at the University of Texas at Dallas and
>> I
>> > > > am developing a demo product of assistive  communication for older
>> > > > people. I am currently working on the android emulator and
>> desperately
>> > > > need speech/voice  recognition to work on it. I found that the
>> > > > recognition engine is not shipped with android sdk and so it gives
>> > > > error that recognizer not present / activity not found when I run
>> the
>> > > > voice recognition demo app. Is there any way that google/andriod can
>> > > > provide a way for this recognition to work on the emulator ?
>> >
>> > > > Thanks.
>> >
>> >
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to