Go to the source code of this file.
|Default device name, can be overridden by AUDIODEV environment variable. |
|boolean||adin_mic_standby (int sfreq, void *arg)|
|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. |
|Audio file descriptor. |
|static struct audio_info||ainfo|
|Audio format information. |
Low level I/O functions for microphone input on Solaris 2.x machines. This file is used as default on Solaris 2.x machines.
Tested on Sun Solaris 2.5.1 and 2.6. Also works on later versions. Please note that this will not work on Solaris x86, since machine byte order is fixed to big endian.
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 gaintool.
The default device name is "/dev/audio", which can be changed by setting environment variable AUDIODEV.
Definition in file adin_mic_sol2.c.
|int adin_mic_read||(||SP16 *||buf,|
Read samples from device.
Try to read sampnum samples and returns actual number of recorded samples currently available. This function will block until at least some samples are obtained.
|buf||[out] samples obtained in this function|
|sampnum||[in] wanted number of samples to be read|