Home
last modified time | relevance | path

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

/AliOS-Things-master/hardware/chip/haas1000/hal/
A Daudio.c205 static pcm_stream_handler_t codec_pcm_stream_open(int mode, int sampleRate, int channels, pcm_strea… in codec_pcm_stream_open() argument
209 int large_buf = (sampleRate & 0xFF000000) >> 24; in codec_pcm_stream_open()
215 capture_stream_hdl = data_dump_open(aud_record_subscribe, _kfifo_len / 1024, sampleRate, 0); in codec_pcm_stream_open()
217 capture_stream_hdl, PCM_STREAM_OUT, sampleRate, channels, format); in codec_pcm_stream_open()
220 …playback_stream_hdl = (pcm_stream_handler_t)alsa_open(ALSA_MODE_OUT, sampleRate, channels, format); in codec_pcm_stream_open()
222 playback_stream_hdl, PCM_STREAM_OUT, sampleRate, channels, format); in codec_pcm_stream_open()
/AliOS-Things-master/components/a2sa/src/driver/platform/rtos/
A Dtemplate.c150 static pcm_stream_handler_t playback_open(int mode, int sampleRate, int channels, int format, aos_h… in playback_open() argument
169 playback->rate = sampleRate; in playback_open()
180 output_config.sample_rate = sampleRate; in playback_open()
217 static pcm_stream_handler_t codec_pcm_stream_open(int mode, int sampleRate, int channels, int forma… in codec_pcm_stream_open() argument
226 hdl = playback_open(mode, sampleRate, channels, format, event_hdl); in codec_pcm_stream_open()
/AliOS-Things-master/hardware/chip/rtl872xd/hal/
A Daudio.c107 static pcm_stream_handler_t codec_pcm_stream_open(int mode, int sampleRate, int channels, pcm_strea… in codec_pcm_stream_open() argument
119 … audio_stream_hdl = (pcm_stream_handler_t) rl6548_audio_init(sampleRate, channels, word_len); in codec_pcm_stream_open()
125 capture_stream_hdl, PCM_STREAM_OUT, sampleRate, channels, format); in codec_pcm_stream_open()
129 playback_stream_hdl, PCM_STREAM_OUT, sampleRate, channels, format); in codec_pcm_stream_open()
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/bt_app/
A Daudio_prompt_sbc.h24 uint8_t sampleRate; member
34 uint32_t sampleRate; member
/AliOS-Things-master/components/a2sa/internal/driver/platform/rtos/
A Daudio_rtos.h47 …pcm_stream_handler_t (*open)(int mode, int sampleRate, int channels, int format, aos_hdl_t *event_…
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/audio/core/
A Daudio_internel.h62 void *rl6548_audio_init(int sampleRate, int channels, int wordLen);
A Daudio_internel.c376 void *rl6548_audio_init(int sampleRate, int channels, int wordLen) in rl6548_audio_init() argument
388 switch(sampleRate) { in rl6548_audio_init()
411 printf("not support sr %d\n", sampleRate); in rl6548_audio_init()
/AliOS-Things-master/components/SDL2/src/audio/emscripten/
A DSDL_emscriptenaudio.c257 return SDL2.audioContext.sampleRate; in EMSCRIPTENAUDIO_OpenDevice()
305 … SDL2.capture.silenceBuffer = SDL2.audioContext.createBuffer($0, $1, SDL2.audioContext.sampleRate); in EMSCRIPTENAUDIO_OpenDevice()
312 …L2.capture.silenceTimer = setTimeout(silence_callback, ($1 / SDL2.audioContext.sampleRate) * 1000); in EMSCRIPTENAUDIO_OpenDevice()
/AliOS-Things-master/components/SDL2/src/audio/coreaudio/
A DSDL_coreaudio.m1048 this->spec.freq = (int)session.sampleRate;

Completed in 16 milliseconds