Go to the source code of this file.
|static boolean||adin_o2_setup_global (double rate)|
|Initialize global audio interface to use microphone input. |
|boolean||adin_mic_standby (int sfreq, void *dummy)|
|Device initialization: check device capability and open for recording. |
|Start recording. |
|Stop recording. |
|int||adin_mic_read (SP16 *buf, int sampnum)|
|Read samples from device. |
|Local port settings. |
|Audio port. |
Low level I/O functions for microphone input on a SGI IRIX machine. This file is used as default on IRIX machines.
Tested on IRIX 6.3, SGI O2 Workstation.
The microphone input device will be automatically selected by Julius on startup. Please note that the recoding volue will not be altered by Julius, and appropriate value should be set by another tool such as apanel.
Definition in file adin_mic_o2.c.
|static boolean adin_o2_setup_global||(||double||rate||)||
Device initialization: check device capability and open for recording.
Connection initialization: check connectivity and open for recording.
|sfreq||[in] required sampling frequency.|
|dummy||[in] a dummy data|
|int adin_mic_read||(||SP16 *||buf,|
Read samples from device.
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.
|buf||[out] samples obtained in this function|
|sampnum||[in] wanted number of samples to be read|