summaryrefslogtreecommitdiff
path: root/command/audio.h
blob: 4c6c8194b202e9186c39271da8688a99dfbd0077 (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
/*
 * audio.h: A program for the Video Disk Recorder
 *
 * See the README file for copyright information and how to reach the author.
 *
 */

#ifndef __audio_h_
#define __audio_h_

#include "global.h"

class cMarkAdAudio
{
private:
    MarkAdContext *macontext;

    MarkAdMark mark;
    void resetmark();
    void setmark(int type, int position, int channelsbefore, int channelsafter);
    int channels;
    bool channelchange(int a, int b);
    int framelast;
public:
    cMarkAdAudio(MarkAdContext *maContext);
    ~cMarkAdAudio();
    MarkAdMark *Process(int FrameNumber, int FrameNumberBefore);
    void Clear();
};

#endif