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 Sun Oct 15 08:41:42 2006 for openalpp by  doxygen 1.4.7