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

📄 sdl_audioin_internal.h

📁 spec5xx for xp in terminal 在xp下编译过的摄像头驱动源码
💻 H
字号:
/*************************************************************************** *   Copyright (C) 2004 by Tyler Montbriand                                * *   tsm@accesscomm.ca                                                     * *                                                                         * *   Released under the GNU LGPL                                           * ***************************************************************************/#ifndef __SDL_AUDIOIN_INTERNAL_H__#define __SDL_AUDIOIN_INTERNAL_H__#include <SDL_audio.h>typedef union UniPtr{  Uint8       *u8ptr;  Sint8       *s8ptr;  Uint16      *u16ptr;  Sint16      *s16ptr;  Uint32      *u32ptr;  Sint32      *s32ptr;  float       *fptr;  double      *dptr;  long double *ldptr;  void        *vptr;  } UniPtr;/** * Returns 1 if audiospec is valid, 0 if not. * Outputs more verbose errorcodes to SDL_GetError. * ignores samples and silence. */DECLSPEC int  SDLCALL AudioSpecValid(const SDL_AudioSpec *spec);/*! \brief Calculates the byte size of the buffer. */DECLSPEC int SDLCALL AudioSpecSize(const SDL_AudioSpec *spec);/*! \brief Returns the # of milliseconds of sound in one buffer. */DECLSPEC int  SDLCALL AudioSpecTicks(const SDL_AudioSpec *spec);DECLSPEC int SDLCALL null_init(void);DECLSPEC void SDLCALL null_quit(void);extern volatile SDL_audiostatus audioin_status;#endif/*__SDL_AUDIOIN_INTERNAL_H__*/

⌨️ 快捷键说明

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