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
274 const struct legacy_stream_in *in =
276 return in->legacy_in->sampleRate();
281 struct legacy_stream_in *in =
291 const struct legacy_stream_in *in =
293 return in->legacy_in->bufferSize();
298 const struct legacy_stream_in *in =
300 return (audio_channel_mask_t) in->legacy_in->channels();
305 const struct legacy_stream_in *in =
308 return (audio_format_t) in->legacy_in->format();
313 struct legacy_stream_in *in =
322 struct legacy_stream_in *in = reinterpret_cast<struct legacy_stream_in *>(stream);
323 return in->legacy_in->standby();
328 const struct legacy_stream_in *in =
331 return in->legacy_in->dump(fd, args);
336 struct legacy_stream_in *in =
349 return in->legacy_in->setParameters(s8);
355 const struct legacy_stream_in *in =
360 s8 = in->legacy_in->getParameters(String8(keys));
375 struct legacy_stream_in *in =
377 return in->legacy_in->setGain(gain);
383 struct legacy_stream_in *in =
385 return in->legacy_in->read(buffer, bytes);
390 struct legacy_stream_in *in =
392 return in->legacy_in->getInputFramesLost();
397 const struct legacy_stream_in *in =
399 return in->legacy_in->addAudioEffect(effect);
404 const struct legacy_stream_in *in =
406 return in->legacy_in->removeAudioEffect(effect);
565 struct legacy_stream_in *in;
568 in = (struct legacy_stream_in *)calloc(1, sizeof(*in));
569 if (!in)
574 in->legacy_in = ladev->hwif->openInputStream(devices, (int *) &config->format,
577 if (!in->legacy_in) {
582 in->stream.common.get_sample_rate = in_get_sample_rate;
583 in->stream.common.set_sample_rate = in_set_sample_rate;
584 in->stream.common.get_buffer_size = in_get_buffer_size;
585 in->stream.common.get_channels = in_get_channels;
586 in->stream.common.get_format = in_get_format;
587 in->stream.common.set_format = in_set_format;
588 in->stream.common.standby = in_standby;
589 in->stream.common.dump = in_dump;
590 in->stream.common.set_parameters = in_set_parameters;
591 in->stream.common.get_parameters = in_get_parameters;
592 in->stream.common.add_audio_effect = in_add_audio_effect;
593 in->stream.common.remove_audio_effect = in_remove_audio_effect;
594 in->stream.set_gain = in_set_gain;
595 in->stream.read = in_read;
596 in->stream.get_input_frames_lost = in_get_input_frames_lost;
598 *stream_in = &in->stream;
602 free(in);
611 struct legacy_stream_in *in =
614 ladev->hwif->closeInputStream(in->legacy_in);
615 free(in);