arduino-audio-tools
|
Direct binary Audio Output to stdout. On linux you can hear the audio e.g. with ./generator | aplay -f cd or reading data from stdin. More...
#include <StdioStream.h>
Public Member Functions | |
int | available () override |
int | availableForWrite () override |
bool | begin () |
AudioInfo | defaultConfig () |
void | end () |
virtual void | flush () override |
operator bool () | |
size_t | readBytes (uint8_t *data, size_t len) override |
size_t | write (const uint8_t *data, size_t len) override |
virtual size_t | write (uint8_t ch) override |
Protected Member Functions | |
void | refillReadBuffer () |
Protected Attributes | |
int | _timeout = 10 |
bool | is_open = false |
RingBuffer< uint8_t > | tmp_in {0} |
RingBuffer< uint8_t > | tmp_out {0} |
Direct binary Audio Output to stdout. On linux you can hear the audio e.g. with ./generator | aplay -f cd or reading data from stdin.