org.qtunes.speaker.spi.airport
Class AirtunesManager

java.lang.Object
  extended by org.qtunes.speaker.spi.airport.AirtunesManager

public class AirtunesManager
extends java.lang.Object

Marshalling service for one or more individual Airports. Protocol details: see http://blog.technologeek.org/airtunes-v2 http://git.zx2c4.com/Airtunes2/about


Method Summary
 void clear()
          Clear anything in the packet queue and stop playing immediately
 void drain()
          Drain the queue until all playing has finished
 void sendAudioPacket(byte[] buf, int off, int len, boolean bigendian)
          Send an audio packet to the speakers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

clear

public void clear()
Clear anything in the packet queue and stop playing immediately


drain

public void drain()
Drain the queue until all playing has finished


sendAudioPacket

public void sendAudioPacket(byte[] buf,
                            int off,
                            int len,
                            boolean bigendian)
Send an audio packet to the speakers