亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? sdl_cdrom.h

?? 在wince上的游戲模擬器的源碼
?? H
字號:
/*    SDL - Simple DirectMedia Layer    Copyright (C) 1997, 1998, 1999, 2000, 2001  Sam Lantinga    This library is free software; you can redistribute it and/or    modify it under the terms of the GNU Library General Public    License as published by the Free Software Foundation; either    version 2 of the License, or (at your option) any later version.    This library 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    Library General Public License for more details.    You should have received a copy of the GNU Library General Public    License along with this library; if not, write to the Free    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA    Sam Lantinga    slouken@devolution.com*/#ifdef SAVE_RCSIDstatic char rcsid = "@(#) SDL_cdrom.h,v 1.1 2002/10/20 13:03:12 forgotten Exp";#endif/* This is the CD-audio control API for Simple DirectMedia Layer */#ifndef _SDL_cdrom_h#define _SDL_cdrom_h#include "SDL_types.h"#include "begin_code.h"/* Set up for C function definitions, even when using C++ */#ifdef __cplusplusextern "C" {#endif/* In order to use these functions, SDL_Init() must have been called   with the SDL_INIT_CDROM flag.  This causes SDL to scan the system   for CD-ROM drives, and load appropriate drivers.*//* The maximum number of CD-ROM tracks on a disk */#define SDL_MAX_TRACKS	99/* The types of CD-ROM track possible */#define SDL_AUDIO_TRACK	0x00#define SDL_DATA_TRACK	0x04/* The possible states which a CD-ROM drive can be in. */typedef enum {	CD_TRAYEMPTY,	CD_STOPPED,	CD_PLAYING,	CD_PAUSED,	CD_ERROR = -1} CDstatus;/* Given a status, returns true if there's a disk in the drive */#define CD_INDRIVE(status)	((int)status > 0)typedef struct {	Uint8 id;		/* Track number */	Uint8 type;		/* Data or audio track */	Uint16 unused;	Uint32 length;		/* Length, in frames, of this track */	Uint32 offset;		/* Offset, in frames, from start of disk */} SDL_CDtrack;/* This structure is only current as of the last call to SDL_CDStatus() */typedef struct SDL_CD {	int id;			/* Private drive identifier */	CDstatus status;	/* Current drive status */	/* The rest of this structure is only valid if there's a CD in drive */	int numtracks;		/* Number of tracks on disk */	int cur_track;		/* Current track position */	int cur_frame;		/* Current frame offset within current track */	SDL_CDtrack track[SDL_MAX_TRACKS+1];} SDL_CD;/* Conversion functions from frames to Minute/Second/Frames and vice versa */#define CD_FPS	75#define FRAMES_TO_MSF(f, M,S,F)	{					\	int value = f;							\	*(F) = value%CD_FPS;						\	value /= CD_FPS;						\	*(S) = value%60;						\	value /= 60;							\	*(M) = value;							\}#define MSF_TO_FRAMES(M, S, F)	((M)*60*CD_FPS+(S)*CD_FPS+(F))/* CD-audio API functions: *//* Returns the number of CD-ROM drives on the system, or -1 if   SDL_Init() has not been called with the SDL_INIT_CDROM flag. */extern DECLSPEC int SDL_CDNumDrives(void);/* Returns a human-readable, system-dependent identifier for the CD-ROM.   Example:	"/dev/cdrom"	"E:"	"/dev/disk/ide/1/master"*/extern DECLSPEC const char * SDL_CDName(int drive);/* Opens a CD-ROM drive for access.  It returns a drive handle on success,   or NULL if the drive was invalid or busy.  This newly opened CD-ROM   becomes the default CD used when other CD functions are passed a NULL   CD-ROM handle.   Drives are numbered starting with 0.  Drive 0 is the system default CD-ROM.*/extern DECLSPEC SDL_CD * SDL_CDOpen(int drive);/* This function returns the current status of the given drive.   If the drive has a CD in it, the table of contents of the CD and current   play position of the CD will be stored in the SDL_CD structure.*/extern DECLSPEC CDstatus SDL_CDStatus(SDL_CD *cdrom);/* Play the given CD starting at 'start_track' and 'start_frame' for 'ntracks'   tracks and 'nframes' frames.  If both 'ntrack' and 'nframe' are 0, play    until the end of the CD.  This function will skip data tracks.   This function should only be called after calling SDL_CDStatus() to    get track information about the CD.   For example:	// Play entire CD:	if ( CD_INDRIVE(SDL_CDStatus(cdrom)) )		SDL_CDPlayTracks(cdrom, 0, 0, 0, 0);	// Play last track:	if ( CD_INDRIVE(SDL_CDStatus(cdrom)) ) {		SDL_CDPlayTracks(cdrom, cdrom->numtracks-1, 0, 0, 0);	}	// Play first and second track and 10 seconds of third track:	if ( CD_INDRIVE(SDL_CDStatus(cdrom)) )		SDL_CDPlayTracks(cdrom, 0, 0, 2, 10);   This function returns 0, or -1 if there was an error.*/extern DECLSPEC int SDL_CDPlayTracks(SDL_CD *cdrom,		int start_track, int start_frame, int ntracks, int nframes);/* Play the given CD starting at 'start' frame for 'length' frames.   It returns 0, or -1 if there was an error.*/extern DECLSPEC int SDL_CDPlay(SDL_CD *cdrom, int start, int length);/* Pause play -- returns 0, or -1 on error */extern DECLSPEC int SDL_CDPause(SDL_CD *cdrom);/* Resume play -- returns 0, or -1 on error */extern DECLSPEC int SDL_CDResume(SDL_CD *cdrom);/* Stop play -- returns 0, or -1 on error */extern DECLSPEC int SDL_CDStop(SDL_CD *cdrom);/* Eject CD-ROM -- returns 0, or -1 on error */extern DECLSPEC int SDL_CDEject(SDL_CD *cdrom);/* Closes the handle for the CD-ROM drive */extern DECLSPEC void SDL_CDClose(SDL_CD *cdrom);/* Ends C function definitions when using C++ */#ifdef __cplusplus}#endif#include "close_code.h"#endif /* _SDL_video_h */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩精品色哟哟| 日本不卡在线视频| 欧美日韩精品一二三区| 精品中文字幕一区二区小辣椒 | 成人天堂资源www在线| 一区二区三区电影在线播| 日韩欧美国产wwwww| 91尤物视频在线观看| 理论电影国产精品| 亚洲在线一区二区三区| 国产亚洲人成网站| 欧美高清激情brazzers| av在线不卡网| 麻豆精品一二三| 一区二区欧美国产| 中文字幕一区二区三区蜜月| 日韩欧美国产不卡| 欧美日韩国产中文| 色999日韩国产欧美一区二区| 美国一区二区三区在线播放| 中文字幕在线不卡| 日韩一区二区三区四区五区六区| 91在线视频官网| 九九热在线视频观看这里只有精品| 亚洲欧美乱综合| 欧美性猛交xxxx乱大交退制版| 视频一区二区国产| 国产精品毛片a∨一区二区三区| 风间由美一区二区av101| 天堂久久久久va久久久久| 最新日韩在线视频| 日韩免费高清av| 日本道色综合久久| 成人午夜大片免费观看| 久久av中文字幕片| 午夜影院在线观看欧美| 亚洲欧美偷拍三级| 久久亚洲免费视频| 欧美精品日日鲁夜夜添| 国产精品99久久久久久有的能看| 亚洲大片精品永久免费| 中文字幕在线观看一区| 久久久久久久久久美女| 日韩一区二区在线看片| 欧美性大战久久久久久久蜜臀 | 亚洲精品成人天堂一二三| 国产精品无遮挡| 久久亚洲精品小早川怜子| 91精品国产综合久久久久久久久久| 99re这里只有精品6| 大白屁股一区二区视频| 韩国三级在线一区| 亚洲成人久久影院| 亚洲自拍偷拍av| 亚洲另类一区二区| 亚洲欧洲制服丝袜| 亚洲人成网站在线| 亚洲精品欧美在线| 亚洲欧美一区二区三区久本道91 | 中文字幕欧美三区| 国产亚洲欧美在线| 久久精品亚洲精品国产欧美 | 国产成人av影院| 国产最新精品免费| 国精产品一区一区三区mba桃花 | 国产欧美一区二区三区网站| 欧美v亚洲v综合ⅴ国产v| 欧美tickling挠脚心丨vk| 日韩欧美国产午夜精品| 日韩精品资源二区在线| 日韩欧美高清dvd碟片| 日韩视频在线你懂得| 欧美大胆一级视频| 久久亚区不卡日本| 亚洲国产高清不卡| 亚洲婷婷在线视频| 亚洲综合免费观看高清完整版在线| 亚洲激情六月丁香| 婷婷成人激情在线网| 秋霞午夜鲁丝一区二区老狼| 日韩黄色片在线观看| 久久国产精品色婷婷| 国产成人精品亚洲777人妖 | 欧美二区在线观看| 亚洲精品在线观| 精品日韩欧美一区二区| 久久久久久9999| 国产精品卡一卡二| 亚洲综合一区二区| 裸体歌舞表演一区二区| 成人性生交大合| 成人污视频在线观看| 成人av在线网站| 一本大道久久精品懂色aⅴ| 欧美精品第1页| 26uuu精品一区二区在线观看| 日本一区二区三区视频视频| 亚洲欧美日韩小说| 美女爽到高潮91| 成人av资源站| 制服.丝袜.亚洲.中文.综合| 久久久综合网站| 一区二区三区四区激情| 久久国产精品99精品国产| 成人久久视频在线观看| 欧美日韩精品欧美日韩精品一 | 在线观看日韩一区| 日韩欧美电影一二三| 国产精品网站一区| 日韩激情在线观看| 成人黄色在线网站| 日韩美女在线视频| 亚洲欧美另类图片小说| 另类欧美日韩国产在线| 91视频免费观看| 精品处破学生在线二十三| 亚洲精品国产品国语在线app| 日韩av电影免费观看高清完整版 | 久草在线在线精品观看| zzijzzij亚洲日本少妇熟睡| 欧美区视频在线观看| 国产人成一区二区三区影院| 性欧美大战久久久久久久久| 国产精品一卡二| 9191成人精品久久| 亚洲黄色在线视频| 国产精品一级二级三级| 91麻豆精品国产91久久久资源速度 | 亚洲美女在线一区| 国产高清视频一区| 欧美另类久久久品| 亚洲色图制服丝袜| 国产在线精品不卡| 欧美男同性恋视频网站| 国产精品福利在线播放| 精品亚洲欧美一区| 欧美精品 日韩| 一区二区三区四区不卡视频| 国产成人免费9x9x人网站视频| 欧美一区二区视频在线观看 | 欧美日韩激情在线| 亚洲日本乱码在线观看| 成人一道本在线| 久久久99久久| 久久av老司机精品网站导航| 日本韩国精品在线| www精品美女久久久tv| 热久久国产精品| 337p亚洲精品色噜噜噜| 亚洲国产一区二区视频| 日本久久精品电影| 亚洲精品美国一| 92国产精品观看| 亚洲色图自拍偷拍美腿丝袜制服诱惑麻豆 | 亚洲精品一区二区三区影院 | 555www色欧美视频| 午夜免费久久看| 欧美电影一区二区| 日日摸夜夜添夜夜添国产精品| 欧美视频精品在线观看| 一区二区三区日韩精品| 91久久精品一区二区三区| 亚洲精品高清视频在线观看| 色老综合老女人久久久| 亚洲女性喷水在线观看一区| 一道本成人在线| 亚洲国产另类精品专区| 欧美在线视频不卡| 日本一区中文字幕| 精品日韩一区二区| 国产在线看一区| 国产精品无圣光一区二区| 成人精品电影在线观看| 国产精品久久久久久久久久久免费看| 成人黄色电影在线 | 成人免费视频视频| 亚洲欧美另类图片小说| 欧美日韩大陆一区二区| 久久精品国产精品青草| 久久久久久电影| 91在线国产福利| 亚洲一区二区三区四区在线免费观看 | 麻豆国产精品视频| 久久蜜桃一区二区| 99精品欧美一区二区三区综合在线| 亚洲色图另类专区| 欧美三级蜜桃2在线观看| 美女任你摸久久| 国产欧美日韩在线看| 91视频精品在这里| 免费国产亚洲视频| 日本一区二区综合亚洲| 色伊人久久综合中文字幕| 日本一不卡视频| 国产欧美日韩精品一区| 欧美吻胸吃奶大尺度电影| 麻豆一区二区三| 国产精品久久久久精k8| 欧美日韩电影一区| 丁香婷婷综合网|