diff options
Diffstat (limited to 'runtime/shims/acphal.cpp')
| -rw-r--r-- | runtime/shims/acphal.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/shims/acphal.cpp b/runtime/shims/acphal.cpp index 553f57f20..5ead016d6 100644 --- a/runtime/shims/acphal.cpp +++ b/runtime/shims/acphal.cpp | |||
| @@ -141,7 +141,7 @@ struct SHAPE_XMA_CONTEXT { | |||
| 141 | uint32_t reserved1 : 6; | 141 | uint32_t reserved1 : 6; |
| 142 | uint32_t loopStartOffset : 26; | 142 | uint32_t loopStartOffset : 26; |
| 143 | uint32_t loopEndOffset : 6; | 143 | uint32_t loopEndOffset : 6; |
| 144 | uint32_t reserved[10]; | 144 | uint32_t reserved[11]; // the GDK's 64-byte context: the published field list leaves one trailing word |
| 145 | }; | 145 | }; |
| 146 | static_assert(sizeof(SHAPE_XMA_CONTEXT) == 64, "SHAPE_XMA_CONTEXT is 64 bytes per GDK"); | 146 | static_assert(sizeof(SHAPE_XMA_CONTEXT) == 64, "SHAPE_XMA_CONTEXT is 64 bytes per GDK"); |
| 147 | 147 | ||
| @@ -162,7 +162,7 @@ struct SHAPE_PCM_CONTEXT { | |||
| 162 | uint32_t reserved6 : 15; | 162 | uint32_t reserved6 : 15; |
| 163 | uint32_t format : 2; | 163 | uint32_t format : 2; |
| 164 | uint32_t reserved7 : 14; | 164 | uint32_t reserved7 : 14; |
| 165 | uint32_t reserved[1]; | 165 | uint32_t reserved[2]; // the GDK's 32-byte context: the published field list leaves one trailing word |
| 166 | }; | 166 | }; |
| 167 | static_assert(sizeof(SHAPE_PCM_CONTEXT) == 32, "SHAPE_PCM_CONTEXT is 32 bytes per GDK"); | 167 | static_assert(sizeof(SHAPE_PCM_CONTEXT) == 32, "SHAPE_PCM_CONTEXT is 32 bytes per GDK"); |
| 168 | 168 | ||