Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

openalpp::NetUpdater Class Reference

#include <netupdater.h>

Inheritance diagram for openalpp::NetUpdater:

openalpp::StreamUpdater openalpp::Referenced List of all members.

Public Member Functions

 NetUpdater (ost::UDPSocket *socket, ost::TCPStream *controlsocket, const ALuint buffer1, ALuint buffer2, ALenum format, unsigned int frequency, unsigned int buffersize)
void run ()

Detailed Description

Updater for streams through sockets.


Constructor & Destructor Documentation

openalpp::NetUpdater::NetUpdater ost::UDPSocket *  socket,
ost::TCPStream *  controlsocket,
const ALuint  buffer1,
ALuint  buffer2,
ALenum  format,
unsigned int  frequency,
unsigned int  buffersize
 

Constructor.

Parameters:
socket is the socket to receive sound data from.
controlsocket is the stream to receive control messages from. Set to NULL if control messages are not used.
buffer1 and...
buffer2 are the sound buffers to use.
format is the (OpenAL) format of the sound data.
frequency is the frequency of the sound data.
buffersize is how much data to buffer before adding to the stream.


Member Function Documentation

void openalpp::NetUpdater::run  ) 
 

Inherited from Thread. This will be called when the updater is Start():ed..


The documentation for this class was generated from the following file:
Generated on Thu Dec 9 14:08:13 2004 for openalpp by  doxygen 1.3.9.1