|
YAACC - UPNP Client and Server
|
The codec that passes the PCM as it is: the CodecHeader is a RIFF WAVE header. More...


Public Member Functions | |
| Pcm (int sampleRate, int channels, int bitsPerSample) | |
| CodecHeaderMessage | header () |
| The CodecHeader that a client gets first. | |
| byte[] | encode (byte[] pcm) |
| The payload of the chunk for these PCM bytes (a whole chunk), or null when there is none (the chunk is left out). | |
Public Member Functions inherited from de.yaacc.snapcast.server.ChunkEncoder | |
| default void | close () |
| Frees what the encoder holds (a platform encoder); called when its stream ends. | |
The codec that passes the PCM as it is: the CodecHeader is a RIFF WAVE header.
| byte[] de.yaacc.snapcast.server.ChunkEncoder.Pcm.encode | ( | byte[] | pcm | ) |
The payload of the chunk for these PCM bytes (a whole chunk), or null when there is none (the chunk is left out).
Called by the thread of the stream only.
Implements de.yaacc.snapcast.server.ChunkEncoder.
| CodecHeaderMessage de.yaacc.snapcast.server.ChunkEncoder.Pcm.header | ( | ) |
The CodecHeader that a client gets first.
Implements de.yaacc.snapcast.server.ChunkEncoder.