polyfox/moon

View on GitHub
modules/audio-gorilla/include/moon/gorilla/audio.hxx

Summary

Maintainability
Test Coverage
#ifndef MOON_AUDIO_H
#define MOON_AUDIO_H

/* Gorilla Audio */
#include <gorilla/ga.h>
#include <gorilla/gau.h>

namespace Moon {
  class Audio {
  public:
    static bool Initialize();
    static void Update();
    static void Terminate();
    static ga_Mixer* GetMixer();
    static ga_StreamManager* GetStreamMgr();
  protected:
    static gau_Manager* m_mgr;
    static ga_Mixer* m_mixer;
    static ga_StreamManager* m_streamMgr;
  };
};

#endif