On Thu, Dec 3, 2009 at 7:32 AM, Diogo Resende <drese...@thinkdigital.pt>wrote:

> I agree 100%. Still, I think the access to the mic and the speech
> recognition could be separated.
>

While it would be possible to separate access to the microphone and speech
recognition, combining them allows the API to abstract away details of the
implementation that would otherwise have to be exposed, in particular the
audio encoding(s) used, and whether the audio is streamed to the recognizer
or sent in a single chunk.  If we don't provide general access to the
microphone, the speech recognition API can be simpler, implementors will
have more flexibility, and implementations can be simpler and smaller
because they won't have to deal with conversions between different audio
encodings.

So I'm in favour of not separating out access to the microphone, at least in
v1 of the API.

-- 
Fergus Henderson <fer...@google.com>

Reply via email to