Home
last modified time | relevance | path

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

/external/adhd/cras/src/tools/cras_router/
Dcras_router.c27 struct cras_audio_format *aud_format; variable
56 frame_bytes = cras_client_format_bytes_per_frame(aud_format); in got_samples()
71 uint32_t frame_bytes = cras_client_format_bytes_per_frame(aud_format); in put_samples()
123 aud_format = cras_audio_format_create(SND_PCM_FORMAT_S16_LE, rate, in run_file_io_stream()
125 if (aud_format == NULL) in run_file_io_stream()
130 stream_error, aud_format); in run_file_io_stream()
150 stream_error, aud_format); in run_file_io_stream()
162 cras_audio_format_destroy(aud_format); in run_file_io_stream()
/external/adhd/cras/src/libcras/
Dcras_helpers.c111 struct cras_audio_format *aud_format; in cras_helper_add_stream_simple() local
115 aud_format = cras_audio_format_create(format, frame_rate, num_channels); in cras_helper_add_stream_simple()
116 if (!aud_format) in cras_helper_add_stream_simple()
122 err_cb, aud_format); in cras_helper_add_stream_simple()
134 cras_audio_format_destroy(aud_format); in cras_helper_add_stream_simple()
/external/adhd/cras/src/tools/cras_test_client/
Dcras_test_client.c78 struct cras_audio_format *aud_format; variable
135 switch (aud_format->format) { in update_rms()
239 frame_bytes = cras_client_format_bytes_per_frame(aud_format); in got_samples()
263 uint32_t frame_bytes = cras_client_format_bytes_per_frame(aud_format); in put_samples()
311 uint32_t frame_bytes = cras_client_format_bytes_per_frame(aud_format); in put_stdin_samples()
1341 aud_format = cras_audio_format_create(format, rate, num_channels); in run_file_io_stream()
1342 if (aud_format == NULL) in run_file_io_stream()
1348 cras_audio_format_set_channel_layout(aud_format, layout); in run_file_io_stream()
1354 aud_format); in run_file_io_stream()
1500 cras_audio_format_destroy(aud_format); in run_file_io_stream()