Commit | Line | Data |
---|---|---|
efd23a80 RK |
1 | /* |
2 | * This file is part of DisOrder. | |
3 | * Copyright (C) 2009 Richard Kettlewell | |
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 3 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, see <http://www.gnu.org/licenses/>. | |
17 | */ | |
18 | ||
19 | /** @file lib/uaudio-apis.c | |
20 | * @brief Audio API list | |
21 | */ | |
22 | ||
23 | #include "common.h" | |
24 | #include "uaudio.h" | |
25 | ||
26 | /** @brief List of known APIs | |
27 | * | |
28 | * Terminated by a null pointer. | |
29 | * | |
30 | * The first one will be used as a default, so putting ALSA before OSS | |
31 | * constitutes a policy decision. | |
32 | */ | |
5b053666 | 33 | const struct uaudio *const uaudio_apis[] = { |
efd23a80 RK |
34 | #if HAVE_COREAUDIO_AUDIOHARDWARE_H |
35 | &uaudio_coreaudio, | |
36 | #endif | |
37 | #if HAVE_ALSA_ASOUNDLIB_H | |
38 | &uaudio_alsa, | |
39 | #endif | |
40 | #if HAVE_SYS_SOUNDCARD_H || EMPEG_HOST | |
41 | &uaudio_oss, | |
42 | #endif | |
43 | &uaudio_rtp, | |
44 | &uaudio_command, | |
45 | NULL, | |
46 | }; | |
47 | ||
48 | /* | |
49 | Local Variables: | |
50 | c-basic-offset:2 | |
51 | comment-column:40 | |
52 | fill-column:79 | |
53 | indent-tabs-mode:nil | |
54 | End: | |
55 | */ |