Home
last modified time | relevance | path

Searched refs:samplerate (Results 1 – 25 of 41) sorted by relevance

12

/OK3568_Linux_fs/kernel/sound/soc/intel/boards/
H A Dsof_wm8804.c57 int samplerate; in sof_wm8804_hw_params() local
64 samplerate = params_rate(params); in sof_wm8804_hw_params()
65 if (samplerate == ctx->sample_rate) in sof_wm8804_hw_params()
70 if (samplerate <= 96000) { in sof_wm8804_hw_params()
71 mclk_freq = samplerate * 256; in sof_wm8804_hw_params()
74 mclk_freq = samplerate * 128; in sof_wm8804_hw_params()
78 switch (samplerate) { in sof_wm8804_hw_params()
102 "unsupported samplerate %d\n", samplerate); in sof_wm8804_hw_params()
106 if (samplerate % 16000) in sof_wm8804_hw_params()
145 ctx->sample_rate = samplerate; in sof_wm8804_hw_params()
/OK3568_Linux_fs/yocto/poky/meta/recipes-multimedia/alsa/
H A Dalsa-plugins_1.2.6.bb14 # The samplerate plugin source code is licensed under GPL-2.0-or-later to be
16 # commercial license for libsamplerate, the samplerate plugin may be used under
33 samplerate \
43 PACKAGECONFIG[samplerate] = "--enable-samplerate,--disable-samplerate,libsamplerate0"
127 FILES:${MLPREFIX}libasound-module-rate-samplerate += "\
128 ${datadir}/alsa/alsa.conf.d/10-samplerate.conf \
129 ${sysconfdir}/alsa/conf.d/10-samplerate.conf \
136 # The rate plugins create some symlinks. For example, the samplerate plugin
153 FILES:${MLPREFIX}libasound-module-rate-samplerate += "${libdir}/alsa-lib/*rate_samplerate_*.so"
156 INSANE_SKIP:${MLPREFIX}libasound-module-rate-samplerate = "dev-so"
/OK3568_Linux_fs/buildroot/package/alsa-plugins/
H A Dalsa-plugins.mk49 ALSA_PLUGINS_CONF_OPTS += --enable-samplerate
51 ALSA_PLUGINS_LICENSE += , GPL-2.0+ (samplerate plugin)
54 ALSA_PLUGINS_CONF_OPTS += --disable-samplerate
/OK3568_Linux_fs/external/common_algorithm/misc/include/
H A Daudio_server.h27 typedef int (*decode_post_t)(void *userdata, int samplerate, int bits, int channels);
32 typedef int (*encode_post_t)(void *userdata, int samplerate, int bits, int channels);
240 uint32_t samplerate; member
254 int samplerate; member
365 int samplerate; member
407 int samplerate; member
482 int samplerate; member
668 int wav_header_init(struct wav_header *head, int samplerate, int bits, int channels);
H A Dmp3_enc_types.h62 int samplerate; member
174 mp3_enc *Mp3EncodeVariableInit(int samplerate, int channel, int Bitrate);
/OK3568_Linux_fs/kernel/drivers/media/i2c/nvp6158_drv/
H A Dnvp6158_audio.h33 unsigned char ch_num, unsigned char samplerate, unsigned char bits);
35 unsigned char ch_num, unsigned char samplerate, unsigned char bits);
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Dsigmadsp.c601 unsigned int samplerate) in sigmadsp_get_samplerate_mask() argument
605 if (samplerate == 0) in sigmadsp_get_samplerate_mask()
609 samplerate_index = sigmadsp_rate_to_index(sigmadsp, samplerate); in sigmadsp_get_samplerate_mask()
736 int sigmadsp_setup(struct sigmadsp *sigmadsp, unsigned int samplerate) in sigmadsp_setup() argument
743 if (sigmadsp->current_samplerate == samplerate) in sigmadsp_setup()
746 samplerate_mask = sigmadsp_get_samplerate_mask(sigmadsp, samplerate); in sigmadsp_setup()
763 sigmadsp->current_samplerate = samplerate; in sigmadsp_setup()
H A Drk_dsm.c167 static void rk_dsm_get_clk(unsigned int samplerate, in rk_dsm_get_clk() argument
171 switch (samplerate) { in rk_dsm_get_clk()
220 unsigned int samplerate) in rk_dsm_set_clk() argument
225 rk_dsm_get_clk(samplerate, &mclk, &sclk); in rk_dsm_set_clk()
229 bclk = 64 * samplerate; in rk_dsm_set_clk()
H A Drk_codec_digital.c307 static void rk_codec_digital_get_clk(unsigned int samplerate, in rk_codec_digital_get_clk() argument
311 switch (samplerate) { in rk_codec_digital_get_clk()
423 unsigned int samplerate) in rk_codec_digital_set_clk() argument
428 rk_codec_digital_get_clk(samplerate, &mclk, &sclk); in rk_codec_digital_set_clk()
432 bclk = 64 * samplerate; in rk_codec_digital_set_clk()
H A Dtas2562.c99 static int tas2562_set_samplerate(struct tas2562_data *tas2562, int samplerate) in tas2562_set_samplerate() argument
104 switch (samplerate) { in tas2562_set_samplerate()
163 __func__, samplerate); in tas2562_set_samplerate()
/OK3568_Linux_fs/buildroot/package/aubio/
H A Daubio.mk32 AUBIO_CONF_OPTS += --enable-samplerate
34 AUBIO_CONF_OPTS += --disable-samplerate
/OK3568_Linux_fs/u-boot/drivers/sound/
H A Drockchip-sound.c31 static int sound_hw_params(struct udevice *dev, unsigned int samplerate, in sound_hw_params() argument
39 return ops->hw_params(dev, samplerate, fmt, channels); in sound_hw_params()
/OK3568_Linux_fs/kernel/drivers/staging/vc04_services/bcm2835-audio/
H A Dbcm2835-vchiq.c263 unsigned int channels, unsigned int samplerate, in bcm2835_audio_set_params() argument
269 .config.samplerate = samplerate, in bcm2835_audio_set_params()
H A Dvc_vchi_audioserv_defs.h36 u32 samplerate; member
H A Dbcm2835.h100 unsigned int channels, unsigned int samplerate,
/OK3568_Linux_fs/kernel/sound/soc/rockchip/
H A Drockchip_pdm.c176 static unsigned int samplerate_to_bit(unsigned int samplerate) in samplerate_to_bit() argument
178 switch (samplerate) { in samplerate_to_bit()
280 static int rockchip_pdm_set_samplerate(struct rk_pdm_dev *pdm, unsigned int samplerate) in rockchip_pdm_set_samplerate() argument
293 clk_rate = get_pdm_clk(pdm, samplerate, &clk_src, &clk_out, signoff); in rockchip_pdm_set_samplerate()
363 val = samplerate_to_bit(samplerate); in rockchip_pdm_set_samplerate()
367 val = get_pdm_ds_ratio(samplerate); in rockchip_pdm_set_samplerate()
/OK3568_Linux_fs/kernel/sound/pci/emu10k1/
H A Demuproc.c30 …static const int samplerate[16] = { 44100, 1, 48000, 32000, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, … in snd_emu10k1_proc_spdif_status() local
49 …snd_iprintf(buffer, "Sample Rate : %iHz\n", samplerate[(status & SPCS_SAMPLERATEMASK) >>… in snd_emu10k1_proc_spdif_status()
265 static const int samplerate[8] = { 44100, 48000, 96000, 192000, 4, 5, 6, 7 }; in snd_emu10k1_proc_rates_read() local
271 if (tmp & 0x8) snd_iprintf(buffer, "Channel %d: Rate=%d\n", n, samplerate[tmp & 0x7]); in snd_emu10k1_proc_rates_read()
/OK3568_Linux_fs/external/rk_pcba_test/rk_pcba_test/
H A Dtest_config.cfg222 ; samplerate
223 ; The samplerate of sound file.
244 ;samplerate = 48000
/OK3568_Linux_fs/device/rockchip/common/images/oem/oem_cvr/etc/rkadk/
H A Drkadk_setting.ini23 samplerate = 16000 key
/OK3568_Linux_fs/buildroot/package/pulseaudio/
H A Dpulseaudio.mk33 PULSEAUDIO_CONF_OPTS += --enable-samplerate
36 PULSEAUDIO_CONF_OPTS += --disable-samplerate
/OK3568_Linux_fs/u-boot/include/
H A Dsound.h57 int (*hw_params)(struct udevice *dev, unsigned int samplerate,
/OK3568_Linux_fs/kernel/Documentation/sound/cards/
H A Dmixart.rst19 decoding, samplerate conversions and various effects.
75 - on-board effects and samplerate conversions
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dhcom.c348 int samplerate; in compress() local
441 samplerate = 22050 / ft->signal.rate + .5; in compress()
442 put32_be(&dfp, samplerate); in compress()
/OK3568_Linux_fs/yocto/poky/meta/recipes-multimedia/libsamplerate/
H A Dlibsamplerate0_0.2.2.bb7 … file://src/samplerate.c;beginline=1;endline=7;md5=7a4238289dc36bfb70968ccaa5bd0d4f"
/OK3568_Linux_fs/kernel/drivers/gpu/drm/vc4/
H A Dvc4_hdmi.h107 int samplerate; member

12