|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.qtunes.speaker.spi.justeport.AirtunesManager
public class AirtunesManager
Marshalling service for one or more individual Airports. Protocol details: see http://blog.technologeek.org/airtunes-v2 http://git.zx2c4.com/Airtunes2/about
Constructor Summary | |
---|---|
AirtunesManager()
|
Method Summary | |
---|---|
void |
addSpeaker(String name,
String host,
int port,
String password,
float gain)
Add the named speaker to this set |
void |
clear()
Clear anything in the packet queue and stop playing immediately |
void |
drain()
Drain the queue until all playing has finished |
void |
removeSpeaker(String name)
Remove the named Speaker from this set |
void |
sendAudioPacket(byte[] buf,
int off,
int len,
boolean bigendian)
Send an audio packet to the speakers |
void |
setGain(String name,
float gain)
Set the gain for the specified speaker |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AirtunesManager()
Method Detail |
---|
public void addSpeaker(String name, String host, int port, String password, float gain) throws IOException
IOException
public void removeSpeaker(String name) throws IOException
IOException
public void setGain(String name, float gain) throws IOException
IOException
public void sendAudioPacket(byte[] buf, int off, int len, boolean bigendian) throws IOException
IOException
public void clear() throws IOException
IOException
public void drain() throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |