Home
last modified time | relevance | path

Searched refs:capture_duration (Results 1 – 4 of 4) sorted by relevance

/bsp/allwinner/libraries/sunxi-hal/hal/source/sound/component/aw-alsa-utils/
A Daduplex.c276 if (mgr->capture_duration > 0) in capture_fs_wav()
277 rest = mgr->capture_duration * snd_pcm_frames_to_bytes(mgr->handle, mgr->rate); in capture_fs_wav()
488 if (audio_mgr->capture_duration == 0) in capture_then_play()
489 audio_mgr->capture_duration = 3; in capture_then_play()
492 audio_mgr->capture_duration * audio_mgr->rate * in capture_then_play()
583 duplex_priv.capture_mgr->capture_duration = 5; in cmd_aduplex()
621 duplex_priv.capture_mgr->capture_duration = atoi(optarg); in cmd_aduplex()
631 if (duplex_priv.capture_mgr->capture_duration > 10) in cmd_aduplex()
632 duplex_priv.capture_mgr->capture_duration = 10; in cmd_aduplex()
633 if (duplex_priv.capture_mgr->capture_duration <= 0) in cmd_aduplex()
[all …]
A Darecord.c163 if (audio_mgr->capture_duration == 0) in capture_then_play()
164 audio_mgr->capture_duration = 5; in capture_then_play()
167 audio_mgr->capture_duration * audio_mgr->rate * audio_mgr->channels); in capture_then_play()
227 if (mgr->capture_duration > 0) in capture_fs_wav()
228 rest = mgr->capture_duration * snd_pcm_frames_to_bytes(mgr->handle, mgr->rate); in capture_fs_wav()
378 audio_mgr->capture_duration = atoi(optarg); in cmd_arecord()
A Darecord_mad.c152 if (audio_mgr->capture_duration == 0) in capture_then_play()
153 audio_mgr->capture_duration = 5; in capture_then_play()
156 audio_mgr->capture_duration * audio_mgr->rate * audio_mgr->channels); in capture_then_play()
344 audio_mgr->capture_duration = atoi(optarg); in cmd_arecord_mad()
A Dcommon.h19 unsigned int capture_duration; member

Completed in 8 milliseconds