Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7293 in orxonox.OLD for trunk/src/lib/sound/ogg_player.h


Ignore:
Timestamp:
Apr 14, 2006, 12:19:55 PM (18 years ago)
Author:
bensch
Message:

OggPlayer::state

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/sound/ogg_player.h

    r7292 r7293  
    1717
    1818struct File;
    19 
    2019
    2120
     
    4241  const char* errorString(int code);
    4342
     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
    4455private:
    4556  FILE*               oggFile;              //!< general file-handler, to open the sound-file
     
    5162  ALuint              source;               //!< The source we play back on
    5263  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.
    5466};
    5567
Note: See TracChangeset for help on using the changeset viewer.