arduino-audio-tools
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
audio_tools::CodecNOP Class Reference

Dummpy no implmentation Codec. This is used so that we can initialize some pointers to decoders and encoders to make sure that they do not point to null. More...

#include <AudioEncoded.h>

Inheritance diagram for audio_tools::CodecNOP:
audio_tools::AudioDecoder audio_tools::AudioEncoder audio_tools::AudioWriter audio_tools::AudioBaseInfoSource audio_tools::AudioWriter

Public Member Functions

virtual AudioBaseInfo audioInfo ()
 
virtual void begin ()
 
virtual void end ()
 
virtual const char * mime ()
 
virtual operator bool ()
 
virtual int readStream (Stream &in)
 
virtual void setAudioInfo (AudioBaseInfo info)
 
virtual void setNotifyAudioChange (AudioBaseInfoDependent &bi)
 
virtual void setOutputStream (Print &out_stream)
 
virtual size_t write (const void *in_ptr, size_t in_size)
 
- Public Member Functions inherited from audio_tools::AudioDecoder
 AudioDecoder (AudioDecoder const &)=delete
 
virtual AudioBaseInfo audioInfo ()=0
 
virtual bool isResultPCM ()
 
AudioDecoderoperator= (AudioDecoder const &)=delete
 
virtual void setAudioInfo (AudioBaseInfo from) override
 
virtual void setOutputStream (AudioPrint &out_stream)
 
virtual void setOutputStream (AudioStream &out_stream)
 
virtual void setOutputStream (Print &out_stream) override=0
 
virtual void begin ()=0
 
virtual void end ()=0
 
virtual operator bool ()=0
 
virtual void setAudioInfo (AudioBaseInfo from)=0
 
virtual void setOutputStream (Print &out_stream)=0
 
virtual size_t write (const void *in_ptr, size_t in_size)=0
 
virtual void setNotifyAudioChange (AudioBaseInfoDependent &bi)=0
 
- Public Member Functions inherited from audio_tools::AudioEncoder
 AudioEncoder (AudioEncoder const &)=delete
 
virtual const char * mime ()=0
 
AudioEncoderoperator= (AudioEncoder const &)=delete
 

Static Public Member Functions

static CodecNOPinstance ()
 

Detailed Description

Dummpy no implmentation Codec. This is used so that we can initialize some pointers to decoders and encoders to make sure that they do not point to null.

Author
Phil Schatzmann

Member Function Documentation

◆ audioInfo()

virtual AudioBaseInfo audio_tools::CodecNOP::audioInfo ( )
inlinevirtual

◆ begin()

virtual void audio_tools::CodecNOP::begin ( )
inlinevirtual

◆ end()

virtual void audio_tools::CodecNOP::end ( )
inlinevirtual

◆ mime()

virtual const char * audio_tools::CodecNOP::mime ( )
inlinevirtual

◆ operator bool()

virtual audio_tools::CodecNOP::operator bool ( )
inlinevirtual

◆ setAudioInfo()

virtual void audio_tools::CodecNOP::setAudioInfo ( AudioBaseInfo  info)
inlinevirtual

Reimplemented from audio_tools::AudioDecoder.

◆ setNotifyAudioChange()

virtual void audio_tools::CodecNOP::setNotifyAudioChange ( AudioBaseInfoDependent bi)
inlinevirtual

◆ setOutputStream()

virtual void audio_tools::CodecNOP::setOutputStream ( Print out_stream)
inlinevirtual

◆ write()

virtual size_t audio_tools::CodecNOP::write ( const void *  in_ptr,
size_t  in_size 
)
inlinevirtual

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