#ifndef DEVICE_NEXUS_H #define DEVICE_NEXUS_H #include "audiere.h" #include "device_mixer.h" #include namespace audiere { class SDLAudioDevice : public MixerDevice { public: static SDLAudioDevice* create(const ParameterList& parameters); private: SDLAudioDevice(int rate, int buffer_size); ~SDLAudioDevice(); public: void ADR_CALL update(); const char* ADR_CALL getName(); private: int m_buffer_size; char* m_buffer; static void outputCallback(void *user_data, Uint8 *stream, int len); }; } #endif