|
YAACC - UPNP Client and Server
|
The volume and the mute state of what the renderer plays on: the system's music stream of this device (SystemVolume) or the group of a Snapcast server (OutputRoutedVolume decides).
More...


Public Member Functions | |
| int | getPercent () |
| boolean | isMuted () |
| void | setPercent (int desired) |
| void | setMuted (boolean mute) |
| default int | peekPercent () |
As getPercent(), for the check that reports a change to the controllers (the RenderingControl event): it reads and never wakes a connection. | |
| default void | wakeNow () |
| A control point subscribed to the renderer's events: if the volume lives on a server, make sure its connection is up (once, not at every change). | |
| default boolean | peekMuted () |
As isMuted(), without waking anything; see peekPercent(). | |
The volume and the mute state of what the renderer plays on: the system's music stream of this device (SystemVolume) or the group of a Snapcast server (OutputRoutedVolume decides).
The volume is 0 to 100.
| int de.yaacc.upnp.server.renderingcontrol.RendererVolume.getPercent | ( | ) |
Implemented in de.yaacc.upnp.server.renderingcontrol.OutputRoutedVolume, and de.yaacc.upnp.server.renderingcontrol.SystemVolume.
Referenced by de.yaacc.upnp.server.renderingcontrol.RendererVolume.peekPercent().

| boolean de.yaacc.upnp.server.renderingcontrol.RendererVolume.isMuted | ( | ) |
Implemented in de.yaacc.upnp.server.renderingcontrol.SystemVolume.
| default boolean de.yaacc.upnp.server.renderingcontrol.RendererVolume.peekMuted | ( | ) |
As isMuted(), without waking anything; see peekPercent().
Implemented in de.yaacc.upnp.server.renderingcontrol.OutputRoutedVolume.
| default int de.yaacc.upnp.server.renderingcontrol.RendererVolume.peekPercent | ( | ) |
As getPercent(), for the check that reports a change to the controllers (the RenderingControl event): it reads and never wakes a connection.
A read that a change event made must not cause the next change event.
Implemented in de.yaacc.upnp.server.renderingcontrol.OutputRoutedVolume.

| void de.yaacc.upnp.server.renderingcontrol.RendererVolume.setPercent | ( | int | desired | ) |
| desired | 0 to 100, other values are cut to it |
Implemented in de.yaacc.upnp.server.renderingcontrol.OutputRoutedVolume, and de.yaacc.upnp.server.renderingcontrol.SystemVolume.
Referenced by de.yaacc.upnp.server.renderingcontrol.OutputRoutedVolume.setPercent().

| default void de.yaacc.upnp.server.renderingcontrol.RendererVolume.wakeNow | ( | ) |
A control point subscribed to the renderer's events: if the volume lives on a server, make sure its connection is up (once, not at every change).
Nothing for the system volume.
Implemented in de.yaacc.upnp.server.renderingcontrol.OutputRoutedVolume.
Referenced by de.yaacc.upnp.server.openhome.AndroidOpenHomeHost.wakeNow().
