MillicastSDK 2.0.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
millicast::AudioRenderer Class Referenceabstract

The AudioRenderer class is responsible for rendering audio in a specific way in your application. More...

#include <renderer.h>

Inheritance diagram for millicast::AudioRenderer:
Inheritance graph
[legend]

Public Member Functions

 AudioRenderer ()=default
 
virtual ~AudioRenderer ()=default
 
virtual void on_frame (const AudioFrame &frame)=0
 Called when a new audio frame becomes available.
 

Detailed Description

The AudioRenderer class is responsible for rendering audio in a specific way in your application.

Remarks
We recommend using AudioPlayback for rendering audio.
See also
AudioPlayback

Constructor & Destructor Documentation

◆ AudioRenderer()

millicast::AudioRenderer::AudioRenderer ( )
default

◆ ~AudioRenderer()

virtual millicast::AudioRenderer::~AudioRenderer ( )
virtualdefault

Member Function Documentation

◆ on_frame()

virtual void millicast::AudioRenderer::on_frame ( const AudioFrame frame)
pure virtual

Called when a new audio frame becomes available.

Parameters
frameThe audio frame.

Implemented in PrivateAudioRenderer.


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