vdr-plugin-femon/ac3.h

29 lines
524 B
C
Raw Normal View History

/*
2015-03-07 21:32:58 +01:00
* ac3.h: Frontend Status Monitor plugin for the Video Disk Recorder
*
* See the README file for copyright information and how to reach the author.
*
*/
2015-03-07 21:32:58 +01:00
#ifndef __FEMON_AC3_H
#define __FEMON_AC3_H
2015-03-07 21:32:58 +01:00
#include "audio.h"
2009-08-25 19:22:06 +02:00
class cFemonAC3 {
private:
2015-03-07 17:22:02 +01:00
cFemonAC3If *audioHandlerM;
2009-08-25 19:22:06 +02:00
2015-03-07 17:22:02 +01:00
static int bitrateS[32];
static int frequencieS[4];
static int frameS[3][32];
2009-08-25 19:22:06 +02:00
public:
2015-03-07 17:22:02 +01:00
cFemonAC3(cFemonAC3If *audioHandlerP);
2009-08-25 19:22:06 +02:00
virtual ~cFemonAC3();
2015-03-07 17:22:02 +01:00
bool processAudio(const uint8_t *bufP, int lenP);
2009-08-25 19:22:06 +02:00
};
2015-03-07 21:32:58 +01:00
#endif //__FEMON_AC3_H