YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.upnp.server.renderingcontrol.RendererVolume Interface Reference

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...

Inheritance diagram for de.yaacc.upnp.server.renderingcontrol.RendererVolume:
Inheritance graph
Collaboration diagram for de.yaacc.upnp.server.renderingcontrol.RendererVolume:
Collaboration graph

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().
 

Detailed Description

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.

Member Function Documentation

◆ getPercent()

int de.yaacc.upnp.server.renderingcontrol.RendererVolume.getPercent ( )

◆ isMuted()

boolean de.yaacc.upnp.server.renderingcontrol.RendererVolume.isMuted ( )

◆ peekMuted()

default boolean de.yaacc.upnp.server.renderingcontrol.RendererVolume.peekMuted ( )

As isMuted(), without waking anything; see peekPercent().

Implemented in de.yaacc.upnp.server.renderingcontrol.OutputRoutedVolume.

◆ peekPercent()

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.

Here is the call graph for this function:

◆ setPercent()

void de.yaacc.upnp.server.renderingcontrol.RendererVolume.setPercent ( int desired)
Parameters
desired0 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().

Here is the caller graph for this function:

◆ wakeNow()

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().

Here is the caller graph for this function:

The documentation for this interface was generated from the following file: