Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jul 2, 2006, 4:41:32 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: OggPlayer retrieves Information about the current Title
The Title Played is relayed to the Hud's Notifier

File:
1 edited

Legend:

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

    r7737 r9019  
    5959    bool getState() { return this->state; };
    6060
     61    const std::string& artist() const { return this->_artist; };
     62    const std::string& title() const { return this->_title; };
     63    const std::string& album() const { return this->_album; };
     64
     65
    6166    void debug() const;
    6267    void printState() const;
     
    7580    void empty();
    7681
     82    void retrieveFileInfo(OggVorbis_File* file);
     83
    7784  private:
    7885    FILE*               oggFile;              //!< general file-handler, to open the sound-file
     
    8895    SDL_Thread*         musicThreadID;        //!< The Thread in which music is Played back.
    8996    OrxThread::Mutex    musicMutex;           //!< A Mutex so that the two threads do not interfere.
     97
     98
     99
     100    std::string         _title;
     101    std::string         _artist;
     102    std::string         _album;
     103    std::string         _vendor;
    90104  };
    91105
Note: See TracChangeset for help on using the changeset viewer.