No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
audio_tools::AudioWAVServerEx Class Reference

A powerfull WAV Web server which is based on It supports multiple concurrent clients. More...

#include <AudioServerEx.h>

Inheritance diagram for audio_tools::AudioWAVServerEx:
audio_tools::AudioServerEx audio_tools::AudioPrint audio_tools::Print audio_tools::AudioBaseInfoDependent audio_tools::AudioBaseInfoSource

Public Member Functions

 AudioWAVServerEx (const char *ssid, const char *pwd)
 To be compatible with legacy API.
bool begin (AudioServerExConfig cfg) override
bool begin (Stream &in, int sample_rate, int channels, int bits_per_sample=16)
 Legacy API support.
AudioServerExConfig defaultConfig () override
- Public Member Functions inherited from audio_tools::AudioServerEx
 AudioServerEx (const char *ssid, const char *pwd)
 To be compatible with legacy API.
int availableForWrite () override
virtual bool begin ()
virtual bool begin (AudioServerExConfig cfg)
virtual bool begin (Stream &in, const char *contentType)
virtual void copy ()
 Needs to be called if the data was provided as input Stream in the AudioServerExConfig.
virtual AudioServerExConfig defaultConfig ()
virtual void end ()
size_t write (const uint8_t *data, size_t len) override
 Web server supports write so that we can e.g. use is as destination for the audio player. More...
- Public Member Functions inherited from audio_tools::AudioPrint
virtual AudioBaseInfo audioInfo () override
virtual int availableForWrite () override
virtual bool doRelease ()
 If true we need to release the related memory. More...
virtual void flush ()
virtual void setAudioInfo (AudioBaseInfo info) override
virtual void setNotifyAudioChange (AudioBaseInfoDependent &bi) override
virtual size_t write (const uint8_t *buffer, size_t size) override=0
virtual size_t write (uint8_t ch) override
- Public Member Functions inherited from audio_tools::Print
virtual int availableForWrite ()
virtual void flush ()
virtual int print (char c, PrintCharFmt spec)
virtual int print (const char *msg)
virtual int print (int number)
virtual int println (const char *msg="")
virtual size_t write (const char *buffer, size_t size)
virtual size_t write (const char *str)
virtual size_t write (const uint8_t *buffer, size_t size)
virtual size_t write (uint8_t ch)
- Public Member Functions inherited from audio_tools::AudioBaseInfoDependent
virtual AudioBaseInfo audioInfo ()=0
virtual void setAudioInfo (AudioBaseInfo info)=0
virtual bool validate (AudioBaseInfo &info)
virtual void setNotifyAudioChange (AudioBaseInfoDependent &bi)=0

Protected Member Functions

virtual tinyhttp::Str * getReplyHeader ()
virtual tinyhttp::Str * getReplyHeader ()

Protected Attributes

tinyhttp::StrExt header
- Protected Attributes inherited from audio_tools::AudioServerEx
AudioServerExConfig info
HttpServer * p_server
ExtensionStream * p_stream =nullptr
WiFiServer wifi
- Protected Attributes inherited from audio_tools::AudioPrint
AudioBaseInfo cfg
AudioBaseInfoDependentp_notify =nullptr
uint8_t tmp [MAX_SINGLE_CHARS]
int tmpPos =0

Detailed Description

A powerfull WAV Web server which is based on It supports multiple concurrent clients.

Phil Schatzmann

Member Function Documentation

◆ begin()

bool audio_tools::AudioWAVServerEx::begin ( AudioServerExConfig  cfg)

Reimplemented from audio_tools::AudioServerEx.

◆ defaultConfig()

AudioServerExConfig audio_tools::AudioWAVServerEx::defaultConfig ( )

Reimplemented from audio_tools::AudioServerEx.

◆ getReplyHeader()

virtual tinyhttp::Str * audio_tools::AudioWAVServerEx::getReplyHeader ( )

Reimplemented from audio_tools::AudioServerEx.

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