#include <sent/config.h>
#include <stdio.h>
#include <stdlib.h>
#include <netaudio.h>
#include <defaults.h>
adin_na.cのインクルード依存関係図
マクロ定義 | |
#define | TRUE 1 |
Should be the same definition in stddefs.h. | |
#define | FALSE 0 |
Should be the same definition in stddefs.h. | |
型定義 | |
typedef short | SP16 |
Should be the same definition in stddefs.h. | |
関数 | |
int | NA_standby (int sfreq, char *server_devname) |
static void | NA_close () |
void | NA_start () |
void | NA_stop () |
int | NA_read (SP16 *buf, int sampnum) |
Read samples from NetAudio port. | |
変数 | |
static NAport * | port |
NetAudio port. | |
static int | need_swap = FALSE |
Incoming data is always BIG ENDIAN. |
NetAudio のライブラリの dat_types.h が libsent/include/sent/stddefs.h での定義と一部衝突するため, このようにサブルーチン部分を分離しています.
adin_na.c で定義されています。
|
Initialize NetAudio device.
|
|
Close port. (actually never used, just for reference...) |
|
Begin recording. |
|
Pause the recording. 参照元 adin_netaudio_stop(). |
|
Read samples from NetAudio port. 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.
参照元 adin_netaudio_read(). |