mohan-bee/mini-mp3-player

Portable, battery-powered MP3 player hardware with USB charging, microSD storage, an MCU, VS10xx audio decoder, headphone output, status controls, and regulated power rails.

Version
1.2.0
License
unset
Stars
0

firmware/include/decoder.h

#ifndef PLAYER_DECODER_H
#define PLAYER_DECODER_H
#include <stdbool.h>
#include <stdint.h>
bool decoder_init(uint8_t attenuation);
bool decoder_volume(uint8_t attenuation);
bool decoder_send(const uint8_t *bytes,unsigned count);
void decoder_off(void);
#endif