Home
last modified time | relevance | path

Searched refs:src_rate (Results 1 – 11 of 11) sorted by relevance

/external/webrtc/webrtc/common_audio/
Daudio_converter_unittest.cc147 for (size_t src_rate = 0; src_rate < arraysize(kSampleRates); ++src_rate) { in TEST() local
153 RunAudioConverterTest(kChannels[src_channel], kSampleRates[src_rate], in TEST()
/external/webrtc/webrtc/voice_engine/
Dutility_unittest.cc212 for (int src_rate = 0; src_rate < kSampleRatesSize; src_rate++) { in TEST_F() local
216 RunResampleTest(kChannels[src_channel], kSampleRates[src_rate], in TEST_F()
/external/u-boot/drivers/i2c/
Dat91_i2c.c158 unsigned long src_rate; in at91_calc_i2c_clock() local
160 src_rate = bus->bus_clk_rate; in at91_calc_i2c_clock()
162 div = max(0, (int)DIV_ROUND_UP(src_rate, 2 * i2c_clk) - offset); in at91_calc_i2c_clock()
171 bus->speed = DIV_ROUND_UP(src_rate, in at91_calc_i2c_clock()
/external/adhd/cras/src/server/
Dlinear_resampler.c32 float src_rate, in linear_resampler_create() argument
43 linear_resampler_set_rates(lr, src_rate, dst_rate); in linear_resampler_create()
Dlinear_resampler.h21 float src_rate,
/external/u-boot/drivers/sound/
Dwm8994.c44 static unsigned int src_rate[] = { variable
338 for (i = 0; i < ARRAY_SIZE(src_rate); i++) in wm8994_hw_params()
339 if (src_rate[i] == sampling_rate) in wm8994_hw_params()
342 if (i == ARRAY_SIZE(src_rate)) { in wm8994_hw_params()
/external/u-boot/drivers/clk/rockchip/
Dclk_rk3036.c213 uint src_rate; in rockchip_mmc_get_clk() local
234 src_rate = mux == EMMC_SEL_24M ? OSC_HZ : clk_general_rate; in rockchip_mmc_get_clk()
235 return DIV_TO_RATE(src_rate, div) / 2; in rockchip_mmc_get_clk()
Dclk_rk322x.c213 uint src_rate; in rockchip_mmc_get_clk() local
235 src_rate = mux == EMMC_SEL_24M ? OSC_HZ : clk_general_rate; in rockchip_mmc_get_clk()
236 return DIV_TO_RATE(src_rate, div) / 2; in rockchip_mmc_get_clk()
Dclk_rk3128.c281 uint src_rate; in rockchip_mmc_get_clk() local
303 src_rate = mux == EMMC_SEL_24M ? OSC_HZ : clk_general_rate; in rockchip_mmc_get_clk()
304 return DIV_TO_RATE(src_rate, div); in rockchip_mmc_get_clk()
Dclk_rk3288.c528 uint src_rate; in rockchip_mmc_get_clk() local
555 src_rate = mux == EMMC_PLL_SELECT_24MHZ ? OSC_HZ : gclk_rate; in rockchip_mmc_get_clk()
556 return DIV_TO_RATE(src_rate, div); in rockchip_mmc_get_clk()
/external/adhd/cras/src/tests/
Dfmt_conv_unittest.cc1540 float src_rate, in linear_resampler_create() argument