X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fmoof%2Fsound.cc;fp=src%2Fmoof%2Fsound.cc;h=bcd86670c302d4e6ff17d3bc0133eb73043cd9d9;hp=8b22c4798e95967b2c7ce848fd206a28641de938;hb=44b3014bce798789e795242d1556cb7449e6386a;hpb=4f6e4488a55f7e3ba3f7485d78177f793c0eab9a diff --git a/src/moof/sound.cc b/src/moof/sound.cc index 8b22c47..bcd8667 100644 --- a/src/moof/sound.cc +++ b/src/moof/sound.cc @@ -18,13 +18,14 @@ #include #include -#include "log.hh" +#include "debug.hh" #include "sound.hh" #include "resource.hh" #include "runloop.hh" #include "thread.hh" #include "timer.hh" + #ifndef BUF_SIZE #define BUF_SIZE 8192 #endif @@ -94,12 +95,12 @@ int sound_backend::retain_count = 0; ALCdevice* sound_backend::al_device; ALCcontext* sound_backend::al_context; + class sound_resource; typedef resource_handle sound_handle; MOOF_REGISTER_RESOURCE(sound_resource, ogg, sounds); - class sound_resource : public boost::noncopyable { public: