RemoteStream.h File Reference

#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.

Namespaces

namespace  csl

Classes

struct  csl::CSL_RS_MSG
class  csl::RemoteStream

Defines

#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 Documentation

#define closesocket  )     ::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
 


Generated on Fri Apr 6 20:18:14 2007 for CSL by  doxygen 1.4.5-20051010