more fixes to compiling with gcc 4.6

This commit is contained in:
niczkx
2012-08-03 15:03:34 -06:00
parent 7d62763c92
commit 092876d0e1
3 changed files with 4 additions and 4 deletions

View File

@@ -33,8 +33,8 @@ public:
virtual ~SoundFile() { }
static SoundFilePtr loadSoundFile(const std::string& filename);
virtual int read(void *buffer, int bufferSize) = 0;
virtual void reset() = 0;
virtual int read(void *buffer, int bufferSize) { return -1; }
virtual void reset() { }
bool eof() { return m_file->eof(); }
ALenum getSampleFormat();