Changeset 7293 in orxonox.OLD for trunk/src/lib/sound/ogg_player.h
- Timestamp:
- Apr 14, 2006, 12:19:55 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/sound/ogg_player.h
r7292 r7293 17 17 18 18 struct File; 19 20 19 21 20 … … 42 41 const char* errorString(int code); 43 42 43 public: 44 typedef enum { 45 None = 0x000, 46 FileOpened = 0x100, 47 SourceAllocated = 0x200, 48 BuffersAllocated = 0x400, 49 Stopped = 0x010, 50 Playing = 0x020, 51 Paused = 0x040, 52 Error = 0x001, 53 } State; 54 44 55 private: 45 56 FILE* oggFile; //!< general file-handler, to open the sound-file … … 51 62 ALuint source; //!< The source we play back on 52 63 ALenum format; //!< The format we play back 53 bool trackLoaded; //!< If a Track has been loaded. 64 unsigned int state; 65 //bool trackLoaded; //!< If a Track has been loaded. 54 66 }; 55 67
Note: See TracChangeset
for help on using the changeset viewer.