MIC Services: Difference between revisions
No edit summary |
Steveice10 (talk | contribs) m Name consistency, some constant values. |
||
Line 13: | Line 13: | ||
|- | |- | ||
| 0x00030140 | | 0x00030140 | ||
| [[MICU: | | [[MICU:StartSampling|StartSampling]] | ||
|- | |- | ||
| 0x00040040 | | 0x00040040 | ||
Line 28: | Line 28: | ||
|- | |- | ||
| 0x00080040 | | 0x00080040 | ||
| | | SetGain(u8 input). This is a wrapper for CDCMIC command 0x00010040. | ||
|- | |- | ||
| 0x00090000 | | 0x00090000 | ||
| | | GetGain. This is a wrapper for CDCMIC command 0x00020000. | ||
|- | |- | ||
| 0x000A0040 | | 0x000A0040 | ||
Line 59: | Line 59: | ||
Only one session can be open for this service total(that is, only one process can use this service at a time). | Only one session can be open for this service total(that is, only one process can use this service at a time). | ||
'''enum Encoding''' | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! Enum | ||
! | ! Value | ||
|- | |- | ||
| | | ENCODING_PCM8 | ||
| | | 0 | ||
|- | |- | ||
| | | ENCODING_PCM16 | ||
| | | 1 | ||
|- | |||
| ENCODING_PCM8_SIGNED | |||
| 2 | |||
|- | |||
| ENCODING_PCM16_SIGNED | |||
| 3 | |||
|} | |||
'''enum SampleRate''' | |||
{| class="wikitable" border="1" | |||
|- | |||
! Enum | |||
! Value | |||
|- | |||
| SAMPLE_RATE_32730 | |||
| 0 | |||
|- | |||
| SAMPLE_RATE_16360 | |||
| 1 | |||
|- | |||
| SAMPLE_RATE_10910 | |||
| 2 | |||
|- | |||
| SAMPLE_RATE_8180 | |||
| 3 | |||
|} | |} | ||
=See Also= | =See Also= | ||
[[MIC Shared Memory]] | [[MIC Shared Memory]] |