 
    
   
Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   FAQ   Tutorial
    1 #ifndef STK_INETWVOUT_H 
    2 #define STK_INETWVOUT_H 
   36   InetWvOut( 
unsigned long packetFrames = 1024 );
 
   42   InetWvOut( 
int port, Socket::ProtocolType protocol = Socket::PROTO_TCP,
 
   43              std::string hostname = 
"localhost", 
unsigned int nChannels = 1, Stk::StkFormat format = 
STK_SINT16,
 
   44              unsigned long packetFrames = 1024 );
 
   53   void connect( 
int port, Socket::ProtocolType protocol = Socket::PROTO_TCP,
 
   54                 std::string hostname = 
"localhost", 
unsigned int nChannels = 1, Stk::StkFormat format = 
STK_SINT16 );
 
   65   void tick( 
const StkFloat sample );
 
   81   void incrementFrame( 
void );
 
   84   void writeData( 
unsigned long frames );
 
   88   unsigned long bufferFrames_;
 
   89   unsigned long bufferBytes_;
 
   90   unsigned long bufferIndex_;
 
   92   unsigned int dataBytes_;
 
   93   Stk::StkFormat dataType_;
 
 
STK internet socket abstract base class.
Definition: Socket.h:38
void disconnect(void)
If a connection is open, write out remaining samples in the queue and then disconnect.
void tick(const StkFloat sample)
Output a single sample to all channels in a sample frame.
An STK class to handle vectorized audio data.
Definition: Stk.h:275
~InetWvOut()
Class destructor.
void connect(int port, Socket::ProtocolType protocol=Socket::PROTO_TCP, std::string hostname="localhost", unsigned int nChannels=1, Stk::StkFormat format=STK_SINT16)
Connect to the specified host and port and prepare to stream nChannels of data in the given data form...
static const StkFormat STK_SINT16
Definition: Stk.h:138
STK internet streaming output class.
Definition: InetWvOut.h:32
STK audio output abstract base class.
Definition: WvOut.h:22
InetWvOut(unsigned long packetFrames=1024)
Default constructor ... the socket is not instantiated.
The STK namespace.
Definition: ADSR.h:6