Home | History | Annotate | Download | only in audio

Lines Matching defs:in

5  * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
272 const struct legacy_stream_in *in =
274 return in->legacy_in->sampleRate();
279 struct legacy_stream_in *in =
289 const struct legacy_stream_in *in =
291 return in->legacy_in->bufferSize();
296 const struct legacy_stream_in *in =
298 return (audio_channel_mask_t) in->legacy_in->channels();
303 const struct legacy_stream_in *in =
306 return (audio_format_t) in->legacy_in->format();
311 struct legacy_stream_in *in =
320 struct legacy_stream_in *in = reinterpret_cast<struct legacy_stream_in *>(stream);
321 return in->legacy_in->standby();
326 const struct legacy_stream_in *in =
329 return in->legacy_in->dump(fd, args);
334 struct legacy_stream_in *in =
347 return in->legacy_in->setParameters(s8);
353 const struct legacy_stream_in *in =
358 s8 = in->legacy_in->getParameters(String8(keys));
373 struct legacy_stream_in *in =
375 return in->legacy_in->setGain(gain);
381 struct legacy_stream_in *in =
383 return in->legacy_in->read(buffer, bytes);
388 struct legacy_stream_in *in =
390 return in->legacy_in->getInputFramesLost();
395 const struct legacy_stream_in *in =
397 return in->legacy_in->addAudioEffect(effect);
402 const struct legacy_stream_in *in =
404 return in->legacy_in->removeAudioEffect(effect);
563 struct legacy_stream_in *in;
566 in = (struct legacy_stream_in *)calloc(1, sizeof(*in));
567 if (!in)
572 in->legacy_in = ladev->hwif->openInputStream(devices, (int *) &config->format,
575 if (!in->legacy_in) {
580 in->stream.common.get_sample_rate = in_get_sample_rate;
581 in->stream.common.set_sample_rate = in_set_sample_rate;
582 in->stream.common.get_buffer_size = in_get_buffer_size;
583 in->stream.common.get_channels = in_get_channels;
584 in->stream.common.get_format = in_get_format;
585 in->stream.common.set_format = in_set_format;
586 in->stream.common.standby = in_standby;
587 in->stream.common.dump = in_dump;
588 in->stream.common.set_parameters = in_set_parameters;
589 in->stream.common.get_parameters = in_get_parameters;
590 in->stream.common.add_audio_effect = in_add_audio_effect;
591 in->stream.common.remove_audio_effect = in_remove_audio_effect;
592 in->stream.set_gain = in_set_gain;
593 in->stream.read = in_read;
594 in->stream.get_input_frames_lost = in_get_input_frames_lost;
596 *stream_in = &in->stream;
600 free(in);
609 struct legacy_stream_in *in =
612 ladev->hwif->closeInputStream(in->legacy_in);
613 free(in);