Include dependency graph for adin_mic_freebsd.c:
Go to the source code of this file.
|Default device name, can be overridden by AUDIODEV environment variable. |
|Acceptable width of sampling frequency. |
|Polling interval in miliseconds. |
|boolean||adin_mic_standby (int sfreq, void *arg)|
|int||adin_mic_read (SP16 *buf, int sampnum)|
|Read samples from the daemon. |
|Audio descriptor. |
|Whether input samples need byte-swapping. |
|Workarea for polling device. |
To use microphone input in FreeBSD, sound card and sound driver must support 16bit monaural recording.
Julius does not alter any mixer device setting at all. You should configure the mixer for recording source (mic/line) and recording volume correctly using other audio tool.
The default device name is "/dev/dsp", which can be changed by setting environment variable AUDIODEV.
Tested on FreeBSD 3.2-RELEASE with snd driver.
Definition in file adin_mic_freebsd.c.
Device initialization: check device capability and open for recording.
Read samples from the daemon.
Try to read sampnum samples and returns actual number of recorded samples currently available. This function will block until at least one sample can be obtained.