MIC Services: Difference between revisions

No edit summary
Line 28: Line 28:
|-
|-
| 0x00080040
| 0x00080040
| (u8 input) This is a wrapper for CDCMIC command 0x00010040. This controls the sample-rate.
| SetSampleRate(u8 input). This is a wrapper for CDCMIC command 0x00010040.  
|-
|-
| 0x00090000
| 0x00090000
| This writes an output u8 value to cmdreply indexword[2]. This is a wrapper for CDCMIC command 0x00020000. This returns the hardware field which is written by MIC command 0x00080040.
| GetSampleRate. This is a wrapper for CDCMIC command 0x00020000.
|-
|-
| 0x000A0040
| 0x000A0040
| (u8 input) This is a wrapper for CDCMIC command 0x00030040. 0 = disable recording, 1 = enable recording. When recording is disabled with this, MIC-module writes value 0xFFFF to the output audio sample data in shared-mem, since that's what the [[MIC]] hardware returns here.
| SetRecording(u8 input). This is a wrapper for CDCMIC command 0x00030040. 0 = disable recording, 1 = enable recording. When recording is disabled with this, MIC-module writes value 0xFFFF to the output audio sample data in shared-mem, since that's what the [[MIC]] hardware returns here.
|-
|-
| 0x000B0000
| 0x000B0000
| This writes an output u8 value to cmdreply indexword[2]. This is a wrapper for CDCMIC command 0x00040000. This returns the hardware field which is written by MIC command 0x000A0040.
| IsRecording. This is a wrapper for CDCMIC command 0x00040000.
|-
|-
| 0x000C0042
| 0x000C0042