all: remove unused functions from includes
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
This commit is contained in:
@@ -1,44 +1,4 @@
|
||||
#include <stdint.h>
|
||||
#include "playback.h"
|
||||
|
||||
/**
|
||||
* Set decoder parameters for MP3.
|
||||
*
|
||||
* \param decoder Structure to store parameters.
|
||||
*/
|
||||
void setMp3(struct decoder_fn* decoder);
|
||||
|
||||
/**
|
||||
* Initialise MP3 decoder.
|
||||
*
|
||||
* \param file Location of MP3 file to play.
|
||||
* \return 0 on success, else failure.
|
||||
*/
|
||||
int initMp3(const char* file);
|
||||
|
||||
/**
|
||||
* Get sampling rate of MP3 file.
|
||||
*
|
||||
* \return Sampling rate.
|
||||
*/
|
||||
uint32_t rateMp3(void);
|
||||
|
||||
/**
|
||||
* Get number of channels of MP3 file.
|
||||
*
|
||||
* \return Number of channels for opened file.
|
||||
*/
|
||||
uint8_t channelMp3(void);
|
||||
|
||||
/**
|
||||
* Decode part of open MP3 file.
|
||||
*
|
||||
* \param buffer Decoded output.
|
||||
* \return Samples read for each channel.
|
||||
*/
|
||||
uint64_t decodeMp3(void* buffer);
|
||||
|
||||
/**
|
||||
* Free MP3 decoder.
|
||||
*/
|
||||
void exitMp3(void);
|
||||
|
||||
Reference in New Issue
Block a user