Difference between revisions of "MIC Shared Memory"

From 3dbrew
Jump to navigation Jump to search
(Created page with "The shared-memory for the MIC(microphone) module contains the raw(?) audio data. The entire shared-memory contains audio data, except for the last u32. The last u32 contains an o...")
 
(Format can vary, organize data into table.)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
The shared-memory for the MIC(microphone) module contains the raw(?) audio data. The entire shared-memory contains audio data, except for the last u32. The last u32 contains an offset within this sharedmem. This offset is likely the end-offset of the audio data written by MIC module.
+
This is the shared memory used by the MIC service. It contains recorded audio data and the offset of the current data's end.
 +
 
 +
{| class="wikitable" border="1"
 +
|-
 +
!  Index Byte
 +
!  Size
 +
!  Description
 +
|-
 +
| 0x0
 +
| sharedmem_size - 4
 +
| Audio data.
 +
|-
 +
| sharedmem_size - 4
 +
| 4
 +
| u32, Current audio end-offset.
 +
|}

Latest revision as of 04:47, 9 October 2015

This is the shared memory used by the MIC service. It contains recorded audio data and the offset of the current data's end.

Index Byte Size Description
0x0 sharedmem_size - 4 Audio data.
sharedmem_size - 4 4 u32, Current audio end-offset.