sndsystem.c

来自「Audacity是一款用於錄音和編輯聲音的、免費的開放源碼軟體。它可以執行於Ma」· C语言 代码 · 共 43 行

C
43
字号
/* sndsystem.c * * Roger Dannenberg * 21 Jun 1997 * */#include "stdlib.h"#include "stdio.h"#include "snd.h"#ifdef __cplusplusextern "C" {#endif#ifndef __WX__void snd_fail(char *msg){    printf("ERROR: %s\n", msg);}#endifvoid *snd_alloc(size_t s){    void *res;    /* printf("snd_alloc of %ld ", s); */    res = malloc(s);    return res;}void snd_free(void *a){    /* printf("snd_free of %lx\n", a);*/    free(a);}#ifdef __cplusplus} // extern "C"#endif

⌨️ 快捷键说明

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