Searched refs:sampleRate (Results 1 – 9 of 9) sorted by relevance
/AliOS-Things-master/hardware/chip/haas1000/hal/ |
A D | audio.c | 205 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 D | template.c | 150 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 D | audio.c | 107 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 D | audio_prompt_sbc.h | 24 uint8_t sampleRate; member 34 uint32_t sampleRate; member
|
/AliOS-Things-master/components/a2sa/internal/driver/platform/rtos/ |
A D | audio_rtos.h | 47 …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 D | audio_internel.h | 62 void *rl6548_audio_init(int sampleRate, int channels, int wordLen);
|
A D | audio_internel.c | 376 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 D | SDL_emscriptenaudio.c | 257 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 D | SDL_coreaudio.m | 1048 this->spec.freq = (int)session.sampleRate;
|
Completed in 16 milliseconds