00001 00024 #ifndef FILESTREAM_H_INCLUDED 00025 #define FILESTREAM_H_INCLUDED 00026 00027 #include "openalpp/stream.h" 00028 #include "openalpp/export.h" 00029 00030 namespace openalpp { 00031 00036 class OPENALPP_API FileStream : public Stream { 00037 public: 00045 FileStream(const std::string& filename,const int buffersize=65536) 00046 throw (NameError,InitError,FileError); 00047 00051 FileStream(const FileStream &stream); 00052 00053 00054 FileStream &operator=(const FileStream &stream); 00055 00060 void setLooping(bool loop = true); 00061 protected: 00065 virtual ~FileStream(); 00066 00067 }; 00068 00069 00070 } 00071 00072 #endif