Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 7, 2005, 2:53:43 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/avi_play: merged the trunk back to the avi_play branche again
merged with command
svn merge -r 5924:HEAD ../trunk/ avi_play/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/avi_play/src/lib/sound/sound_engine.h

    r5924 r5961  
    2626//! A class that handles audio via the openAudioLibrary
    2727class SoundEngine : public BaseObject {
    28 
    2928  public:
    3029    virtual ~SoundEngine();
     
    4948
    5049  // administrative
    51     void addBuffer(SoundBuffer* buffer);
    52     void removeBuffer(SoundBuffer* buffer);
    53     void addSource(SoundSource* source);
     50    void popALSource(ALuint& source);
     51    void pushALSource(ALuint& source) { if (source != 0) this->ALSources.push(source); };
    5452
    5553    void flushUnusedBuffers();
     
    5755    void flushAllSources();
    5856
     57    bool initAudio();
    5958    bool allocateSources(unsigned int count);
    60     bool initAudio();
    6159
    6260  // error handling:
    63     static void PrintALErrorString(ALenum err);
    64   //  static void PrintALCErrorString(ALenum err);
    65 
     61    static const char* getALErrorString(ALenum err);
    6662
    6763  private:
    6864    SoundEngine();
     65
    6966    void listDevices();
    7067
Note: See TracChangeset for help on using the changeset viewer.