From 8436ec1641eee8868128755f6d1475230cea25e6 Mon Sep 17 00:00:00 2001 From: Michal Ratajsky Date: Sun, 27 Jul 2014 13:12:53 +0200 Subject: Beginning of OSS4 support --- backends/oss4/oss4-common.h | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 backends/oss4/oss4-common.h (limited to 'backends/oss4/oss4-common.h') diff --git a/backends/oss4/oss4-common.h b/backends/oss4/oss4-common.h new file mode 100644 index 0000000..fe55b2b --- /dev/null +++ b/backends/oss4/oss4-common.h @@ -0,0 +1,38 @@ +/* + * Copyright (C) 2014 Michal Ratajsky + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the licence, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, see . + */ + +#ifndef OSS4_COMMON_H +#define OSS4_COMMON_H + +#include "config.h" + +#include +#include +#include +#include + +#ifdef HAVE_SYS_SOUNDCARD_H +# include +#elif HAVE_SOUNDCARD_H +# include +#elif HAVE_MACHINE_SOUNDCARD_H +# include +#else +# error "No OSS4 header file present" +#endif + +#endif /* OSS4_COMMON_H */ -- cgit v1.2.1