arduino-simple-tts

Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
simple_tts::AudioStreamFileWrapper< T > Class Template Reference

A simple Wrapper that let's a file pretend to be a AudioStream to support the begin and end methods. More...

`#include <AudioDictionarySD.h>`

Inheritance diagram for simple_tts::AudioStreamFileWrapper< T >:

## Public Member Functions
virtual bool | begin (T &file)
virtual bool | begin () override
virtual void | end () override
virtual size_t | readBytes (uint8_t *buffer, size_t length) override
virtual size_t | write (const uint8_t *buffer, size_t length) override
virtual int | available () override
virtual int | availableForWrite () override
| operator bool ()

## Protected Attributes
T * | p_file = nullptr

## Detailed Description

template<class T>
class simple_tts::AudioStreamFileWrapper< T >

A simple Wrapper that let's a file pretend to be a AudioStream to support the begin and end methods.

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

- src/AudioDictionarySD.h