#include <sent/stddefs.h>
#include <sent/adin.h>
#include <audio.h>
Include dependency graph for adin_mic_o2.c:
Go to the source code of this file.
Functions | |
static boolean | adin_o2_setup_global (double rate) |
boolean | adin_mic_standby (int sfreq, void *dummy) |
boolean | adin_mic_start () |
boolean | adin_mic_stop () |
int | adin_mic_read (SP16 *buf, int sampnum) |
Read samples from the daemon. | |
Variables | |
static ALconfig | ac |
Local port settings. | |
static ALport | aport |
Audio port. |
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.
|
Initialize global audio interface to use microphone input.
Definition at line 57 of file adin_mic_o2.c. Referenced by adin_mic_standby(). |
|
Device initialization: check device capability and open for recording.
Definition at line 85 of file adin_mic_o2.c. |
|
Start recording.
Definition at line 119 of file adin_mic_o2.c. |
|
Stop recording.
Definition at line 137 of file adin_mic_o2.c. |
|
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.
Definition at line 157 of file adin_mic_o2.c. |