Mercurial > audlegacy-plugins
comparison src/alsa-ng/alsa-stdinc.h @ 3162:e387614b9be9
alsa-ng: Import rewritten ALSA plugin. This is still woefully incomplete, but supports basic playback.
This driver uses the "safe" ALSA API subset, including use of blocking I/O.
Right now, it is hardcoded to use "default".
Do not complain about bugs in this plugin.
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Thu, 14 May 2009 21:05:11 -0500 |
parents | |
children | abe1b3195d6b |
comparison
equal
deleted
inserted
replaced
3161:6dd886b5c72b | 3162:e387614b9be9 |
---|---|
1 /* | |
2 * Audacious ALSA Plugin (-ng) | |
3 * Copyright (c) 2009 William Pitcock <nenolod@dereferenced.org> | |
4 * | |
5 * This program is free software; you can redistribute it and/or modify | |
6 * it under the terms of the GNU General Public License as published by | |
7 * the Free Software Foundation; either version 2 of the License, or | |
8 * (at your option) any later version. | |
9 * | |
10 * This program is distributed in the hope that it will be useful, | |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 * GNU General Public License for more details. | |
14 * | |
15 * You should have received a copy of the GNU General Public License | |
16 * along with this program; if not, write to the Free Software | |
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
18 */ | |
19 | |
20 #ifndef _ALSA_STDINC_H_GUARD | |
21 #define _ALSA_STDINC_H_GUARD | |
22 | |
23 #include <audacious/plugin.h> | |
24 | |
25 #define ALSA_PCM_NEW_HW_PARAMS_API | |
26 #define ALSA_PCM_NEW_SW_PARAMS_API | |
27 #include <alsa/asoundlib.h> | |
28 #include <alsa/pcm_plugin.h> | |
29 | |
30 #include <gtk/gtk.h> | |
31 | |
32 #include "alsa-debug.h" | |
33 #include "alsa-types.h" | |
34 #include "alsa-ringbuffer.h" | |
35 | |
36 #endif |