Mp3Player Object.
More...
#include <mp3player.h>
|
| Mp3Player () |
| Construct a new Mp 3 Player object. More...
|
|
void | initPlay () |
| Initialize playing. More...
|
|
void | resume () |
| Mp3 resume play. More...
|
|
void | bufferProcess () |
| Buffer Process - Refill Filebuffer by extractiong from TCP Ringbuffer. More...
|
|
void | audioProcess () |
| Decode 2304 Bytes in one step once indicated through. DMA interrupts that they have been consumed (= played out) More...
|
|
void | extractTcpBuffer (uint8_t *data, uint32_t btr) |
| This function is used to close the tcp connection with server. More...
|
|
void | deleteTcpBuffer (void) |
| Delete TCP Buffer. More...
|
|
void | insertTcpBuffer (uint8_t *data, uint32_t btw) |
| This function is used to close the tcp connection with server. More...
|
|
void | drawFTT (int32_t inx, int32_t *x, int32_t *ly, int32_t ll, int32_t *ry, int32_t rr, int32_t height, int32_t FFTGraph) |
| This function generate the parameters to be able to draw a FFT graph. More...
|
|
void | drawVuMeter (float *angle_L, float *angle_R) |
| This function generate the parameters to be able to draw a volume unit meter graph. More...
|
|
void | getEtherAndBuffer (void) |
| It handles the LwIP process and the buffer process. More...
|
|
void | drawSpectrum (void) |
| Draw Spectrum, i.e. FFT graph as computed here Note correct scaling only for 48 kHz sampling frequency! More...
|
|
|
uint8_t | init (uint32_t AudioFreq) |
| Initialize the Audio codec. More...
|
|
◆ init()
uint8_t Mp3Player::init |
( |
uint32_t |
AudioFreq | ) |
|
|
inlineprivate |
Initialize the Audio codec.
- Parameters
-
- Returns
- uint8_t Returns 1 if success, 0 otherwise.
The documentation for this class was generated from the following files: