
/*
 * CINELERRA
 * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
 * Copyright (C) 2003-2016 Cinelerra CV contributors
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 */

#ifndef AUDIODEVICE_INC
#define AUDIODEVICE_INC

class AudioDevice;
class AudioLowLevel;

#define TOTAL_AUDIO_BUFFERS 4
#define INPUT_BUFFER_BYTES 0x200000

// Supported devices
enum
{
	AUDIO_OSS,
	AUDIO_OSS_ENVY24,
	AUDIO_ESOUND,
	AUDIO_NAS,
	AUDIO_ALSA,
	AUDIO_1394,
	AUDIO_DV1394,
	AUDIO_IEC61883,
	AUDIO_DVB,
	AUDIO_V4L2MPEG,
	AUDIO_PULSE,
};

#define AUDIO_OSS_TITLE "OSS"
#define AUDIO_OSS_ENVY24_TITLE "OSS Envy24"
#define AUDIO_ESOUND_TITLE "ESound"
#define AUDIO_NAS_TITLE "NAS"
#define AUDIO_ALSA_TITLE "ALSA"
#ifdef HAVE_FIREWIRE
#define AUDIO_1394_TITLE "RAW 1394"
#define AUDIO_DV1394_TITLE "DV 1394"
#define AUDIO_IEC61883_TITLE "IEC 61883"
#endif
#define AUDIO_DVB_TITLE "DVB"
#define	AUDIO_V4L2MPEG_TITLE "V4L2 MPEG"
#define AUDIO_PULSE_TITLE "Pulse Audio"

#endif
