MIC Services: Difference between revisions
No edit summary |
|||
Line 28: | Line 28: | ||
|- | |- | ||
| 0x00080040 | | 0x00080040 | ||
| (u8 input) This is a wrapper for CDCMIC command 0x00010040 | | SetSampleRate(u8 input). This is a wrapper for CDCMIC command 0x00010040. | ||
|- | |- | ||
| 0x00090000 | | 0x00090000 | ||
| | | 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 | ||
| | | IsRecording. This is a wrapper for CDCMIC command 0x00040000. | ||
|- | |- | ||
| 0x000C0042 | | 0x000C0042 |