Logo Search packages:      
Sourcecode: jacktrip version File versions  Download package

JackTrip::JackTrip ( jacktripModeT  JacktripMode = CLIENT,
dataProtocolT  DataProtocolType = UDP,
int  NumChans = 2,
int  BufferQueueLength = 8,
unsigned int  redundancy = 1,
JackAudioInterface::audioBitResolutionT  AudioBitResolution = JackAudioInterface::BIT16,
DataProtocol::packetHeaderTypeT  PacketHeaderType = DataProtocol::DEFAULT,
underrunModeT  UnderRunMode = WAVETABLE,
int  receiver_bind_port = gDefaultPort,
int  sender_bind_port = gDefaultPort,
int  receiver_peer_port = gDefaultPort,
int  sender_peer_port = gDefaultPort 
)

The class Constructor with Default Parameters.

Parameters:
JacktripModeJackTrip::CLIENT or JackTrip::SERVER
DataProtocolTypeJackTrip::dataProtocolT
NumChansNumber of Audio Channels (same for inputs and outputs)
BufferQueueLengthAudio Buffer for receiving packets
AudioBitResolutionAudio Sample Resolutions in bits
redundancyredundancy factor for network data

Definition at line 56 of file JackTrip.cpp.

                                                     :
  mJackTripMode(JacktripMode),
  mDataProtocol(DataProtocolType),
  mPacketHeaderType(PacketHeaderType),
  mNumChans(NumChans),
  mBufferQueueLength(BufferQueueLength),
  mSampleRate(0),
  mAudioBufferSize(0),
  mAudioBitResolution(AudioBitResolution),
  mDataProtocolSender(NULL),
  mDataProtocolReceiver(NULL),
  mJackAudio(NULL),
  mPacketHeader(NULL),
  mUnderRunMode(UnderRunMode),
  mSendRingBuffer(NULL),
  mReceiveRingBuffer(NULL),
  mReceiverBindPort(receiver_bind_port),
  mSenderPeerPort(sender_peer_port),
  mSenderBindPort(sender_bind_port),
  mReceiverPeerPort(receiver_peer_port),
  mRedundancy(redundancy),
  mJackClientName("JackTrip")
{}

Generated by  Doxygen 1.6.0   Back to index