Home
last modified time | relevance | path

Searched refs:sample_rate (Results 1 – 25 of 86) 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::__anonb5de83a60111::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()
457 buffer_ptr, stream_desc.bits_per_sample, stream_desc.sample_rate, 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
/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/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/redbull-kernel/sm7250/kernel-headers/linux/
Dmsm_audio_calibration.h165 int32_t sample_rate; member
171 int32_t sample_rate; member
182 int32_t sample_rate; member
188 int32_t sample_rate; member
202 uint32_t sample_rate; member
Dmsm_audio_aac.h49 unsigned short sample_rate; member
53 uint32_t sample_rate; member
Dmsm_audio.h117 uint32_t sample_rate; member
233 uint32_t sample_rate; member
312 __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/amlogic/yukawa/hal/audio/
Daudio_hw.c136 static int get_pcm_timestamp(struct pcm* pcm, uint32_t sample_rate, struct aec_info* info, in get_pcm_timestamp() argument
151 timestamp_adjust(&info->timestamp, frames, sample_rate); in get_pcm_timestamp()
867 if (out->config.rate != config->sample_rate || in adev_open_output_stream()
870 config->sample_rate = out->config.rate; in adev_open_output_stream()
886 config->sample_rate = out_get_sample_rate(&out->stream.common); in adev_open_output_stream()
1068 if (in->config.rate != config->sample_rate || in adev_open_input_stream()
1073 config->sample_rate = in->config.rate; in adev_open_input_stream()
/device/linaro/dragonboard/audio/
Daudio_hw.c109 static int get_pcm_timestamp(struct pcm* pcm, uint32_t sample_rate, struct aec_info* info, in get_pcm_timestamp() argument
124 timestamp_adjust(&info->timestamp, frames, sample_rate); in get_pcm_timestamp()
853 if (out->config.rate != config->sample_rate || in adev_open_output_stream()
856 config->sample_rate = out->config.rate; in adev_open_output_stream()
872 config->sample_rate = out_get_sample_rate(&out->stream.common); in adev_open_output_stream()
1052 if (in->config.rate != config->sample_rate || in adev_open_input_stream()
1057 config->sample_rate = in_get_sample_rate(&in->stream.common); in adev_open_input_stream()
/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
/device/google/redbull-kernel/sm7250/kernel-headers/sound/
Dcompress_params.h217 __u32 sample_rate; member
229 __u32 sample_rate; member
280 __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/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/coral-kernel/sm8150/original-kernel-headers/sound/
Dcompress_params.h404 __u32 sample_rate; member
417 __u32 sample_rate; member
532 __u32 sample_rate; member

1234