Changes

201 bytes added ,  03:03, 9 October 2015
m
Name consistency, some constant values.
Line 13: Line 13:  
|-
 
|-
 
| 0x00030140
 
| 0x00030140
| [[MICU:Initialize|Initialize]]
+
| [[MICU:StartSampling|StartSampling]]
 
|-
 
|-
 
| 0x00040040
 
| 0x00040040
Line 28: Line 28:  
|-
 
|-
 
| 0x00080040
 
| 0x00080040
| SetControl(u8 input). This is a wrapper for CDCMIC command 0x00010040.  
+
| SetGain(u8 input). This is a wrapper for CDCMIC command 0x00010040.  
 
|-
 
|-
 
| 0x00090000
 
| 0x00090000
| GetControl. This is a wrapper for CDCMIC command 0x00020000.
+
| 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).
   −
=Control value=
+
'''enum Encoding'''
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
Bit
+
Enum
Description
+
Value
 
|-
 
|-
| 6-0
+
| ENCODING_PCM8
| Amplification, 0=none.
+
| 0
 
|-
 
|-
| 7
+
| ENCODING_PCM16
| Doesn't affect output audio data in shared-mem?
+
| 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]]
1,434

edits