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

📄 rebuffer.c

📁 一个共享源码的音频库1
💻 C
字号:
/*	rebuffer.c*/#ifdef HAVE_CONFIG_H#include <config.h>#endif#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include <math.h>#include <assert.h>#include <audiofile.h>#include "afinternal.h"#include "modules.h"#include "pcm.h"#include "util.h"#include "units.h"#define CHNK(X)#define DEBG(X)#define min(a,b) ((a)<(b) ? (a) : (b))#define max(a,b) ((a)>(b) ? (a) : (b))/* ===== REBUFFERING modules (use templates) *//* defines module floatrebufferv2f and floatrebufferf2v */#define PRFX(word) float ## word#define INITFUNC(word) initfloat ## word#define NAMESTRING(word) "float" #word#define TYPE float#include "rebuffer.template"#undef PRFX#undef INITFUNC#undef NAMESTRING#undef TYPE/* defines module int2rebufferv2f and int2rebufferf2v */#define PRFX(word) int2 ## word#define INITFUNC(word) initint2 ## word#define NAMESTRING(word) "int2" #word#define TYPE schar2#include "rebuffer.template"#undef PRFX#undef INITFUNC#undef NAMESTRING#undef TYPE

⌨️ 快捷键说明

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