Output class for the OggContainerEncoder. Each write is ending up as container entry.
More...
#include <ContainerOgg.h>
|
|
void | notifyAudioChange (AudioInfo info) |
| |
|
virtual bool | writeFooter () |
| |
|
virtual bool | writeHeader () |
| |
|
virtual bool | writePacket (ogg_packet &op, int flag=0) |
| |
|
|
static size_t | ogg_io_write (void *user_handle, void *buf, size_t n) |
| |
|
|
int | _timeout = 10 |
| |
|
AudioInfo | cfg |
| |
|
size_t | granulepos = 0 |
| |
|
bool | is_active = false |
| |
|
bool | is_audio = false |
| |
|
bool | is_notify_active = true |
| |
|
bool | is_open = false |
| |
|
Vector< AudioInfoSupport * > | notify_vector |
| |
|
ogg_packet | oh |
| |
|
ogg_packet | op |
| |
|
OGGZ * | p_oggz = nullptr |
| |
|
Print * | p_out = nullptr |
| |
|
size_t | packetno = 0 |
| |
|
long | serialno = -1 |
| |
|
SingleBuffer< uint8_t > | tmp {MAX_SINGLE_CHARS} |
| |
|
int | tmpPos = 0 |
| |
Output class for the OggContainerEncoder. Each write is ending up as container entry.
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ 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 |
◆ 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 >.
◆ availableForWrite()
| virtual int availableForWrite |
( |
| ) |
|
|
inlineoverridevirtualinherited |
◆ begin() [1/2]
◆ begin() [2/2]
◆ clearNotifyAudioChange()
| virtual void clearNotifyAudioChange |
( |
| ) |
|
|
inlinevirtualinherited |
◆ end()
◆ flush()
Reimplemented from Print.
◆ isDeletable()
| virtual bool isDeletable |
( |
| ) |
|
|
inlinevirtualinherited |
◆ operator bool()
| virtual operator bool |
( |
| ) |
|
|
inlinevirtualinherited |
◆ removeNotifyAudioChange()
◆ setAudioInfo()
|
|
inlineoverridevirtualinherited |
◆ write()
| virtual size_t write |
( |
const uint8_t * |
data, |
|
|
size_t |
len |
|
) |
| |
|
inlineoverridevirtual |
Writes raw data to be encoded and packaged.
Implements AudioOutput.
◆ writeSilence()
| virtual void writeSilence |
( |
size_t |
len | ) |
|
|
inlinevirtualinherited |
Writes n 0 values (= silence)
- Parameters
-
The documentation for this class was generated from the following file: