blob: 69d06663ef792229180ef14ad62d5427f3a8a644 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
/*
* audio.h: A plugin for the Video Disk Recorder
*
* See the README file for copyright information and how to reach the author.
*
* $Id$
*/
#ifndef __audio_h_
#define __audio_h_
#include <vdr/tools.h> // needed for (d/e/i)syslog
#include <netinet/in.h> // for htonl
#include "global.h"
class cMarkAdAudio
{
private:
int lastiframe;
int recvnumber;
MarkAdContext *macontext;
MarkAdMark mark;
void ResetMark();
bool AddMark(int Position, const char *Comment);
int channels;
bool ChannelChange(int a, int b);
public:
cMarkAdAudio(int RecvNumber,MarkAdContext *maContext);
~cMarkAdAudio();
MarkAdMark *Process(int LastIFrame);
};
#endif
|