Home
last modified time | relevance | path

Searched refs:sample_rates (Results 1 – 9 of 9) sorted by relevance

/device/generic/car/emulator/audio/driver/
Daudio_hw.c499 static const uint32_t sample_rates [] = { in refine_output_parameters() local
502 static const int sample_rates_count = sizeof(sample_rates)/sizeof(uint32_t); in refine_output_parameters()
517 if (*sample_rate < sample_rates[i]) { in refine_output_parameters()
518 *sample_rate = sample_rates[i]; in refine_output_parameters()
522 else if (*sample_rate == sample_rates[i]) { in refine_output_parameters()
527 *sample_rate = sample_rates[i]; in refine_output_parameters()
540 static const uint32_t sample_rates [] = { in refine_input_parameters() local
543 static const int sample_rates_count = sizeof(sample_rates)/sizeof(uint32_t); in refine_input_parameters()
560 if (*sample_rate < sample_rates[i]) { in refine_input_parameters()
561 *sample_rate = sample_rates[i]; in refine_input_parameters()
[all …]
/device/linaro/dragonboard/audio/
Daudio_hw.c699 static const uint32_t sample_rates [] = {8000,11025,16000,22050,24000,32000, in refine_output_parameters() local
701 static const int sample_rates_count = sizeof(sample_rates)/sizeof(uint32_t); in refine_output_parameters()
716 if (*sample_rate < sample_rates[i]) { in refine_output_parameters()
717 *sample_rate = sample_rates[i]; in refine_output_parameters()
721 else if (*sample_rate == sample_rates[i]) { in refine_output_parameters()
726 *sample_rate = sample_rates[i]; in refine_output_parameters()
739 static const uint32_t sample_rates [] = {8000, 11025, 16000, 22050, 44100, 48000}; in refine_input_parameters() local
740 static const int sample_rates_count = sizeof(sample_rates)/sizeof(uint32_t); in refine_input_parameters()
757 if (*sample_rate < sample_rates[i]) { in refine_input_parameters()
758 *sample_rate = sample_rates[i]; in refine_input_parameters()
[all …]
/device/google/cuttlefish/guest/hals/audio/
Daudio_hw.c702 static const uint32_t sample_rates [] = {8000,11025,16000,22050,24000,32000, in refine_output_parameters() local
704 static const int sample_rates_count = sizeof(sample_rates)/sizeof(uint32_t); in refine_output_parameters()
719 if (*sample_rate < sample_rates[i]) { in refine_output_parameters()
720 *sample_rate = sample_rates[i]; in refine_output_parameters()
724 else if (*sample_rate == sample_rates[i]) { in refine_output_parameters()
729 *sample_rate = sample_rates[i]; in refine_output_parameters()
742 static const uint32_t sample_rates [] = {8000, 11025, 16000, 22050, 44100, 48000}; in refine_input_parameters() local
743 static const int sample_rates_count = sizeof(sample_rates)/sizeof(uint32_t); in refine_input_parameters()
760 if (*sample_rate < sample_rates[i]) { in refine_input_parameters()
761 *sample_rate = sample_rates[i]; in refine_input_parameters()
[all …]
/device/google/bonito/sdm710/original-kernel-headers/sound/
Dcompress_params.h448 __u32 sample_rates[MAX_NUM_SAMPLE_RATES]; member
/device/google/bonito/sdm710/kernel-headers/sound/
Dcompress_params.h258 __u32 sample_rates[MAX_NUM_SAMPLE_RATES]; member
/device/google/crosshatch/sdm845/kernel-headers/sound/
Dcompress_params.h258 __u32 sample_rates[MAX_NUM_SAMPLE_RATES]; member
/device/google/crosshatch/sdm845/original-kernel-headers/sound/
Dcompress_params.h448 __u32 sample_rates[MAX_NUM_SAMPLE_RATES]; member
/device/google/coral-kernel/sm8150/original-kernel-headers/sound/
Dcompress_params.h477 __u32 sample_rates[MAX_NUM_SAMPLE_RATES]; member
/device/google/coral-kernel/sm8150/kernel-headers/sound/
Dcompress_params.h274 __u32 sample_rates[MAX_NUM_SAMPLE_RATES]; member