Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

/home/rdbrown/doxygen/cse125g1/src/modules/audio/BufferManager.h

00001 /*
00002  *  BufferManager.h
00003  *  MMAudio
00004  *
00005  *  Created by Rib Rdb on 4/8/05.
00006  *  Copyright 2005 __MyCompanyName__. All rights reserved.
00007  *
00008  */
00009 
00010 #include "audioint.h"
00011 #include <vector>
00012 #ifdef __GNUC__
00013 // Assuming at least 3.1
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 

Generated on Thu Aug 18 16:03:10 2005 for Robin Hood: Thieves & Knights by doxygen1.2.18