Ring Daemon 16.0.0
Loading...
Searching...
No Matches
jami::debug::WavWriter Class Reference

Audio logger. More...

#include <debug_utils.h>

Collaboration diagram for jami::debug::WavWriter:
Collaboration graph

Public Member Functions

 WavWriter (const char *filename, AVFrame *frame)
 
void write (AVFrame *frame)
 
 ~WavWriter ()
 

Detailed Description

Audio logger.

Writes a wav file from raw PCM or AVFrame. Helps debug what goes wrong with audio.

Definition at line 76 of file debug_utils.h.

Constructor & Destructor Documentation

◆ WavWriter()

jami::debug::WavWriter::WavWriter ( const char filename,
AVFrame frame 
)
inline

Definition at line 78 of file debug_utils.h.

References jami::emitSignal(), and JAMI_WARNING.

Here is the call graph for this function:

◆ ~WavWriter()

jami::debug::WavWriter::~WavWriter ( )
inline

Definition at line 172 of file debug_utils.h.

References jami::emitSignal().

Here is the call graph for this function:

Member Function Documentation

◆ write()

void jami::debug::WavWriter::write ( AVFrame frame)
inline

Definition at line 146 of file debug_utils.h.

References av_packet_free(), jami::emitSignal(), and JAMI_ERROR.

Here is the call graph for this function:

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