Common functionality for PWM output. Please use the PWMAudioOutput typedef instead which references the implementation.
More...
#include <AudioPWM.h>
|
virtual AudioInfo | audioInfo () override |
|
int | availableForWrite () override |
|
bool | begin () |
|
virtual bool | begin (AudioInfo info) |
|
bool | begin (PWMConfig config) |
| starts the processing using Streams
|
|
PWMConfig | config () |
|
virtual PWMConfig | defaultConfig () |
|
PWMDriver * | driver () |
| Provides access to the driver.
|
|
virtual void | end () |
|
virtual void | flush () override |
|
uint32_t | framesPerSecond () |
|
virtual bool | isDeletable () |
| If true we need to release the related memory in the destructor.
|
|
| operator bool () |
|
virtual void | setAudioInfo (AudioInfo info) |
| updates the sample rate dynamically
|
|
virtual void | setNotifyAudioChange (AudioInfoSupport &bi) override |
|
uint32_t | underflowsPerSecond () |
|
virtual bool | validate (AudioInfo &info) |
|
size_t | write (const uint8_t *wrt_buffer, size_t size) override |
|
virtual size_t | write (uint8_t ch) override |
|
virtual void | writeSilence (size_t len) |
|
Common functionality for PWM output. Please use the PWMAudioOutput typedef instead which references the implementation.
◆ writeSilence()
virtual void writeSilence |
( |
size_t |
len | ) |
|
|
inlinevirtualinherited |
Writes n 0 values (= silence)
- Parameters
-
The documentation for this class was generated from the following file: