waleedAhmad1 / google-glass-api

Automatically exported from code.google.com/p/google-glass-api
0 stars 0 forks source link

Audio recording not working with contextual voice command #629

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Set up contextual voice command in an activity
2.Set up a menu item with the action to record audio (by either using 
AudioRecorder or Intent)
3.Record the audio

What is the expected output? What do you see instead?
It should record the audio. The file is created but the size is 0. 

What version of the product are you using? On what operating system?
Google Glass, XE22

Please provide any additional information below.
I guess this is because the voice command takes up the audio input. The same 
piece of code works fine when the contextual voice command is disabled. I'm 
wondering if there is any way to disable the contextual voice command at 
runtime.

Original issue reported on code.google.com by yihua...@gmail.com on 4 Nov 2014 at 6:19