DecoderL8 - Converts an 8 Bit Stream into 16Bits Most microcontrollers can not output 8 bit data directly. 8 bit data however is very memory efficient and helps if you need to store audio on constrained resources. This decoder translates 8bit data into 16bit data. By default the encoded data is represented as uint8_t, so the values are from 0 to 255.
More...
#include <CodecL8.h>
|
void | writeBlocking (Print *out, uint8_t *data, size_t len) |
|
DecoderL8 - Converts an 8 Bit Stream into 16Bits Most microcontrollers can not output 8 bit data directly. 8 bit data however is very memory efficient and helps if you need to store audio on constrained resources. This decoder translates 8bit data into 16bit data. By default the encoded data is represented as uint8_t, so the values are from 0 to 255.
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ DecoderL8() [1/2]
Construct a new DecoderL8 object.
- Parameters
-
out_stream | Output Stream to which we write the decoded result |
◆ DecoderL8() [2/2]
Construct a new DecoderL8 object.
- Parameters
-
out_stream | Output Stream to which we write the decoded result |
bi | Object that will be notified about the Audio Formt (Changes) |
◆ setSigned()
void setSigned |
( |
bool |
isSigned | ) |
|
|
inline |
By default the encoded values are unsigned, but you can change them to signed
The documentation for this class was generated from the following file: