⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 recordapi.h

📁 自己写的
💻 H
字号:
#ifndef _AUGUSTA_AUDIO_OUTPUT_API_H_
#define _AUGUSTA_AUDIO_OUTPUT_API_H_

#include <stdio.h>
#include <malloc.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <getopt.h>
#include <fcntl.h>
#include <ctype.h>
#include <errno.h>
#include <limits.h>
#include <locale.h>
#include <alsa/asoundlib.h>
#include <assert.h>
#include <sys/poll.h>
#include <sys/uio.h>
#include <sys/time.h>
#include <sys/signal.h>
#include <asm/byteorder.h>

#ifdef __cplusplus
extern "C" {
#endif
///////////////////////////////////////////////////////////////////////////////

int  AAI_record_open(char *pcm_name);
void AAI_set_params(int sampleRate,int channels,int bitPersample);
long AAI_pcm_read(char *in_buff, long in_lenth);
void AAI_record_close();

#ifdef __cplusplus
}
#endif

#endif  /* end of _AUGUSTA_AUDIO_OUTPUT_API_H_ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -