Home
last modified time | relevance | path

Searched refs:audio_format (Results 1 – 7 of 7) sorted by relevance

/external/adhd/cras/client/cras-sys/src/
Dlib.rs33 let mut audio_format = Self { in new() localVariable
41 audio_format.channel_layout[i] = i as i8; in new()
46 audio_format in new()
/external/adhd/cras/src/alsa_plugin/
Dpcm_cras.c228 struct cras_audio_format *audio_format; in snd_pcm_cras_start() local
231 audio_format = in snd_pcm_cras_start()
233 if (audio_format == NULL) in snd_pcm_cras_start()
238 pcm_cras_process_cb, pcm_cras_error_cb, audio_format); in snd_pcm_cras_start()
251 cras_client_format_bytes_per_frame(audio_format); in snd_pcm_cras_start()
262 cras_audio_format_destroy(audio_format); in snd_pcm_cras_start()
/external/tensorflow/tensorflow/core/lib/wav/
Dwav_io.cc240 uint16 audio_format; in DecodeLin16WaveAsFloatVector() local
241 TF_RETURN_IF_ERROR(ReadValue<uint16>(wav_string, &audio_format, &offset)); in DecodeLin16WaveAsFloatVector()
242 if (audio_format != 1) { in DecodeLin16WaveAsFloatVector()
244 "Bad audio format for WAV: Expected 1 (PCM), but got", audio_format); in DecodeLin16WaveAsFloatVector()
/external/adhd/cras/src/common/
Dcras_audio_format.h29 static inline int audio_format_to_cras_format(audio_format_t audio_format) in audio_format_to_cras_format() argument
31 switch (audio_format) { in audio_format_to_cras_format()
/external/tinyalsa/
Dtinycap.c50 uint16_t audio_format; member
145 header.audio_format = FORMAT_PCM; in main()
Dtinyplay.c54 uint16_t audio_format; member
/external/adhd/cras/client/libcras/src/
Dlibcras.rs283 let audio_format = cras_audio_format_packed::new(format, rate, channel_num); in create_stream() localVariable
297 format: audio_format, in create_stream()