Searched refs:audio_format (Results 1 – 7 of 7) sorted by relevance
33 let mut audio_format = Self { in new() localVariable41 audio_format.channel_layout[i] = i as i8; in new()46 audio_format in new()
228 struct cras_audio_format *audio_format; in snd_pcm_cras_start() local231 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()
240 uint16 audio_format; in DecodeLin16WaveAsFloatVector() local241 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()
29 static inline int audio_format_to_cras_format(audio_format_t audio_format) in audio_format_to_cras_format() argument31 switch (audio_format) { in audio_format_to_cras_format()
50 uint16_t audio_format; member145 header.audio_format = FORMAT_PCM; in main()
54 uint16_t audio_format; member
283 let audio_format = cras_audio_format_packed::new(format, rate, channel_num); in create_stream() localVariable297 format: audio_format, in create_stream()