Home
last modified time | relevance | path

Searched refs:aud_format (Results 1 – 3 of 3) sorted by relevance

/external/adhd/cras/src/tests/
Dcras_router.c27 struct cras_audio_format *aud_format; variable
59 frame_bytes = cras_client_format_bytes_per_frame(aud_format); in got_samples()
77 uint32_t frame_bytes = cras_client_format_bytes_per_frame(aud_format); in put_samples()
138 aud_format = cras_audio_format_create(SND_PCM_FORMAT_S16_LE, rate, in run_file_io_stream()
140 if (aud_format == NULL) in run_file_io_stream()
150 aud_format); in run_file_io_stream()
174 aud_format); in run_file_io_stream()
187 cras_audio_format_destroy(aud_format); in run_file_io_stream()
Dcras_test_client.c70 struct cras_audio_format *aud_format; variable
108 switch (aud_format->format) { in update_rms()
144 frame_bytes = cras_client_format_bytes_per_frame(aud_format); in got_samples()
171 uint32_t frame_bytes = cras_client_format_bytes_per_frame(aud_format); in put_samples()
222 uint32_t frame_bytes = cras_client_format_bytes_per_frame(aud_format); in put_stdin_samples()
805 aud_format = cras_audio_format_create(SND_PCM_FORMAT_S16_LE, rate, in run_file_io_stream()
807 if (aud_format == NULL) in run_file_io_stream()
813 cras_audio_format_set_channel_layout(aud_format, layout); in run_file_io_stream()
823 aud_format); in run_file_io_stream()
981 cras_audio_format_destroy(aud_format); in run_file_io_stream()
/external/adhd/cras/src/libcras/
Dcras_helpers.c120 struct cras_audio_format *aud_format; in cras_helper_add_stream_simple() local
124 aud_format = cras_audio_format_create(format, frame_rate, num_channels); in cras_helper_add_stream_simple()
125 if (!aud_format) in cras_helper_add_stream_simple()
130 unified_cb, err_cb, aud_format); in cras_helper_add_stream_simple()
142 cras_audio_format_destroy(aud_format); in cras_helper_add_stream_simple()