Merge pull request #6 from ChrisKCat/videoplayback

Videoplayback
This commit is contained in:
scrawl 2012-12-28 15:28:58 -08:00
commit 1dcc0f10ee
3 changed files with 3 additions and 1 deletions

View file

@ -21,6 +21,7 @@ namespace MWSound
virtual void open(const std::string &fname); virtual void open(const std::string &fname);
virtual void close(); virtual void close();
virtual std::string getName();
virtual void getInfo(int *samplerate, ChannelConfig *chans, SampleType *type); virtual void getInfo(int *samplerate, ChannelConfig *chans, SampleType *type);
virtual size_t read(char *buffer, size_t bytes); virtual size_t read(char *buffer, size_t bytes);

View file

@ -34,6 +34,7 @@ namespace MWSound
virtual void open(const std::string &fname); virtual void open(const std::string &fname);
virtual void close(); virtual void close();
virtual std::string getName();
virtual void getInfo(int *samplerate, ChannelConfig *chans, SampleType *type); virtual void getInfo(int *samplerate, ChannelConfig *chans, SampleType *type);
virtual size_t read(char *buffer, size_t bytes); virtual size_t read(char *buffer, size_t bytes);

View file

@ -70,7 +70,7 @@ namespace MWSound
friend class SoundManager; friend class SoundManager;
}; };
#ifndef DEFAULT_OUTPUT #ifndef DEFAULT_OUTPUT
#define DEFAULT_OUTPUT (::MWSound::OpenAL_Output) #define DEFAULT_OUTPUT(x) ::MWSound::OpenAL_Output((x))
#endif #endif
} }