group selection rework, rm inv title clr, add titlebar alpha textbox, default proxy...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / audiodevice.inc
1
2 /*
3  * CINELERRA
4  * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19  *
20  */
21
22 #ifndef AUDIODEVICE_INC
23 #define AUDIODEVICE_INC
24
25 class AudioDevice;
26 class AudioLowLevel;
27
28 #define TOTAL_AUDIO_BUFFERS 4
29 #define INPUT_BUFFER_BYTES 0x200000
30
31 // Supported devices
32 enum
33 {
34         AUDIO_OSS,
35         AUDIO_OSS_ENVY24,
36         AUDIO_ESOUND,
37         AUDIO_NAS,
38         AUDIO_ALSA,
39         AUDIO_1394,
40         AUDIO_DV1394,
41         AUDIO_IEC61883,
42         AUDIO_DVB,
43         AUDIO_V4L2MPEG,
44 };
45
46 #define AUDIO_OSS_TITLE "OSS"
47 #define AUDIO_OSS_ENVY24_TITLE "OSS Envy24"
48 #define AUDIO_ESOUND_TITLE "ESound"
49 #define AUDIO_NAS_TITLE "NAS"
50 #define AUDIO_ALSA_TITLE "ALSA"
51 #ifdef HAVE_FIREWIRE
52 #define AUDIO_1394_TITLE "RAW 1394"
53 #define AUDIO_DV1394_TITLE "DV 1394"
54 #define AUDIO_IEC61883_TITLE "IEC 61883"
55 #endif
56 #define AUDIO_DVB_TITLE "DVB"
57 #define AUDIO_V4L2MPEG_TITLE "V4L2 MPEG"
58
59 #endif