Simple Output Class which uses the AudioTools to build an output chain with volume control and a resampler.
More...
|
|
AudioInfo | audioInfo () |
| |
|
size_t | audioWrite (const void *src, size_t size) |
| |
| virtual bool | begin () |
| |
|
virtual void | end (void) |
| | Ends the processing and releases the memory.
|
| |
|
AudioDecoder & | getDecoder () |
| |
|
uint64_t | getLastWriteTime () |
| |
|
AudioOutput & | getOutput () |
| |
|
bool | isActive (uint16_t timeout=1000) |
| | checks if the audio is still playing
|
| |
|
bool | isMute () |
| | checks if volume is mute
|
| |
|
bool | isStarted () |
| |
|
void | setAudioInfo (AudioInfo info) |
| | setup of all audio objects
|
| |
|
void | setDecoder (AudioDecoder &dec) |
| | Defines the decoder class.
|
| |
|
void | setMute (bool mute) |
| | mute / unmute
|
| |
|
void | setOutput (AudioOutput &output) |
| | Defines the audio output chain to the final output.
|
| |
|
void | setSnapTimeSync (SnapTimeSync &timeSync) |
| | Defines the time synchronization logic.
|
| |
|
void | setVolume (float vol) |
| | Adjust the volume.
|
| |
|
void | setVolumeFactor (float fact) |
| | Adjust volume by factor e.g. 1.5.
|
| |
|
SnapTimeSync & | snapTimeSync () |
| |
| bool | synchronizePlayback () |
| |
|
float | volume () |
| | provides the actual volume
|
| |
|
virtual size_t | write (const uint8_t *data, size_t size) |
| | Writes audio data to the queue.
|
| |
|
virtual bool | writeHeader (SnapAudioHeader &header) |
| | Provides info about the audio data.
|
| |
Simple Output Class which uses the AudioTools to build an output chain with volume control and a resampler.
- Author
- Phil Schatzmann
- Version
- 0.1
- Date
- 2023-10-28
- Copyright
- Copyright (c) 2023