public abstract class AbstractAudioRenderingControl extends Object implements LastChangeDelegator
Modifier and Type | Field and Description |
---|---|
protected PropertyChangeSupport |
propertyChangeSupport |
Modifier | Constructor and Description |
---|---|
protected |
AbstractAudioRenderingControl() |
protected |
AbstractAudioRenderingControl(LastChange lastChange) |
protected |
AbstractAudioRenderingControl(PropertyChangeSupport propertyChangeSupport) |
protected |
AbstractAudioRenderingControl(PropertyChangeSupport propertyChangeSupport,
LastChange lastChange) |
Modifier and Type | Method and Description |
---|---|
void |
appendCurrentState(LastChange lc,
org.fourthline.cling.model.types.UnsignedIntegerFourBytes instanceId) |
protected Channel |
getChannel(String channelName) |
protected abstract Channel[] |
getCurrentChannels() |
static org.fourthline.cling.model.types.UnsignedIntegerFourBytes |
getDefaultInstanceID() |
LastChange |
getLastChange() |
boolean |
getLoudness(org.fourthline.cling.model.types.UnsignedIntegerFourBytes instanceId,
String channelName) |
abstract boolean |
getMute(org.fourthline.cling.model.types.UnsignedIntegerFourBytes instanceId,
String channelName) |
PropertyChangeSupport |
getPropertyChangeSupport() |
abstract org.fourthline.cling.model.types.UnsignedIntegerTwoBytes |
getVolume(org.fourthline.cling.model.types.UnsignedIntegerFourBytes instanceId,
String channelName) |
Integer |
getVolumeDB(org.fourthline.cling.model.types.UnsignedIntegerFourBytes instanceId,
String channelName) |
VolumeDBRange |
getVolumeDBRange(org.fourthline.cling.model.types.UnsignedIntegerFourBytes instanceId,
String channelName) |
String |
listPresets(org.fourthline.cling.model.types.UnsignedIntegerFourBytes instanceId) |
void |
selectPreset(org.fourthline.cling.model.types.UnsignedIntegerFourBytes instanceId,
String presetName) |
void |
setLoudness(org.fourthline.cling.model.types.UnsignedIntegerFourBytes instanceId,
String channelName,
boolean desiredLoudness) |
abstract void |
setMute(org.fourthline.cling.model.types.UnsignedIntegerFourBytes instanceId,
String channelName,
boolean desiredMute) |
abstract void |
setVolume(org.fourthline.cling.model.types.UnsignedIntegerFourBytes instanceId,
String channelName,
org.fourthline.cling.model.types.UnsignedIntegerTwoBytes desiredVolume) |
void |
setVolumeDB(org.fourthline.cling.model.types.UnsignedIntegerFourBytes instanceId,
String channelName,
Integer desiredVolumeDB) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCurrentInstanceIds
protected final PropertyChangeSupport propertyChangeSupport
protected AbstractAudioRenderingControl()
protected AbstractAudioRenderingControl(LastChange lastChange)
protected AbstractAudioRenderingControl(PropertyChangeSupport propertyChangeSupport)
protected AbstractAudioRenderingControl(PropertyChangeSupport propertyChangeSupport, LastChange lastChange)
public LastChange getLastChange()
getLastChange
in interface LastChangeDelegator
public void appendCurrentState(LastChange lc, org.fourthline.cling.model.types.UnsignedIntegerFourBytes instanceId) throws Exception
appendCurrentState
in interface LastChangeDelegator
Exception
public PropertyChangeSupport getPropertyChangeSupport()
public static org.fourthline.cling.model.types.UnsignedIntegerFourBytes getDefaultInstanceID()
public String listPresets(org.fourthline.cling.model.types.UnsignedIntegerFourBytes instanceId) throws RenderingControlException
RenderingControlException
public void selectPreset(org.fourthline.cling.model.types.UnsignedIntegerFourBytes instanceId, String presetName) throws RenderingControlException
RenderingControlException
public abstract boolean getMute(org.fourthline.cling.model.types.UnsignedIntegerFourBytes instanceId, String channelName) throws RenderingControlException
RenderingControlException
public abstract void setMute(org.fourthline.cling.model.types.UnsignedIntegerFourBytes instanceId, String channelName, boolean desiredMute) throws RenderingControlException
RenderingControlException
public abstract org.fourthline.cling.model.types.UnsignedIntegerTwoBytes getVolume(org.fourthline.cling.model.types.UnsignedIntegerFourBytes instanceId, String channelName) throws RenderingControlException
RenderingControlException
public abstract void setVolume(org.fourthline.cling.model.types.UnsignedIntegerFourBytes instanceId, String channelName, org.fourthline.cling.model.types.UnsignedIntegerTwoBytes desiredVolume) throws RenderingControlException
RenderingControlException
public Integer getVolumeDB(org.fourthline.cling.model.types.UnsignedIntegerFourBytes instanceId, String channelName) throws RenderingControlException
RenderingControlException
public void setVolumeDB(org.fourthline.cling.model.types.UnsignedIntegerFourBytes instanceId, String channelName, Integer desiredVolumeDB) throws RenderingControlException
RenderingControlException
public VolumeDBRange getVolumeDBRange(org.fourthline.cling.model.types.UnsignedIntegerFourBytes instanceId, String channelName) throws RenderingControlException
RenderingControlException
public boolean getLoudness(org.fourthline.cling.model.types.UnsignedIntegerFourBytes instanceId, String channelName) throws RenderingControlException
RenderingControlException
public void setLoudness(org.fourthline.cling.model.types.UnsignedIntegerFourBytes instanceId, String channelName, boolean desiredLoudness) throws RenderingControlException
RenderingControlException
protected abstract Channel[] getCurrentChannels()
protected Channel getChannel(String channelName) throws RenderingControlException
RenderingControlException
Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.