Searched refs:aud_format (Results 1 – 3 of 3) sorted by relevance
/external/adhd/cras/src/tools/cras_router/ |
D | cras_router.c | 27 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/ |
D | cras_helpers.c | 111 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/ |
D | cras_test_client.c | 78 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()
|