Lines Matching refs:out
58 const struct legacy_stream_out *out = in out_get_sample_rate() local
60 return out->legacy_out->sampleRate(); in out_get_sample_rate()
65 struct legacy_stream_out *out = in out_set_sample_rate() local
75 const struct legacy_stream_out *out = in out_get_buffer_size() local
77 return out->legacy_out->bufferSize(); in out_get_buffer_size()
82 const struct legacy_stream_out *out = in out_get_channels() local
84 return out->legacy_out->channels(); in out_get_channels()
89 const struct legacy_stream_out *out = in out_get_format() local
91 return out->legacy_out->format(); in out_get_format()
96 struct legacy_stream_out *out = in out_set_format() local
105 struct legacy_stream_out *out = in out_standby() local
107 return out->legacy_out->standby(); in out_standby()
112 const struct legacy_stream_out *out = in out_dump() local
115 return out->legacy_out->dump(fd, args); in out_dump()
120 struct legacy_stream_out *out = in out_set_parameters() local
122 return out->legacy_out->setParameters(String8(kvpairs)); in out_set_parameters()
127 const struct legacy_stream_out *out = in out_get_parameters() local
130 s8 = out->legacy_out->getParameters(String8(keys)); in out_get_parameters()
136 const struct legacy_stream_out *out = in out_get_latency() local
138 return out->legacy_out->latency(); in out_get_latency()
144 struct legacy_stream_out *out = in out_set_volume() local
146 return out->legacy_out->setVolume(left, right); in out_set_volume()
152 struct legacy_stream_out *out = in out_write() local
154 return out->legacy_out->write(buffer, bytes); in out_write()
160 const struct legacy_stream_out *out = in out_get_render_position() local
162 return out->legacy_out->getRenderPosition(dsp_frames); in out_get_render_position()
400 struct legacy_stream_out *out; in adev_open_output_stream() local
403 out = (struct legacy_stream_out *)calloc(1, sizeof(*out)); in adev_open_output_stream()
404 if (!out) in adev_open_output_stream()
407 out->legacy_out = ladev->hwif->openOutputStream(devices, format, channels, in adev_open_output_stream()
409 if (!out->legacy_out) { in adev_open_output_stream()
414 out->stream.common.get_sample_rate = out_get_sample_rate; in adev_open_output_stream()
415 out->stream.common.set_sample_rate = out_set_sample_rate; in adev_open_output_stream()
416 out->stream.common.get_buffer_size = out_get_buffer_size; in adev_open_output_stream()
417 out->stream.common.get_channels = out_get_channels; in adev_open_output_stream()
418 out->stream.common.get_format = out_get_format; in adev_open_output_stream()
419 out->stream.common.set_format = out_set_format; in adev_open_output_stream()
420 out->stream.common.standby = out_standby; in adev_open_output_stream()
421 out->stream.common.dump = out_dump; in adev_open_output_stream()
422 out->stream.common.set_parameters = out_set_parameters; in adev_open_output_stream()
423 out->stream.common.get_parameters = out_get_parameters; in adev_open_output_stream()
424 out->stream.common.add_audio_effect = out_add_audio_effect; in adev_open_output_stream()
425 out->stream.common.remove_audio_effect = out_remove_audio_effect; in adev_open_output_stream()
426 out->stream.get_latency = out_get_latency; in adev_open_output_stream()
427 out->stream.set_volume = out_set_volume; in adev_open_output_stream()
428 out->stream.write = out_write; in adev_open_output_stream()
429 out->stream.get_render_position = out_get_render_position; in adev_open_output_stream()
431 *stream_out = &out->stream; in adev_open_output_stream()
435 free(out); in adev_open_output_stream()
444 struct legacy_stream_out *out = reinterpret_cast<struct legacy_stream_out *>(stream); in adev_close_output_stream() local
446 ladev->hwif->closeOutputStream(out->legacy_out); in adev_close_output_stream()
447 free(out); in adev_close_output_stream()