2010-06-23 11:16:17 +02:00
|
|
|
/*
|
2015-03-07 21:32:58 +01:00
|
|
|
* latm.h: Frontend Status Monitor plugin for the Video Disk Recorder
|
2010-06-23 11:16:17 +02:00
|
|
|
*
|
|
|
|
* See the README file for copyright information and how to reach the author.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2015-03-07 21:32:58 +01:00
|
|
|
#ifndef __FEMON_LATM_H
|
|
|
|
#define __FEMON_LATM_H
|
2010-06-23 11:16:17 +02:00
|
|
|
|
2015-03-07 21:32:58 +01:00
|
|
|
#include "audio.h"
|
2010-06-23 11:16:17 +02:00
|
|
|
|
|
|
|
class cFemonLATM {
|
|
|
|
private:
|
2015-03-07 17:22:02 +01:00
|
|
|
cFemonAudioIf *audioHandlerM;
|
2010-06-23 11:16:17 +02:00
|
|
|
|
2015-03-07 17:22:02 +01:00
|
|
|
static int bitrateS[3][16];
|
|
|
|
static int sampleRateS[4];
|
2010-06-23 11:16:17 +02:00
|
|
|
|
|
|
|
public:
|
2015-03-07 17:22:02 +01:00
|
|
|
cFemonLATM(cFemonAudioIf *audioHandlerP);
|
2010-06-23 11:16:17 +02:00
|
|
|
virtual ~cFemonLATM();
|
|
|
|
|
2015-03-07 17:22:02 +01:00
|
|
|
bool processAudio(const uint8_t *bufP, int lenP);
|
2010-06-23 11:16:17 +02:00
|
|
|
};
|
|
|
|
|
2015-03-07 21:32:58 +01:00
|
|
|
#endif //__FEMON_LATM_H
|