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

📄 mpeglist.h

📁 This code is based on mpeg_play, available from: http://bmrc.berkeley.edu/frame/research/mpeg/
💻 H
字号:
/* bufferlist.h *//* A class for buffering the I/O and allow multiple streams to read the data   asynchronously */#ifndef _MPEGLIST_H_#define _MPEGLIST_H_#include "SDL.h"class MPEGlist {public:  MPEGlist();  ~MPEGlist();  /* Get to the next free buffer or allocate a new one if none is free */  MPEGlist * Alloc(Uint32 Buffer_Size);  /* Lock current buffer */  void Lock();  /* Unlock current buffer */  void Unlock();  /* Get the buffer */  inline void * Buffer() { return(data); };  inline Uint32 Size() { return(size); };   inline MPEGlist * Next() { return(next); };  inline MPEGlist * Prev() { return(prev); };  inline Uint32 IsLocked() { return(lock); };  double TimeStamp;private:  class MPEGlist * next;  class MPEGlist * prev;  Uint32 lock;  Uint8 * data;  Uint32 size;};#endif

⌨️ 快捷键说明

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