|
CSL
6.0
|
#include "CSL_Includes.h"#include "ThreadUtilities.h"#include <stdio.h>#include <stdlib.h>#include <semaphore.h>#include <unistd.h>#include <sys/types.h>#include <sys/socket.h>#include <sys/param.h>#include <netdb.h>#include <netinet/in.h>#include <arpa/inet.h>Go to the source code of this file.
Classes | |
| struct | csl::CSL_RS_MSG |
| class | csl::RemoteStream |
| RemoteStream class. More... | |
Namespaces | |
| csl | |
| AdditiveInstrument.h – Sum-of-sines synthesis instrument class. | |
Macros | |
| #define | closesocket(x) ::close(x) |
| #define | RS_PACKET_MAGIC 0x00420000 |
| #define | RS_PACKET_SIZE (sizeof(CSL_RFS_MSG)) |
| #define | RS_BUFFER_SIZE (mBufferSize * mNumChannels * sizeof(sample)) |
| #define | RS_RESPONSE_PACKET_SIZE (RFS_PACKET_SIZE + RS_BUFFER_SIZE + 4) |
| #define | CSL_DEFAULT_REQUEST_PORT 57574 |
| #define | CSL_CMD_SET_CLIENT 42 |
| #define | CSL_CMD_NEXT_BUFFER 43 |
| #define | CSL_CMD_STOP 47 |
Typedefs | |
| typedef void *(* | csl::THREAD_START_ROUTINE )(void *) |
Functions | |
| void * | csl::RS_read_loop (void *inst) |
| int | csl::CSL_CreateThread (THREAD_START_ROUTINE pfnThreadProc, void *pvParam) |
| #define closesocket | ( | x | ) | ::close(x) |
Definition at line 51 of file RemoteStream.h.
Referenced by csl::RemoteIO::close(), csl::RemoteStream::RemoteStream(), csl::RemoteStream::~RemoteStream(), and Socket::~Socket().
| #define RS_PACKET_MAGIC 0x00420000 |
Definition at line 67 of file RemoteStream.h.
Referenced by csl::RemoteStream::connectToServer(), and csl::RemoteStream::initPacket().
| #define RS_PACKET_SIZE (sizeof(CSL_RFS_MSG)) |
Definition at line 68 of file RemoteStream.h.
Referenced by csl::RemoteStream::connectToServer(), csl::RemoteStream::initPacket(), and csl::RemoteStream::nextBuffer().
| #define RS_BUFFER_SIZE (mBufferSize * mNumChannels * sizeof(sample)) |
Definition at line 69 of file RemoteStream.h.
| #define RS_RESPONSE_PACKET_SIZE (RFS_PACKET_SIZE + RS_BUFFER_SIZE + 4) |
Definition at line 70 of file RemoteStream.h.
Referenced by csl::RemoteStream::RemoteStream().
| #define CSL_DEFAULT_REQUEST_PORT 57574 |
Definition at line 74 of file RemoteStream.h.
Referenced by csl::RemoteIO::open().
| #define CSL_CMD_SET_CLIENT 42 |
Definition at line 80 of file RemoteStream.h.
Referenced by csl::RemoteStream::initPacket(), and csl::RemoteIO_read_loop().
| #define CSL_CMD_NEXT_BUFFER 43 |
Definition at line 81 of file RemoteStream.h.
Referenced by csl::RemoteIO_read_loop(), and RS_Read_Loop().
| #define CSL_CMD_STOP 47 |
Definition at line 85 of file RemoteStream.h.
Referenced by csl::RemoteIO_read_loop().