Home
last modified time | relevance | path

Searched refs:sample_rate (Results 1 – 25 of 80) sorted by relevance

1234

/device/google/cuttlefish/host/frontend/webrtc/
Daudio_handler.cpp132 int sample_rate, int channels, int frames) in CvdAudioFrameBuffer() argument
135 sample_rate_(sample_rate), in CvdAudioFrameBuffer()
141 int sample_rate() const override { return sample_rate_; } in sample_rate() function in cuttlefish::__anon4221c18b0111::CvdAudioFrameBuffer
334 auto sample_rate = SampleRate(cmd.rate()); in SetStreamParameters() local
336 if (bits_per_sample < 0 || sample_rate < 0 || in SetStreamParameters()
345 stream_descs_[cmd.stream_id()].sample_rate = sample_rate; in SetStreamParameters()
347 auto len10ms = (channels * (sample_rate / 100) * bits_per_sample) / 8; in SetStreamParameters()
436 const int frames = stream_desc.sample_rate / 100; in OnPlaybackBuffer()
448 stream_desc.bits_per_sample, stream_desc.sample_rate, in OnPlaybackBuffer()
458 stream_desc.sample_rate, stream_desc.channels, frames); in OnPlaybackBuffer()
[all …]
/device/generic/car/emulator/audio/driver/
Daudio_hw.c257 return out->req_config.sample_rate; in out_get_sample_rate()
696 return in->req_config.sample_rate; in in_get_sample_rate()
703 static int refine_output_parameters(uint32_t *sample_rate, audio_format_t *format, in refine_output_parameters() argument
723 if (*sample_rate < sample_rates[i]) { in refine_output_parameters()
724 *sample_rate = sample_rates[i]; in refine_output_parameters()
728 else if (*sample_rate == sample_rates[i]) { in refine_output_parameters()
733 *sample_rate = sample_rates[i]; in refine_output_parameters()
744 static int refine_input_parameters(uint32_t *sample_rate, audio_format_t *format, in refine_input_parameters() argument
766 if (*sample_rate < sample_rates[i]) { in refine_input_parameters()
767 *sample_rate = sample_rates[i]; in refine_input_parameters()
[all …]
/device/google/coral-kernel/sm8150/kernel-headers/linux/
Dmsm_audio_calibration.h172 int32_t sample_rate; member
178 int32_t sample_rate; member
189 int32_t sample_rate; member
195 int32_t sample_rate; member
209 uint32_t sample_rate; member
Dmsm_audio_aac.h61 unsigned short sample_rate; member
65 uint32_t sample_rate; member
/device/google/sunfish-kernel/sm7150/kernel-headers/linux/
Dmsm_audio_calibration.h172 int32_t sample_rate; member
178 int32_t sample_rate; member
189 int32_t sample_rate; member
195 int32_t sample_rate; member
209 uint32_t sample_rate; member
Dmsm_audio_aac.h61 unsigned short sample_rate; member
65 uint32_t sample_rate; member
Dmsm_audio.h129 uint32_t sample_rate; member
245 uint32_t sample_rate; member
324 __u32 sample_rate; member
/device/google/coral-kernel/sm8150/original-kernel-headers/linux/
Dmsm_audio_calibration.h224 int32_t sample_rate; member
232 int32_t sample_rate; member
247 int32_t sample_rate; member
255 int32_t sample_rate; member
274 uint32_t sample_rate; member
Dmsm_audio_aac.h66 unsigned short sample_rate; member
71 uint32_t sample_rate; member
Dmsm_audio.h175 uint32_t sample_rate; member
347 uint32_t sample_rate; member
441 __u32 sample_rate; member
/device/google/sunfish-kernel/sm7150/original-kernel-headers/linux/
Dmsm_audio_calibration.h224 int32_t sample_rate; member
232 int32_t sample_rate; member
247 int32_t sample_rate; member
255 int32_t sample_rate; member
274 uint32_t sample_rate; member
Dmsm_audio_aac.h66 unsigned short sample_rate; member
71 uint32_t sample_rate; member
Dmsm_audio.h175 uint32_t sample_rate; member
347 uint32_t sample_rate; member
441 __u32 sample_rate; member
/device/google/redbull-kernel/sm7250/original-kernel-headers/linux/
Dmsm_audio_calibration.h229 int32_t sample_rate; member
237 int32_t sample_rate; member
252 int32_t sample_rate; member
260 int32_t sample_rate; member
279 uint32_t sample_rate; member
Dmsm_audio_aac.h66 unsigned short sample_rate; member
71 uint32_t sample_rate; member
Dmsm_audio.h166 uint32_t sample_rate; member
338 uint32_t sample_rate; member
432 __u32 sample_rate; member
/device/google/redbull-kernel/sm7250/kernel-headers/linux/
Dmsm_audio_calibration.h177 int32_t sample_rate; member
183 int32_t sample_rate; member
194 int32_t sample_rate; member
200 int32_t sample_rate; member
214 uint32_t sample_rate; member
Dmsm_audio_aac.h61 unsigned short sample_rate; member
65 uint32_t sample_rate; member
Dmsm_audio.h129 uint32_t sample_rate; member
245 uint32_t sample_rate; member
324 __u32 sample_rate; member
/device/google/redbull-kernel/sm7250/kernel-headers/sound/
Dcompress_params.h229 __u32 sample_rate; member
241 __u32 sample_rate; member
292 __u32 sample_rate; member
/device/google/sunfish-kernel/sm7150/original-kernel-headers/sound/
Dcompress_params.h404 __u32 sample_rate; member
417 __u32 sample_rate; member
532 __u32 sample_rate; member
/device/google/sunfish-kernel/sm7150/kernel-headers/sound/
Dcompress_params.h233 __u32 sample_rate; member
245 __u32 sample_rate; member
297 __u32 sample_rate; member
/device/google/redbull-kernel/sm7250/original-kernel-headers/sound/
Dcompress_params.h399 __u32 sample_rate; member
412 __u32 sample_rate; member
525 __u32 sample_rate; member
/device/google/coral-kernel/sm8150/original-kernel-headers/sound/
Dcompress_params.h404 __u32 sample_rate; member
417 __u32 sample_rate; member
532 __u32 sample_rate; member
/device/google/coral-kernel/sm8150/kernel-headers/sound/
Dcompress_params.h233 __u32 sample_rate; member
245 __u32 sample_rate; member
297 __u32 sample_rate; member

1234