YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.multiroom.codec.DefaultDecoderFactory Class Reference

pcm is decoded here; flac, opus and ogg go to the platform factory given (or are unavailable when there is none). More...

Inheritance diagram for de.yaacc.multiroom.codec.DefaultDecoderFactory:
Inheritance graph
Collaboration diagram for de.yaacc.multiroom.codec.DefaultDecoderFactory:
Collaboration graph

Public Member Functions

 DefaultDecoderFactory (DecoderFactory platform)
 
FrameDecoder create (CodecHeader header, int maxFramesPerChunk) throws DecoderException
 
- Public Member Functions inherited from de.yaacc.multiroom.codec.DecoderFactory

Detailed Description

pcm is decoded here; flac, opus and ogg go to the platform factory given (or are unavailable when there is none).

Constructor & Destructor Documentation

◆ DefaultDecoderFactory()

de.yaacc.multiroom.codec.DefaultDecoderFactory.DefaultDecoderFactory ( DecoderFactory platform)
Parameters
platformmakes the decoders of the compressed codecs; null when the platform has none

Member Function Documentation

◆ create()

FrameDecoder de.yaacc.multiroom.codec.DefaultDecoderFactory.create ( CodecHeader header,
int maxFramesPerChunk ) throws DecoderException
Parameters
maxFramesPerChunkthe most frames one chunk may decode to (derived from the validated rate by the engine)
Exceptions
DecoderExceptionUNAVAILABLE when the device has no decoder, BAD_HEADER when the header is refused

Implements de.yaacc.multiroom.codec.DecoderFactory.

Here is the call graph for this function:

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