arduino-audio-tools
Public Member Functions | Public Attributes | List of all members
ResampleConfig Struct Reference

Optional Configuration object. The critical information is the channels and the step_size. All other information is not used. More...

#include <ResampleStream.h>

Inheritance diagram for ResampleConfig:
AudioInfo

Public Member Functions

void copyFrom (AudioInfo info)
 Same as set.
 
virtual void logInfo (const char *source=nullptr)
 
bool operator!= (AudioInfo alt)
 
bool operator== (AudioInfo alt)
 
void set (AudioInfo info)
 Copies the values from info.
 
void setAudioInfo (AudioInfo info)
 Same as set.
 

Public Attributes

int bits_per_sample =16
 
int buffer_size = DEFAULT_BUFFER_SIZE
 
int channels = 0
 
int sample_rate = 0
 
float step_size = 1.0f
 
int to_sample_rate = 0
 Optional fixed target sample rate.
 

Detailed Description

Optional Configuration object. The critical information is the channels and the step_size. All other information is not used.


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