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

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

?? sdl_cdrom.h

?? MPEG-4編解碼的實現(包括MPEG4視音頻編解碼)
?? H
字號:
/*
    SDL - Simple DirectMedia Layer
    Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002  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@libsdl.org
*/

#ifdef SAVE_RCSID
static char rcsid =
 "@(#) $Id: SDL_cdrom.h,v 1.3 2002/04/22 21:38:01 wmay 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 __cplusplus
extern "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 SDLCALL 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 * SDLCALL 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 * SDLCALL 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 SDLCALL 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 SDLCALL 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 SDLCALL SDL_CDPlay(SDL_CD *cdrom, int start, int length);

/* Pause play -- returns 0, or -1 on error */
extern DECLSPEC int SDLCALL SDL_CDPause(SDL_CD *cdrom);

/* Resume play -- returns 0, or -1 on error */
extern DECLSPEC int SDLCALL SDL_CDResume(SDL_CD *cdrom);

/* Stop play -- returns 0, or -1 on error */
extern DECLSPEC int SDLCALL SDL_CDStop(SDL_CD *cdrom);

/* Eject CD-ROM -- returns 0, or -1 on error */
extern DECLSPEC int SDLCALL SDL_CDEject(SDL_CD *cdrom);

/* Closes the handle for the CD-ROM drive */
extern DECLSPEC void SDLCALL 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一区二区三区免费野_久草精品视频
欧美一区二区在线播放| 久久99精品久久久久久久久久久久 | 成人免费一区二区三区在线观看| 国产高清久久久| 国产亚洲精品超碰| 91在线一区二区| 亚洲综合一区二区精品导航| 欧美日本乱大交xxxxx| 六月婷婷色综合| 欧美激情一区二区三区四区 | 国产一区二区三区在线观看免费| 亚洲精品一区二区三区精华液 | 亚洲精品国产精品乱码不99| 欧美伊人久久久久久久久影院| 午夜a成v人精品| 久久久久久久精| 91理论电影在线观看| 天堂久久久久va久久久久| 久久久久亚洲综合| 在线观看av不卡| 国产精华液一区二区三区| 亚洲一级不卡视频| 久久久久久久久岛国免费| 91黄视频在线| 国内成+人亚洲+欧美+综合在线| 中国色在线观看另类| 欧日韩精品视频| 国产自产视频一区二区三区| 亚洲精品视频免费观看| 日韩亚洲欧美在线观看| 成人久久久精品乱码一区二区三区 | 欧美乱妇15p| 国产一区二区三区国产| 亚洲综合激情小说| 久久免费的精品国产v∧| 91免费国产在线| 国内精品视频666| 亚洲第一电影网| 国产精品毛片高清在线完整版| 在线成人午夜影院| 一本久久精品一区二区| 国产一区二区中文字幕| 亚洲大片免费看| 中文字幕亚洲综合久久菠萝蜜| 日韩亚洲欧美一区二区三区| 在线观看视频欧美| av一区二区三区在线| 国内精品第一页| 麻豆91小视频| 丝袜诱惑制服诱惑色一区在线观看 | 99久久精品免费| 精品在线亚洲视频| 日韩和欧美的一区| 一区二区三区日本| 国产精品高清亚洲| 久久久久久久久97黄色工厂| 日韩一区二区三免费高清| 欧美私人免费视频| 91色porny| www.日韩在线| 99麻豆久久久国产精品免费 | 国产盗摄视频一区二区三区| 欧美a一区二区| 午夜精品久久久久久不卡8050| 亚洲免费观看在线观看| 中文字幕av资源一区| 久久精品欧美日韩| 久久久综合精品| 久久久美女毛片| 国产欧美日韩三级| 欧美—级在线免费片| 久久久久88色偷偷免费 | 国产精品毛片高清在线完整版 | 亚洲欧洲精品一区二区三区不卡| 中文字幕欧美日本乱码一线二线| 精品国产乱码久久久久久1区2区 | 国产三级久久久| 日本一区二区动态图| 欧美国产日本韩| 国产精品麻豆欧美日韩ww| 国产精品免费网站在线观看| 国产精品网站一区| 亚洲欧洲国产日韩| 亚洲永久精品国产| 五月天激情综合网| 欧美aaa在线| 国产福利精品导航| 成人一区在线观看| 91色porny| 51精品国自产在线| 日韩精品综合一本久道在线视频| 精品日韩一区二区三区| 国产日韩精品一区| 亚洲精品久久7777| 青青草原综合久久大伊人精品优势| 三级在线观看一区二区| 九一久久久久久| 国产**成人网毛片九色| 色综合久久综合网欧美综合网| 欧美在线免费视屏| 欧美一区中文字幕| 久久精品一区二区三区av| 中文字幕欧美三区| 亚洲va欧美va天堂v国产综合| 蜜桃视频在线观看一区| 国产成人精品一区二区三区四区 | 欧美成va人片在线观看| 国产嫩草影院久久久久| 亚洲一区二区三区影院| 久久精品国产免费看久久精品| 国产成人夜色高潮福利影视| 91丨九色丨蝌蚪富婆spa| 欧美喷水一区二区| 久久综合成人精品亚洲另类欧美 | 国产亚洲综合性久久久影院| 国产精品久久国产精麻豆99网站| 亚洲地区一二三色| 国产成人亚洲综合色影视| 在线观看亚洲一区| 久久久久久久久97黄色工厂| 亚洲午夜在线视频| 国产在线国偷精品免费看| 99国产欧美另类久久久精品| 91精品婷婷国产综合久久性色| 国产三级精品三级在线专区| 日韩在线观看一区二区| 成人污视频在线观看| 日韩一区和二区| 亚洲人妖av一区二区| 久久国产综合精品| 欧美性视频一区二区三区| 日本一区二区三区dvd视频在线 | 亚洲在线免费播放| 国产一区二区美女诱惑| 欧美精品免费视频| 亚洲婷婷国产精品电影人久久| 国产一区三区三区| 日韩一区二区三区电影| 亚洲国产aⅴ天堂久久| 成人中文字幕电影| 精品欧美黑人一区二区三区| 亚洲成人av电影| 一本久久精品一区二区| 国产精品素人视频| 国内欧美视频一区二区| 欧美一区二区成人| 亚洲国产精品久久不卡毛片| 制服丝袜日韩国产| 亚洲一区中文日韩| 91丨porny丨国产入口| 亚洲国产精品精华液ab| 国内精品伊人久久久久av一坑| 欧美一区二区三区免费在线看 | 日韩福利视频网| 色综合色狠狠天天综合色| 国产欧美va欧美不卡在线| 精品一二三四区| 精品久久人人做人人爽| 欧美aaaaa成人免费观看视频| 在线播放中文字幕一区| 日本在线不卡视频| 7777精品伊人久久久大香线蕉超级流畅 | 久久国产夜色精品鲁鲁99| 欧美一区二区免费观在线| 日本美女视频一区二区| 在线综合亚洲欧美在线视频| 日韩精品1区2区3区| 91麻豆精品久久久久蜜臀| 婷婷久久综合九色综合伊人色| 欧美日韩三级在线| 奇米色777欧美一区二区| 日韩一区二区影院| 黄色资源网久久资源365| 久久亚洲精品小早川怜子| 国产精一区二区三区| 国产网站一区二区| av综合在线播放| 一区二区三区在线播| 欧美色中文字幕| 日本sm残虐另类| 久久综合色天天久久综合图片| 国产激情视频一区二区在线观看| 国产精品久久久久久久久搜平片 | 日韩电影在线一区| 精品国产a毛片| 国产精品亚洲一区二区三区在线| 国产清纯在线一区二区www| 波多野结衣精品在线| 亚洲黄一区二区三区| 欧美精品一级二级三级| 老司机一区二区| 国产精品国产自产拍高清av王其 | 欧美精品乱人伦久久久久久| 久久精品国产**网站演员| 久久亚洲免费视频| 色域天天综合网| 极品销魂美女一区二区三区| 中文字幕精品一区| 欧美日韩一区三区四区| 亚洲国产一区在线观看|