📄 sdl_audioin.h
字号:
/*************************************************************************** * Copyright (C) 2004 by Tyler Montbriand * * tsm@accesscomm.ca * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************//** * SDL_audioinput: * * One often-voiced complaint about SDL is that while it has nice facilities * for audio OUTPUT, it has nothing for audio INPUT, and anyone who asks for * them is told to go fu^G^Gwrite write it themself. So I wrote it. * * It is nearly identical in functionality to the SDL audio output subsystem, * except it's for input and it's not a subsystem. This means that in * addition to the standard open/close/pause/status calls, there's also init * and quit functions. Otherwise it's interface is as identical as I've been * able to make it. * * It's modular, so if it doesn't support your OS of choice, write an input * driver and email it to me at tsm@accesscomm.ca and I'll put it in the next * release. :) Currently supports Linux and Windows. */#ifndef __SDL_AUDIOIN_H__#define __SDL_AUDIOIN_H__#include <SDL_audio.h>#include <begin_code.h>#ifdef __cplusplusextern "C" {#endif/*__cplusplus*/#ifdef __cplusplus}#endif/*__cplusplus*/#include <close_code.h>#endif/*__SDL_AUDIOIN_H__*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -