Home | History | Annotate | Download | only in voicedialer

Lines Matching defs:mic

110      * @param sampleRate the same rate coming from the mic or micFile
114 InputStream mic = null;
146 if (false) Log.d(TAG, "using mic file");
147 mic = new FileInputStream(micFile);
149 hdr.read(mic);
152 mic = new MicrophoneInputStream(sampleRate, sampleRate * 15);
156 recognizerClient.onMicrophoneStart(mic);
159 if (mLogger != null) mic = mLogger.logInputStream(mic, sampleRate);
176 " avail " + mic.available());
188 mSrec.putAudio(mic);
213 if (mic != null) mic.close();
216 if (false) Log.d(TAG, "start - mic.close failed - " + ex);
218 mic = null;