Julius 4.2
|
マイク入力 (Linux) - デフォルトデバイス [詳細]
関数 | |
boolean | adin_mic_standby (int sfreq, void *dummy) |
Device initialization: check device capability and open for recording. | |
boolean | adin_mic_begin (char *pathname) |
Start recording. | |
boolean | adin_mic_end () |
Stop recording. | |
int | adin_mic_read (SP16 *buf, int sampnum) |
Read samples from device. | |
char * | adin_mic_input_name () |
Function to return current input source device name. |
マイク入力 (Linux) - デフォルトデバイス
マイク入力のための低レベル関数です. インタフェースを明示指定しない (-input mic) 場合に呼ばれます. ALSA, PulesAudio, OSS, ESD の順で最初に見つかったものが使用されます. それぞれの API を明示的に指定したい場合は "-input" にそれぞれ "alsa", "oss", "pulseaudio", "esd" を指定してください。
adin_mic_linux.c で定義されています。
boolean adin_mic_standby | ( | int | sfreq, |
void * | dummy | ||
) |
Device initialization: check device capability and open for recording.
Device initialization: check machine capability.
sfreq | [in] required sampling frequency. |
dummy | [in] a dummy data |
adin_mic_linux.c の 48 行で定義されています。
boolean adin_mic_begin | ( | char * | pathname | ) |
Start recording.
pathname | [in] path name to open or NULL for default |
adin_mic_linux.c の 72 行で定義されています。
boolean adin_mic_end | ( | ) |
int adin_mic_read | ( | SP16 * | buf, |
int | sampnum | ||
) |
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 one sample can be obtained.
buf | [out] samples obtained in this function |
sampnum | [in] wanted number of samples to be read |
adin_mic_linux.c の 123 行で定義されています。
char* adin_mic_input_name | ( | ) |
Function to return current input source device name.
adin_mic_linux.c の 147 行で定義されています。