Julius 4.2
|
マイク入力 (SGI IRIX) [詳細]
関数 | |
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. | |
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. | |
変数 | |
static ALconfig | ac |
Local port settings. | |
static ALport | aport |
Audio port. |
マイク入力 (SGI IRIX)
SGI IRIX のマイク入力を使用する低レベル音声入力関数です. IRIXマシンではデフォルトでこれが使用されます.
SGI O2 Workstation (IRIX6.3) で動作確認をしています.
起動後オーディオ入力はマイクに自動的に切り替わりますが, ボリュームは自動調節されません.apanelコマンドで別途調節してください.
adin_mic_o2.c で定義されています。
static boolean adin_o2_setup_global | ( | double | rate | ) | [static] |
Initialize global audio interface to use microphone input.
rate | [in] sampling rate in Hz |
adin_mic_o2.c の 58 行で定義されています。
参照元 adin_mic_standby().
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_o2.c の 86 行で定義されています。
boolean adin_mic_begin | ( | char * | pathname | ) |
Start recording.
pathname | [in] path name to open or NULL for default |
adin_mic_o2.c の 122 行で定義されています。
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_o2.c の 165 行で定義されています。
char* adin_mic_input_name | ( | ) |
Function to return current input source device name.
adin_mic_o2.c の 186 行で定義されています。