Home | History | Annotate | Download | only in examples

Lines Matching full:recorder

152     /* Objects this application uses: one audio recorder */
153 SLObjectItf recorder;
155 /* Interfaces for the audio recorder */
184 /* Configuration of the recorder */
215 /* Create the audio recorder */
216 result = (*EngineItf)->CreateAudioRecorder(EngineItf, &recorder, &recSource, &recDest,
219 fprintf(stdout, "Recorder created\n");
222 result = (*recorder)->GetInterface(recorder, SL_IID_ANDROIDCONFIGURATION, (void*)&configItf);
225 /* Use the configuration interface to configure the recorder before it's realized */
230 fprintf(stdout, "Recorder parameterized with preset %u\n", presetValue);
248 /* Realize the recorder in synchronous mode. */
249 result = (*recorder)->Realize(recorder, SL_BOOLEAN_FALSE);
251 fprintf(stdout, "Recorder realized\n");
254 result = (*recorder)->GetInterface(recorder, SL_IID_RECORD, (void*)&recordItf);
257 /* Set up the recorder callback to get events during the recording */
267 fprintf(stdout, "Recorder callback registered\n");
270 result = (*recorder)->GetInterface(recorder, SL_IID_ANDROIDSIMPLEBUFFERQUEUE,
315 (*recorder)->Destroy(recorder);