Leviathan game engine
Leviathan::OpusCodec Class Reference

Opus audio codec. More...

#include <Codec.h>

+ Inheritance diagram for Leviathan::OpusCodec:


struct  Implementation

Public Member Functions

DLLEXPORT OpusCodec ()
DLLEXPORT ~OpusCodec ()
- Public Member Functions inherited from Leviathan::Codec
 Codec ()=default
 Codec (const Codec &other)=delete
Codecoperator= (const Codec &other)=delete
virtual bool FeedRawFrame (const uint8_t *data, size_t length)=0
 Sends the raw data frame to the codec. More...
virtual void ReceiveDecodedFrames (FrameCallback callback)=0
 Returns decoded frames one by one after they are ready. More...

Additional Inherited Members

- Public Types inherited from Leviathan::Codec
using FrameCallback = std::function< bool(const DecodedFrame &frame)>

Detailed Description

Opus audio codec.

Implement this, currently this has no implementation

Definition at line 115 of file Codec.h.

Constructor & Destructor Documentation

◆ OpusCodec()

DLLEXPORT OpusCodec::OpusCodec ( )

Definition at line 344 of file Codec.cpp.

344 : Pimpl(std::make_unique<Implementation>()) {}

◆ ~OpusCodec()

DLLEXPORT OpusCodec::~OpusCodec ( )

Definition at line 346 of file Codec.cpp.

346 {}

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