~ubuntu-branches/ubuntu/feisty/avidemux/feisty

« back to all changes in this revision

Viewing changes to avidemux/ADM_audiofilter/audiofilter_channel_route.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel T Chen
  • Date: 2006-12-15 17:13:20 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20061215171320-w79pvpehxx2fr217
Tags: 1:2.3.0-0.0ubuntu1
* Merge from debian-multimedia.org, remaining Ubuntu change:
  - desktop file,
  - no support for ccache and make -j.
* Closes Ubuntu: #69614.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//
 
2
// C++ Interface: audiofilter_channel_route
 
3
//
 
4
// Description: 
 
5
//
 
6
//
 
7
// Author: Mihail Zenkov <kreator@tut.by>, (C) 2006
 
8
//
 
9
// Copyright: See COPYING file that comes with this distribution
 
10
//
 
11
//
 
12
#ifndef AUDM_CHANNEL_ROUTE_H
 
13
#define AUDM_CHANNEL_ROUTE_H
 
14
 
 
15
#define MAX_CHANNELS 9
 
16
 
 
17
typedef enum CHANNEL_TYPE
 
18
{
 
19
        CH_INVALID=0,
 
20
        CH_MONO,
 
21
        CH_FRONT_LEFT,
 
22
        CH_FRONT_RIGHT,
 
23
        CH_FRONT_CENTER,
 
24
        CH_REAR_LEFT,
 
25
        CH_REAR_RIGHT,
 
26
        CH_REAR_CENTER,
 
27
        CH_SIDE_LEFT,
 
28
        CH_SIDE_RIGHT,
 
29
        CH_LFE
 
30
};
 
31
 
 
32
class ChannelRoute
 
33
{
 
34
public:
 
35
        ChannelRoute() {}
 
36
        ~ChannelRoute() {}
 
37
 
 
38
        bool compareChType(WAVHeader *wh1, WAVHeader *wh2);
 
39
 
 
40
        CHANNEL_TYPE input_type[MAX_CHANNELS];
 
41
        CHANNEL_TYPE output_type[MAX_CHANNELS];
 
42
 
 
43
        /*      -1 get parm from each chunk
 
44
                0 get parm from first chunk
 
45
                1 all ready inited       */
 
46
        int8_t mode;
 
47
        bool copy;
 
48
};
 
49
 
 
50
extern ChannelRoute ch_route;
 
51
 
 
52
#endif