Opus Encoder which uses the Ogg Container: see https://datatracker.ietf.org/doc/html/rfc7845 Dependency: https://github.com/pschatzmann/arduino-libopus.
More...
#include <CodecOpusOgg.h>
Opus Encoder which uses the Ogg Container: see https://datatracker.ietf.org/doc/html/rfc7845 Dependency: https://github.com/pschatzmann/arduino-libopus.
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ OpusOggEncoder()
◆ audioInfo()
|
|
inlineoverridevirtualinherited |
◆ audioInfoOut()
provides the actual output AudioInfo: this is usually the same as audioInfo() unless we use a transforming stream
Reimplemented in MP3EncoderShine, PureDataStream, PWMAudioOutput< PWMDriverT >, ChannelFormatConverterStreamT< T >, ChannelFormatConverterStream, NumberFormatConverterStreamT< TFrom, TTo >, NumberFormatConverterStream, FormatConverterStream, Pipeline, ResampleStream, ResampleStreamT< TInterpolator >, and SupportedRatesStream.
◆ begin() [1/2]
◆ begin() [2/2]
◆ config()
Provides access to the Opus config.
◆ end()
◆ frameDurationUs()
| uint32_t frameDurationUs |
( |
| ) |
|
|
inlineoverridevirtual |
provides the frame duration in us (e.g. for RTSP)
Reimplemented from AudioEncoder.
◆ isOpen()
◆ mime()
◆ operator bool()
|
|
inlineoverridevirtualinherited |
◆ samplesPerFrame()
| virtual uint16_t samplesPerFrame |
( |
| ) |
|
|
inlinevirtualinherited |
◆ setAudioInfo()
|
|
inlineoverridevirtualinherited |
We actually do nothing with this.
Reimplemented from AudioEncoder.
◆ setEncoder()
◆ setOggOutput()
Replace the ogg output class.
◆ setOutput()
| void setOutput |
( |
Print & |
print | ) |
|
|
inlineoverridevirtualinherited |
◆ write()
| virtual size_t write |
( |
const uint8_t * |
data, |
|
|
size_t |
len |
|
) |
| |
|
inlineoverridevirtualinherited |
Writes raw data to be encoded and packaged.
Implements AudioWriter.
◆ writeBlocking()
| void writeBlocking |
( |
Print * |
out, |
|
|
uint8_t * |
data, |
|
|
size_t |
len |
|
) |
| |
|
inlineprotectedinherited |
◆ enc
◆ info
◆ ogg
◆ ogg_writer
◆ p_codec
◆ p_ogg
The documentation for this class was generated from the following file: