#ifndef __FISHBONE_MIXER_H__ #define __FISHBONE_MIXER_H__ namespace fishbone { class Mixer; }; #include #include #include namespace fishbone { class Mixer { fishbone::Mutex* mutex; public: Mixer(); ~Mixer(); void read(short* buffer, size_t frames); fishbone::Sound* open(const char* path); void lock(); void unlock(); static const int rate = 44100; std::vector loaders; std::vector sounds; float position[3]; }; }; // namespace fishbone #endif