Skip to content

Class Ase::OpusWriter

ClassList > Ase > OpusWriter

Inherits the following classes: Ase::WaveWriter

Public Functions

Type Name
OpusWriter (const String & filename)
bool close () override
bool create (int mode)
bool finish_and_close (bool flush)
String name () override const
bool setup_encoder (int rate, int channels, int complexity, float bitrate)
ssize_t write (const float * frames, size_t n_frames) override
ssize_t write_header ()
ssize_t write_ogg (uint8_t * data, long l, bool force_flush)
ssize_t write_opus (const float * frames, size_t n_frames, bool force_flush)
ssize_t write_packet (ogg_packet * op, bool force_flush)
~OpusWriter ()

Public Functions Documentation

function OpusWriter

inline Ase::OpusWriter::OpusWriter (
    const String & filename
) 

function close

inline bool Ase::OpusWriter::close () override

function create

inline bool Ase::OpusWriter::create (
    int mode
) 

function finish_and_close

inline bool Ase::OpusWriter::finish_and_close (
    bool flush
) 

function name

inline String Ase::OpusWriter::name () override const

function setup_encoder

inline bool Ase::OpusWriter::setup_encoder (
    int rate,
    int channels,
    int complexity,
    float bitrate
) 

function write

inline ssize_t Ase::OpusWriter::write (
    const float * frames,
    size_t n_frames
) override

function write_header

inline ssize_t Ase::OpusWriter::write_header () 

function write_ogg

inline ssize_t Ase::OpusWriter::write_ogg (
    uint8_t * data,
    long l,
    bool force_flush
) 

function write_opus

inline ssize_t Ase::OpusWriter::write_opus (
    const float * frames,
    size_t n_frames,
    bool force_flush
) 

function write_packet

inline ssize_t Ase::OpusWriter::write_packet (
    ogg_packet * op,
    bool force_flush
) 

function ~OpusWriter

inline Ase::OpusWriter::~OpusWriter () 


The documentation for this class was generated from the following file /__w/anklang/anklang/ase/wave.cc