/[pcsx2_0.9.7]/trunk/3rdparty/portaudio/src/os/win/pa_win_wdmks_utils.h
ViewVC logotype

Contents of /trunk/3rdparty/portaudio/src/os/win/pa_win_wdmks_utils.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10 - (show annotations) (download)
Mon Sep 6 11:40:06 2010 UTC (9 years, 5 months ago) by william
File MIME type: text/plain
File size: 2500 byte(s)
exported r3113 from ./upstream/trunk
1 #ifndef PA_WIN_WDMKS_UTILS_H
2 #define PA_WIN_WDMKS_UTILS_H
3
4 /*
5 * PortAudio Portable Real-Time Audio Library
6 * Windows WDM KS utilities
7 *
8 * Copyright (c) 1999 - 2007 Ross Bencina, Andrew Baldwin
9 *
10 * Permission is hereby granted, free of charge, to any person obtaining
11 * a copy of this software and associated documentation files
12 * (the "Software"), to deal in the Software without restriction,
13 * including without limitation the rights to use, copy, modify, merge,
14 * publish, distribute, sublicense, and/or sell copies of the Software,
15 * and to permit persons to whom the Software is furnished to do so,
16 * subject to the following conditions:
17 *
18 * The above copyright notice and this permission notice shall be
19 * included in all copies or substantial portions of the Software.
20 *
21 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
22 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
23 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
24 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
25 * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
26 * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
27 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28 */
29
30 /*
31 * The text above constitutes the entire PortAudio license; however,
32 * the PortAudio community also makes the following non-binding requests:
33 *
34 * Any person wishing to distribute modifications to the Software is
35 * requested to send the modifications to the original developer so that
36 * they can be incorporated into the canonical version. It is also
37 * requested that these non-binding requests be included along with the
38 * license above.
39 */
40
41 /** @file
42 @brief Utilities for working with the Windows WDM KS API
43 */
44
45 #ifdef __cplusplus
46 extern "C" {
47 #endif
48
49 /**
50 Query for the maximum number of channels supported by any pin of the
51 specified device. Returns 0 if the query fails for any reason.
52
53 @param wcharDevicePath A system level PnP interface path, supplied as a WCHAR unicode string.
54 Declard as void* to avoid introducing a dependency on wchar_t here.
55
56 @param isInput A flag specifying whether to query for input (non-zero) or output (zero) channels.
57 */
58 int PaWin_WDMKS_QueryFilterMaximumChannelCount( void *wcharDevicePath, int isInput );
59
60
61 #ifdef __cplusplus
62 }
63 #endif /* __cplusplus */
64
65 #endif /* PA_WIN_WDMKS_UTILS_H */

  ViewVC Help
Powered by ViewVC 1.1.22