OSDN Git Service

DTXMania089リリースに際してのtag付け。
[dtxmania/dtxmania.git] / 110401(DTXMania089) / SlimDXc_Jun2010(VC++2008) / source / directsound / CaptureCapabilities.h
1 /*\r
2 * Copyright (c) 2007-2010 SlimDX Group\r
3\r
4 * Permission is hereby granted, free of charge, to any person obtaining a copy\r
5 * of this software and associated documentation files (the "Software"), to deal\r
6 * in the Software without restriction, including without limitation the rights\r
7 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r
8 * copies of the Software, and to permit persons to whom the Software is\r
9 * furnished to do so, subject to the following conditions:\r
10\r
11 * The above copyright notice and this permission notice shall be included in\r
12 * all copies or substantial portions of the Software.\r
13\r
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r
15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r
16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r
17 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r
18 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r
19 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\r
20 * THE SOFTWARE.\r
21 */\r
22 #pragma once\r
23 \r
24 namespace SlimDX\r
25 {\r
26         namespace DirectSound\r
27         {\r
28                 /// <summary>\r
29                 /// Describes the capabilities of the capture device.\r
30                 /// </summary>\r
31                 /// <unmanaged>DSCCAPS</unmanaged>\r
32                 public value class CaptureCapabilities : System::IEquatable<CaptureCapabilities>\r
33                 {\r
34                 internal:\r
35                         CaptureCapabilities( const DSCCAPS& caps );\r
36 \r
37                 public:\r
38                         /// <summary>\r
39                         /// The driver for the device is a certified WDM driver.\r
40                         /// </summary>\r
41                         property bool Certified;\r
42 \r
43                         /// <summary>\r
44                         /// Number of channels supported by the device, where 1 is mono, 2 is stereo, and so on.\r
45                         /// </summary>\r
46                         property int Channels;\r
47 \r
48                         /// <summary>\r
49                         /// There is no DirectSoundCapture driver for the device, so the standard waveform audio functions are being used.\r
50                         /// </summary>\r
51                         property bool EmulatedDriver;\r
52 \r
53                         /// <summary>\r
54                         /// The driver supports the 11Khz 16 Bit Mono format.\r
55                         /// </summary>\r
56                         property bool Format11KhzMono16Bit;\r
57 \r
58                         /// <summary>\r
59                         /// The driver supports the 11Khz 8 Bit Mono format.\r
60                         /// </summary>\r
61                         property bool Format11KhzMono8Bit;\r
62 \r
63                         /// <summary>\r
64                         /// The driver supports the 11Khz 16 Bit Stereo format.\r
65                         /// </summary>\r
66                         property bool Format11KhzStereo16Bit;\r
67 \r
68                         /// <summary>\r
69                         /// The driver supports the 11Khz 8 Bit Stereo format.\r
70                         /// </summary>\r
71                         property bool Format11KhzStereo8Bit;\r
72 \r
73                         /// <summary>\r
74                         /// The driver supports the 22Khz 16 Bit Mono format.\r
75                         /// </summary>\r
76                         property bool Format22KhzMono16Bit;\r
77 \r
78                         /// <summary>\r
79                         /// The driver supports the 22Khz 8 Bit Mono format.\r
80                         /// </summary>\r
81                         property bool Format22KhzMono8Bit;\r
82 \r
83                         /// <summary>\r
84                         /// The driver supports the 22Khz 16 Bit Stereo format.\r
85                         /// </summary>\r
86                         property bool Format22KhzStereo16Bit;\r
87 \r
88                         /// <summary>\r
89                         /// The driver supports the 22Khz 8 Bit Stereo format.\r
90                         /// </summary>\r
91                         property bool Format22KhzStereo8Bit;\r
92 \r
93                         /// <summary>\r
94                         /// The driver supports the 44Khz 16 Bit Mono format.\r
95                         /// </summary>\r
96                         property bool Format44KhzMono16Bit;\r
97 \r
98                         /// <summary>\r
99                         /// The driver supports the 44Khz 8 Bit Mono format.\r
100                         /// </summary>\r
101                         property bool Format44KhzMono8Bit;\r
102 \r
103                         /// <summary>\r
104                         /// The driver supports the 44Khz 16 Bit Stereo format.\r
105                         /// </summary>\r
106                         property bool Format44KhzStereo16Bit;\r
107 \r
108                         /// <summary>\r
109                         /// The driver supports the 44Khz 8 Bit Stereo format.\r
110                         /// </summary>\r
111                         property bool Format44KhzStereo8Bit;\r
112 \r
113                         /// <summary>\r
114                         /// The driver supports the 48Khz 16 Bit Mono format.\r
115                         /// </summary>\r
116                         property bool Format48KhzMono16Bit;\r
117 \r
118                         /// <summary>\r
119                         /// The driver supports the 48Khz 8 Bit Mono format.\r
120                         /// </summary>\r
121                         property bool Format48KhzMono8Bit;\r
122 \r
123                         /// <summary>\r
124                         /// The driver supports the 48Khz 16 Bit Stereo format.\r
125                         /// </summary>\r
126                         property bool Format48KhzStereo16Bit;\r
127 \r
128                         /// <summary>\r
129                         /// The driver supports the 48Khz 8 Bit Stereo format.\r
130                         /// </summary>\r
131                         property bool Format48KhzStereo8Bit;\r
132 \r
133                         /// <summary>\r
134                         /// The driver supports the 96Khz 16 Bit Mono format.\r
135                         /// </summary>\r
136                         property bool Format96KhzMono16Bit;\r
137 \r
138                         /// <summary>\r
139                         /// The driver supports the 96Khz 8 Bit Mono format.\r
140                         /// </summary>\r
141                         property bool Format96KhzMono8Bit;\r
142 \r
143                         /// <summary>\r
144                         /// The driver supports the 96Khz 16 Bit Stereo format.\r
145                         /// </summary>\r
146                         property bool Format96KhzStereo16Bit;\r
147 \r
148                         /// <summary>\r
149                         /// The driver supports the 96Khz 8 Bit Stereo format.\r
150                         /// </summary>\r
151                         property bool Format96KhzStereo8Bit;\r
152 \r
153                         /// <summary>\r
154                         /// Multiple capture objects can be used simultaneously on the capture device.\r
155                         /// </summary>\r
156                         property bool MultipleCapture;\r
157 \r
158                         /// <summary>\r
159                         /// Tests for equality between two objects.\r
160                         /// </summary>\r
161                         /// <param name="left">The first value to compare.</param>\r
162                         /// <param name="right">The second value to compare.</param>\r
163                         /// <returns><c>true</c> if <paramref name="left"/> has the same value as <paramref name="right"/>; otherwise, <c>false</c>.</returns>\r
164                         static bool operator == ( CaptureCapabilities left, CaptureCapabilities right );\r
165 \r
166                         /// <summary>\r
167                         /// Tests for inequality between two objects.\r
168                         /// </summary>\r
169                         /// <param name="left">The first value to compare.</param>\r
170                         /// <param name="right">The second value to compare.</param>\r
171                         /// <returns><c>true</c> if <paramref name="left"/> has a different value than <paramref name="right"/>; otherwise, <c>false</c>.</returns>\r
172                         static bool operator != ( CaptureCapabilities left, CaptureCapabilities right );\r
173 \r
174                         /// <summary>\r
175                         /// Returns the hash code for this instance.\r
176                         /// </summary>\r
177                         /// <returns>A 32-bit signed integer hash code.</returns>\r
178                         virtual int GetHashCode() override;\r
179 \r
180                         /// <summary>\r
181                         /// Returns a value that indicates whether the current instance is equal to a specified object. \r
182                         /// </summary>\r
183                         /// <param name="obj">Object to make the comparison with.</param>\r
184                         /// <returns><c>true</c> if the current instance is equal to the specified object; <c>false</c> otherwise.</returns>\r
185                         virtual bool Equals( System::Object^ obj ) override;\r
186 \r
187                         /// <summary>\r
188                         /// Returns a value that indicates whether the current instance is equal to the specified object. \r
189                         /// </summary>\r
190                         /// <param name="other">Object to make the comparison with.</param>\r
191                         /// <returns><c>true</c> if the current instance is equal to the specified object; <c>false</c> otherwise.</returns>\r
192                         virtual bool Equals( CaptureCapabilities other );\r
193 \r
194                         /// <summary>\r
195                         /// Determines whether the specified object instances are considered equal. \r
196                         /// </summary>\r
197                         /// <param name="value1">The first value to compare.</param>\r
198                         /// <param name="value2">The second value to compare.</param>\r
199                         /// <returns><c>true</c> if <paramref name="value1"/> is the same instance as <paramref name="value2"/> or \r
200                         /// if both are <c>null</c> references or if <c>value1.Equals(value2)</c> returns <c>true</c>; otherwise, <c>false</c>.</returns>\r
201                         static bool Equals( CaptureCapabilities% value1, CaptureCapabilities% value2 ); \r
202                 };\r
203         }\r
204 }