Foxen FLAC Decoder using https://github.com/astoeckel/libfoxenflac Unlike FLACDecoder which is a streaming decoder, this is a simple AudioDecoder implementation.
More...
#include <CodecFLACFoxen.h>
|
| int | id |
| | custom id to be used by application
|
| |
Foxen FLAC Decoder using https://github.com/astoeckel/libfoxenflac Unlike FLACDecoder which is a streaming decoder, this is a simple AudioDecoder implementation.
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ FLACDecoderFoxen() [1/2]
◆ FLACDecoderFoxen() [2/2]
◆ ~FLACDecoderFoxen()
Destructor - calls end();.
◆ addNotifyAudioChange()
Adds target to be notified about audio changes.
Reimplemented in CodecNOP, EncodedAudioOutput, EncodedAudioStream, AACDecoderFDK, DecoderBasic, CodecChain, MP3DecoderHelix, MP3DecoderMAD, OggContainerDecoder, RTSPClient< TcpClient, UdpSocket >, Pipeline, and Pipeline::ModifyingStreamAdapter.
◆ audioInfo()
|
|
inlineoverridevirtualinherited |
provides the actual input AudioInfo
Implements AudioInfoSupport.
Reimplemented in CodecNOP, DecoderBasic, DSFDecoder, MP3DecoderHelix, MP3DecoderMAD, OpusAudioDecoder, VorbisDecoder, WAVDecoder, WavIMADecoder, OggContainerDecoder, and VorbisDecoder.
◆ audioInfoOut()
provides the actual output AudioInfo: this is usually the same as audioInfo() unless we use a transforming stream
Reimplemented in PureDataStream, PWMAudioOutput, ChannelFormatConverterStreamT< T >, ChannelFormatConverterStream, NumberFormatConverterStreamT< TFrom, TTo >, NumberFormatConverterStream, FormatConverterStream, Pipeline, ResampleStream, and ResampleStreamT< TInterpolator >.
◆ begin() [1/2]
◆ begin() [2/2]
|
|
inlineoverridevirtualinherited |
◆ clearNotifyAudioChange()
◆ decode()
◆ end()
◆ flush()
◆ getOutput()
◆ isNotifyActive()
Checks if the automatic AudioInfo update is active.
◆ isResultPCM()
◆ notifyAudioChange()
◆ operator bool()
◆ processMetadata()
◆ removeNotifyAudioChange()
◆ set32Bit()
Select between 16 and 32 bit output: the default is 16 bits.
◆ setAudioInfo()
|
|
inlineoverridevirtualinherited |
◆ setCodecConfig()
Some decoders need e.g. a magic cookie to provide the relevant info for decoding.
Reimplemented in DecoderALAC, and MultiDecoder.
◆ setInBufferSize()
Defines the input buffer size (default is 2k)
◆ setMaxBlockSize()
Defines the maximum FLAC blocksize: drives the buffer allocation.
◆ setMaxChannels()
Defines the maximum number of channels: drives the buffer allocation.
◆ setNotifyActive()
Deactivate/Reactivate automatic AudioInfo updates: (default is active)
◆ setOutBufferSize()
Defines the number of 32 bit samples for providing the result (default is 4k)
◆ setOutput() [1/3]
◆ setOutput() [2/3]
◆ setOutput() [3/3]
|
|
inlineoverridevirtualinherited |
Defines where the decoded result is written to.
Implements AudioWriter.
Reimplemented in DecoderBase64, MP3DecoderMAD, DecoderAdapter, CodecNOP, ADPCMDecoderXQ, APTXDecoder, Codec2Decoder, CopyDecoder, G722Decoder, GSMDecoder, ILBCDecoder, LC3Decoder, DecoderNetworkFormat, SBCDecoder, WavIMADecoder, AACDecoderFDK, AACDecoderHelix, ADPCMDecoder, ADTSDecoder, DecoderBasic, CodecChain, DecoderFloat, G7xxDecoder, DecoderL16, MTSDecoder, OpusAudioDecoder, MTSDecoderTSDemux, WAVDecoder, AVIDecoder, ContainerM4A, MultiDecoder, MetaDataFilterDecoder, MP3DecoderMini, BinaryContainerDecoder, OSCContainerDecoder, MP3DecoderHelix, and OggContainerDecoder.
◆ write()
◆ write16BitData()
◆ write32BitData()
◆ writeBlocking()
◆ bits_eff
◆ flac
◆ foxen_data
◆ id
custom id to be used by application
◆ in_buffer_size
| int in_buffer_size = 1024 * 2 |
|
protected |
◆ info
◆ is_active
◆ is_convert_to_16
◆ is_notify_active
◆ is_release_memory_on_end
◆ is_stop_on_error
◆ max_block_size
| int max_block_size = 5 * 1024 |
|
protected |
◆ max_channels
◆ notify_vector
◆ out
◆ out_buffer_size
| int out_buffer_size = 1024 * 4 |
|
protected |
◆ p_print
◆ write_buffer
The documentation for this class was generated from the following file: