#include <netupdater.h>
Inheritance diagram for openalpp::NetUpdater:
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 () |
openalpp::NetUpdater::NetUpdater | ( | ost::UDPSocket * | socket, | |
ost::TCPStream * | controlsocket, | |||
const ALuint | buffer1, | |||
ALuint | buffer2, | |||
ALenum | format, | |||
unsigned int | frequency, | |||
unsigned int | buffersize | |||
) |
Constructor.
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. |
void openalpp::NetUpdater::run | ( | ) |
Inherited from Thread. This will be called when the updater is Start():ed..