diff options
Diffstat (limited to 'audio.h')
| -rw-r--r-- | audio.h | 38 |
1 files changed, 38 insertions, 0 deletions
@@ -0,0 +1,38 @@ +/* + * 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 "global.h" + +class cMarkAdAudio +{ +private: + int lastiframe; + int recvnumber; + MarkAdContext *macontext; + + MarkAdMark mark; + void ResetMark(); + bool AddMark(int Position, const char *Comment); + + int channels; + +private: + bool ChannelChange(int a, int b); + +public: + cMarkAdAudio(int RecvNumber,MarkAdContext *maContext); + ~cMarkAdAudio(); + MarkAdMark *Process(int LastIFrame); +}; + + +#endif |
