00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include "audioint.h"
00011 #include <vector>
00012 #ifdef __GNUC__
00013
00014 # include <ext/hash_map>
00015 namespace Sgi = ::__gnu_cxx;
00016 #else
00017 # include <hash_map>
00018 namespace Sgi = ::stdext;
00019 #endif
00020
00021 using Sgi::hash_map;
00022 using std::vector;
00023
00024 namespace MMAudio {
00025 extern vector<const char*> soundfiles;
00026 extern hash_map<unsigned int, ALuint> buffers;
00027
00030
00035 void addSoundFiles(const char * const * names, int count);
00040 void addSoundFile(const char * name);
00041 ALuint getBufferForSound(unsigned int name);
00043 }
00044