/[pcsx2_0.9.7]/branch/r3113_0.9.7_beta/3rdparty/portaudio/src/os/win/pa_win_hostapis.c
ViewVC logotype

Contents of /branch/r3113_0.9.7_beta/3rdparty/portaudio/src/os/win/pa_win_hostapis.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32 - (show annotations) (download)
Tue Sep 7 03:29:01 2010 UTC (9 years, 10 months ago) by william
File MIME type: text/plain
File size: 3163 byte(s)
branching from upstream revision (http://pcsx2.googlecode.com/svn/trunk
): r3113 to
https://svn.netsolutions.dnsalias.com/websvn/ps2/pcsx2/pcsx2_0.9.7/branch/r3113_0.9.7_beta
1 /*
2 * $Id: pa_win_hostapis.c 1453 2010-02-16 09:46:08Z dmitrykos $
3 * Portable Audio I/O Library Windows initialization table
4 *
5 * Based on the Open Source API proposed by Ross Bencina
6 * Copyright (c) 1999-2008 Ross Bencina, Phil Burk
7 *
8 * Permission is hereby granted, free of charge, to any person obtaining
9 * a copy of this software and associated documentation files
10 * (the "Software"), to deal in the Software without restriction,
11 * including without limitation the rights to use, copy, modify, merge,
12 * publish, distribute, sublicense, and/or sell copies of the Software,
13 * and to permit persons to whom the Software is furnished to do so,
14 * subject to the following conditions:
15 *
16 * The above copyright notice and this permission notice shall be
17 * included in all copies or substantial portions of the Software.
18 *
19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
20 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
22 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
23 * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
24 * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
25 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
26 */
27
28 /*
29 * The text above constitutes the entire PortAudio license; however,
30 * the PortAudio community also makes the following non-binding requests:
31 *
32 * Any person wishing to distribute modifications to the Software is
33 * requested to send the modifications to the original developer so that
34 * they can be incorporated into the canonical version. It is also
35 * requested that these non-binding requests be included along with the
36 * license above.
37 */
38
39 /** @file
40 @ingroup win_src
41
42 @brief Win32 host API initialization function table.
43
44 @todo Consider using PA_USE_WMME etc instead of PA_NO_WMME. This is what
45 the Unix version does, we should consider being consistent.
46 */
47
48
49 #include "pa_hostapi.h"
50
51 #ifdef __cplusplus
52 extern "C"
53 {
54 #endif /* __cplusplus */
55
56 PaError PaSkeleton_Initialize( PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index );
57 PaError PaWinMme_Initialize( PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index );
58 PaError PaWinDs_Initialize( PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index );
59 PaError PaAsio_Initialize( PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index );
60 PaError PaWinWdm_Initialize( PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index );
61 PaError PaWasapi_Initialize( PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index );
62
63 #ifdef __cplusplus
64 }
65 #endif /* __cplusplus */
66
67
68 PaUtilHostApiInitializer *paHostApiInitializers[] =
69 {
70
71 #ifndef PA_NO_WMME
72 PaWinMme_Initialize,
73 #endif
74
75 #ifndef PA_NO_DS
76 PaWinDs_Initialize,
77 #endif
78
79 #ifndef PA_NO_ASIO
80 PaAsio_Initialize,
81 #endif
82
83 #ifndef PA_NO_WASAPI
84 PaWasapi_Initialize,
85 #endif
86
87 /*
88 #ifndef PA_NO_WDMKS
89 PaWinWdm_Initialize,
90 #endif
91 */
92
93 //PaSkeleton_Initialize, /* just for testing */
94
95 0 /* NULL terminated array */
96 };
97
98
99 int paDefaultHostApiIndex = 0;
100

  ViewVC Help
Powered by ViewVC 1.1.22