arduino-audio-tools
Loading...
Searching...
No Matches
MultiDecoder::DecoderInfo Struct Reference

Information about a registered decoder. More...

#include <MultiDecoder.h>

Public Member Functions

 DecoderInfo ()=default
 Default constructor.
 DecoderInfo (const char *mime, AudioDecoder *decoder)
 Constructor with parameters.

Public Attributes

AudioDecoder * decoder = nullptr
 Pointer to the decoder instance.
bool is_open = false
 Whether the decoder is currently active.
const char * mime = nullptr
 MIME type for this decoder.

Detailed Description

Information about a registered decoder.

Constructor & Destructor Documentation

◆ DecoderInfo() [1/2]

DecoderInfo ( )
default

Default constructor.

◆ DecoderInfo() [2/2]

DecoderInfo ( const char * mime,
AudioDecoder * decoder )
inline

Constructor with parameters.

Parameters
mimeMIME type string
decoderPointer to AudioDecoder instance

Member Data Documentation

◆ decoder

AudioDecoder* decoder = nullptr

Pointer to the decoder instance.

◆ is_open

bool is_open = false

Whether the decoder is currently active.

◆ mime

const char* mime = nullptr

MIME type for this decoder.


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