Julius 4.2
|
ネットワーク入力:NetAudio/DatLink サーバからの音声入力 [詳細]
関数 | |
boolean | adin_netaudio_standby (int sfreq, void *arg) |
Connection initialization: check connectivity and open for recording. | |
boolean | adin_netaudio_begin (char *pathname) |
Start recording. | |
boolean | adin_netaudio_end () |
Stop recording. | |
int | adin_netaudio_read (SP16 *buf, int sampnum) |
Read samples from the daemon. | |
char * | adin_netaudio_input_name () |
Function to return current input source device name. | |
変数 | |
static char | server_devname [MAXPATHLEN] |
Device name. |
ネットワーク入力:NetAudio/DatLink サーバからの音声入力
入力ソースとして,DatLink に附属の NetAudio サーバを使用する 低レベル関数です.これを用いることで DatLink の入力を 直接認識することができます. NetAudio がインストールしてあるホストで configure することで コンパイルされます.
関数の実体は adin_na.c で定義されています.
adin_netaudio.c で定義されています。
boolean adin_netaudio_standby | ( | int | sfreq, |
void * | arg | ||
) |
Connection initialization: check connectivity and open for recording.
sfreq | [in] required sampling frequency |
arg | [in] server device name string to connect |
adin_netaudio.c の 60 行で定義されています。
参照元 adin_select().
boolean adin_netaudio_begin | ( | char * | pathname | ) |
Start recording.
pathname | [in] path name to open or NULL for default |
adin_netaudio.c の 75 行で定義されています。
参照元 adin_select().
boolean adin_netaudio_end | ( | ) |
Stop recording.
adin_netaudio.c の 87 行で定義されています。
参照元 adin_select().
int adin_netaudio_read | ( | SP16 * | buf, |
int | sampnum | ||
) |
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 |
adin_netaudio.c の 106 行で定義されています。
参照元 adin_select().
char* adin_netaudio_input_name | ( | ) |
Function to return current input source device name.
adin_netaudio.c の 125 行で定義されています。
参照元 adin_select().