00001
00024 #ifndef NETSTREAM_H_INCLUDED_C419F72E
00025 #define NETSTREAM_H_INCLUDED_C419F72E
00026
00027 #include "openalpp/stream.h"
00028 #include "openalpp/export.h"
00029
00030 namespace ost {
00031 class UDPSocket;
00032 class TCPStream;
00033 }
00034
00035 namespace openalpp {
00036
00042 class OPENALPP_API NetStream : public Stream {
00043 public:
00054 NetStream(ost::UDPSocket *socket,ost::TCPStream *controlsocket=NULL);
00055
00065 NetStream(ost::UDPSocket *socket,SampleFormat format,unsigned int frequency,
00066 unsigned int buffersize);
00067
00071 NetStream(const NetStream &stream);
00072
00076 ~NetStream();
00077
00081 NetStream &operator=(const NetStream &stream);
00082 };
00083
00084 }
00085
00086 #endif
00087