local.ua
Class JAudioLauncher

java.lang.Object
  |
  +--local.ua.JAudioLauncher
All Implemented Interfaces:
MediaLauncher

public class JAudioLauncher
extends java.lang.Object
implements MediaLauncher

Audio launcher based on javax.sound


Field Summary
static java.lang.String TONE
          Test tone
static double tone_amp
          Test tone ampliture (from 0.0 to 1.0)
static int tone_freq
          Test tone frequency [Hz]
 
Constructor Summary
JAudioLauncher(int local_port, java.lang.String remote_addr, int remote_port, int direction, org.zoolu.tools.Log logger)
          Costructs the audio launcher
JAudioLauncher(int local_port, java.lang.String remote_addr, int remote_port, int direction, java.lang.String audiofile_in, java.lang.String audiofile_out, int sample_rate, int sample_size, int frame_size, org.zoolu.tools.Log logger)
          Costructs the audio launcher
JAudioLauncher(RtpStreamSender rtp_sender, RtpStreamReceiver rtp_receiver, org.zoolu.tools.Log logger)
          Costructs the audio launcher
 
Method Summary
 boolean startMedia()
          Starts media application
 boolean stopMedia()
          Stops media application
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TONE

public static final java.lang.String TONE
Test tone

tone_freq

public static int tone_freq
Test tone frequency [Hz]

tone_amp

public static double tone_amp
Test tone ampliture (from 0.0 to 1.0)
Constructor Detail

JAudioLauncher

public JAudioLauncher(RtpStreamSender rtp_sender,
                      RtpStreamReceiver rtp_receiver,
                      org.zoolu.tools.Log logger)
Costructs the audio launcher

JAudioLauncher

public JAudioLauncher(int local_port,
                      java.lang.String remote_addr,
                      int remote_port,
                      int direction,
                      org.zoolu.tools.Log logger)
Costructs the audio launcher

JAudioLauncher

public JAudioLauncher(int local_port,
                      java.lang.String remote_addr,
                      int remote_port,
                      int direction,
                      java.lang.String audiofile_in,
                      java.lang.String audiofile_out,
                      int sample_rate,
                      int sample_size,
                      int frame_size,
                      org.zoolu.tools.Log logger)
Costructs the audio launcher
Method Detail

startMedia

public boolean startMedia()
Starts media application
Specified by:
startMedia in interface MediaLauncher

stopMedia

public boolean stopMedia()
Stops media application
Specified by:
stopMedia in interface MediaLauncher