arduino-audio-tools
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs
AudioServerT.h File Reference
#include <string>
#include "AudioTools/AudioCodecs/CodecWAV.h"
#include "AudioTools/CoreAudio/AudioStreams.h"
#include "AudioTools/CoreAudio/StreamCopy.h"
#include "AudioToolsConfig.h"

Go to the source code of this file.

Classes

class  AudioServerT< Client, Server >
 A minimal, single-client HTTP server that streams audio (or any other data) to a browser or media player: in -copy> client. The data is provided either from an Arduino Stream or via an AudioServerDataCallback, and is copied to the connected client on each doLoop()/copy() call, so no threads or blocking loops are used. More...
 
class  ChunkedPrint
 Wraps a Print target and applies HTTP chunked transfer encoding framing (chunk-size in hex + CRLF + data + CRLF) to everything that is written to it. see https://en.wikipedia.org/wiki/Chunked_transfer_encoding. More...
 

Namespaces

namespace  audio_tools
 Generic Implementation of sound input and output for desktop environments using portaudio.
 

Typedefs

typedef void(* AudioServerDataCallback) (Print *out)
 Callback which writes the sound data to the stream.