Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 5, 2007, 11:47:05 PM (17 years ago)
Author:
nicolape
Message:

We now have a background sound playlist

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/audio/AudioStream.h

    r423 r430  
    77{
    88        #define BUFFER_SIZE (4096 * 4)
    9         #define STREAM_FILES_DIR "audio/ambient"
    109       
    1110        class AudioStream
    1211        {
    1312            public:
    14        
    15                 void open(std::string path);
     13                                        AudioStream(std::string path);
     14                void open();
    1615                void release();
    1716                void display();
     
    3029            private:
    3130       
     31                                        std::string path;
     32
    3233                FILE*           oggFile;
    3334                OggVorbis_File  oggStream;
Note: See TracChangeset for help on using the changeset viewer.