Public Member Functions | Protected Attributes | List of all members
HexDumpOutput Class Reference

Creates a Hex Dump. More...

#include <AudioOutput.h>

Inheritance diagram for HexDumpOutput:
AudioOutput Print AudioInfoSupport AudioInfoSource

Public Member Functions

 HexDumpOutput (int buffer_size=DEFAULT_BUFFER_SIZE, bool active=true)
 HexDumpOutput (Print &out, int buffer_size=DEFAULT_BUFFER_SIZE, bool active=true)
virtual AudioInfo audioInfo () override
virtual int availableForWrite () override
bool begin () override
virtual bool begin (AudioInfo info)
AudioInfo defaultConfig (RxTxMode mode=TX_MODE)
virtual void end ()
void flush () override
virtual bool isDeletable ()
 If true we need to release the related memory in the destructor.
 operator bool ()
virtual void setAudioInfo (AudioInfo info) override
virtual void setNotifyAudioChange (AudioInfoSupport &bi) override
virtual bool validate (AudioInfo &info)
virtual size_t write (const uint8_t *data, size_t len) override
virtual size_t write (uint8_t ch) override
virtual void writeSilence (size_t len)

Protected Attributes

AudioInfo cfg
bool is_active = false
Printout_ptr = &Serial
AudioInfoSupportp_notify = nullptr
int pos = 0
SingleBuffer< uint8_t > tmp {MAX_SINGLE_CHARS}
int tmpPos = 0

Detailed Description

Creates a Hex Dump.

Phil Schatzmann

Member Function Documentation

◆ writeSilence()

virtual void writeSilence ( size_t  len)

Writes n 0 values (= silence)


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