Credit Andrew - fix vorbis audio which was scratchy and ensure aging plugin does...
[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  * Copyright (C) 2003-2016 Cinelerra CV contributors
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
20  *
21  */
22
23 #ifndef AUDIODEVICE_INC
24 #define AUDIODEVICE_INC
25
26 class AudioDevice;
27 class AudioLowLevel;
28
29 #define TOTAL_AUDIO_BUFFERS 4
30 #define INPUT_BUFFER_BYTES 0x200000
31
32 // Supported devices
33 enum
34 {
35         AUDIO_OSS,
36         AUDIO_OSS_ENVY24,
37         AUDIO_ESOUND,
38         AUDIO_NAS,
39         AUDIO_ALSA,
40         AUDIO_1394,
41         AUDIO_DV1394,
42         AUDIO_IEC61883,
43         AUDIO_DVB,
44         AUDIO_V4L2MPEG,
45         AUDIO_PULSE,
46 };
47
48 #define AUDIO_OSS_TITLE "OSS"
49 #define AUDIO_OSS_ENVY24_TITLE "OSS Envy24"
50 #define AUDIO_ESOUND_TITLE "ESound"
51 #define AUDIO_NAS_TITLE "NAS"
52 #define AUDIO_ALSA_TITLE "ALSA"
53 #ifdef HAVE_FIREWIRE
54 #define AUDIO_1394_TITLE "RAW 1394"
55 #define AUDIO_DV1394_TITLE "DV 1394"
56 #define AUDIO_IEC61883_TITLE "IEC 61883"
57 #endif
58 #define AUDIO_DVB_TITLE "DVB"
59 #define AUDIO_V4L2MPEG_TITLE "V4L2 MPEG"
60 #define AUDIO_PULSE_TITLE "Pulse Audio"
61
62 #endif