MillicastSDK 2.0.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
PrivateAudioRenderer Class Reference

The PrivateAudioRenderer class is responsible for handling and rendering audio data in a private manner. More...

#include <Private+Renderer.h>

Inheritance diagram for PrivateAudioRenderer:
Inheritance graph
[legend]
Collaboration diagram for PrivateAudioRenderer:
Collaboration graph
[legend]

Public Member Functions

 PrivateAudioRenderer (id< MCAudioRenderer > callback)
 
void on_frame (const millicast::AudioFrame &audio_frame) override
 Called when a new audio frame becomes available.
 
 ~PrivateAudioRenderer () override=default
 
- Public Member Functions inherited from millicast::AudioRenderer
 AudioRenderer ()=default
 
virtual ~AudioRenderer ()=default
 
virtual void on_frame (const AudioFrame &frame)=0
 Called when a new audio frame becomes available.
 

Detailed Description

The PrivateAudioRenderer class is responsible for handling and rendering audio data in a private manner.

Constructor & Destructor Documentation

◆ PrivateAudioRenderer()

PrivateAudioRenderer::PrivateAudioRenderer ( id< MCAudioRenderer callback)
explicit

◆ ~PrivateAudioRenderer()

PrivateAudioRenderer::~PrivateAudioRenderer ( )
overridedefault

Member Function Documentation

◆ on_frame()

void PrivateAudioRenderer::on_frame ( const millicast::AudioFrame frame)
overridevirtual

Called when a new audio frame becomes available.

Parameters
frameThe audio frame.

Implements millicast::AudioRenderer.


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