YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.multiroom.feed.FeedOutput Interface Reference

An open feed to the stream port of a server: the PcmFeeder in the app (PcmFeederOutput), a fake in a test. More...

Inheritance diagram for de.yaacc.multiroom.feed.FeedOutput:
Inheritance graph
Collaboration diagram for de.yaacc.multiroom.feed.FeedOutput:
Collaboration graph

Public Member Functions

boolean isRunning ()
 False once the feed failed or was closed.
 
int getQueuedBytes ()
 Bytes that wait to be sent.
 
default String statistics ()
 Counters for the log of a device test (chunks, silence, late chunks, re-anchors, dropped bytes): numbers only, never an address or a name.
 
void close ()
 Stops the feed and closes the connection.
 
- Public Member Functions inherited from de.yaacc.multiroom.feed.PcmSink
boolean write (byte[] data, int offset, int length)
 Hands over PCM.
 
void discard ()
 The audio handed over so far is stale (a seek, a stop, a flush of the player): drop what is waiting.
 

Detailed Description

An open feed to the stream port of a server: the PcmFeeder in the app (PcmFeederOutput), a fake in a test.

Member Function Documentation

◆ close()

void de.yaacc.multiroom.feed.FeedOutput.close ( )

Stops the feed and closes the connection.

May block for seconds: not on the main thread.

Implemented in de.yaacc.snapcast.feed.PcmFeederOutput.

◆ getQueuedBytes()

int de.yaacc.multiroom.feed.FeedOutput.getQueuedBytes ( )

Bytes that wait to be sent.

Implemented in de.yaacc.snapcast.feed.PcmFeederOutput.

◆ isRunning()

boolean de.yaacc.multiroom.feed.FeedOutput.isRunning ( )

False once the feed failed or was closed.

Implemented in de.yaacc.snapcast.feed.PcmFeederOutput.

Referenced by de.yaacc.snapcast.feed.SnapcastFeedController.isFeeding().

Here is the caller graph for this function:

◆ statistics()

default String de.yaacc.multiroom.feed.FeedOutput.statistics ( )

Counters for the log of a device test (chunks, silence, late chunks, re-anchors, dropped bytes): numbers only, never an address or a name.

Implemented in de.yaacc.snapcast.feed.PcmFeederOutput.


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