MIC Services: Difference between revisions

Bond697 (talk | contribs)
No edit summary
Line 34: Line 34:
|-
|-
| 0x000A0040
| 0x000A0040
| 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.
| SetBias(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
| IsRecording. This is a wrapper for CDCMIC command 0x00040000.
| GetBias. This is a wrapper for CDCMIC command 0x00040000.
|-
|-
| 0x000C0042
| 0x000C0042
Line 43: Line 43:
|-
|-
| 0x000D0040
| 0x000D0040
| (u8 input) This writes the input value to a MIC-module state field.
| SetClamp(u8 input) This writes the input value to a MIC-module state field.
|-
|-
| 0x000E0000
| 0x000E0000
| This writes the u8 value of the MIC-module field also used by command 0x000D0040, to cmdreply indexword[2].
| Get Clamp. This writes the u8 value of the MIC-module field also used by command 0x000D0040, to cmdreply indexword[2].
|-
|-
| 0x000F0040
| 0x000F0040