BambooIsland: C:/Users/easterbunny/Desktop/Echtzeitgraphik-LU/trunk/src/SoundManager.h Source File

BambooIsland Abgabe 2

- Main Page
- Related Pages
- Classes
- Files

- File List

# C:/Users/easterbunny/Desktop/Echtzeitgraphik-LU/trunk/src/SoundManager.h

    00001 /*
    00002  * header file for SoundManager class
    00003  * written by wolfgang ludwig <wl@ViennaLinux.at>
    00004  * 01/2011
    00005  */
    00006
    00007 #pragma once
    00008
    00009 #ifndef __realtime_soundmanager_header
    00010 #define __realtime_soundmanager_header
    00011
    00012 #include <fmodex/fmod.hpp>
    00013 #include <fmodex/fmod_errors.h>
    00014 #include <fmodex/fmod_output.h>
    00015
    00016 class SoundManager
    00017 {
    00018 public:
    00019         SoundManager(void);
    00020         virtual ~SoundManager(void);
    00021         void ERRCHECK(FMOD_RESULT result);
    00022         void playSound(char* filepath);
    00023
    00024 private:
    00025         FMOD::System    *system;
    00026         FMOD_RESULT      result;
    00027         unsigned int     version;
    00028         int              numdrivers;
    00029         FMOD_SPEAKERMODE speakermode;
    00030         FMOD_CAPS        caps;
    00031         char             name[256];
    00032 };
    00033
    00034 #endif

All Classes Functions Variables Enumerations Enumerator