[APU] Fill in a few previously unknown fields in the HW context
This commit is contained in:
parent
28ebb4bf43
commit
4bc6980ad4
|
@ -65,8 +65,8 @@ struct XMA_CONTEXT_DATA {
|
||||||
uint32_t loop_subframe_end : 3; // +14bit, XMASetLoopData
|
uint32_t loop_subframe_end : 3; // +14bit, XMASetLoopData
|
||||||
uint32_t loop_subframe_skip : 3; // +17bit, XMASetLoopData might be
|
uint32_t loop_subframe_skip : 3; // +17bit, XMASetLoopData might be
|
||||||
// subframe_decode_count
|
// subframe_decode_count
|
||||||
uint32_t subframe_decode_count : 4; // +20bit might be subframe_skip_count
|
uint32_t subframe_decode_count : 4; // +20bit
|
||||||
uint32_t unk_dword_1_b : 3; // ? NumSubframesToSkip/NumChannels(?)
|
uint32_t subframe_skip_count : 3; // +24bit
|
||||||
uint32_t sample_rate : 2; // +27bit enum of sample rates
|
uint32_t sample_rate : 2; // +27bit enum of sample rates
|
||||||
uint32_t is_stereo : 1; // +29bit
|
uint32_t is_stereo : 1; // +29bit
|
||||||
uint32_t unk_dword_1_c : 1; // +30bit
|
uint32_t unk_dword_1_c : 1; // +30bit
|
||||||
|
@ -99,7 +99,9 @@ struct XMA_CONTEXT_DATA {
|
||||||
// DWORD 9
|
// DWORD 9
|
||||||
// +0bit, XMAGetOutputBufferReadOffset AKA WriteBufferOffsetRead
|
// +0bit, XMAGetOutputBufferReadOffset AKA WriteBufferOffsetRead
|
||||||
uint32_t output_buffer_read_offset : 5;
|
uint32_t output_buffer_read_offset : 5;
|
||||||
uint32_t unk_dword_9 : 27; // StopWhenDone/InterruptWhenDone(?)
|
uint32_t : 25;
|
||||||
|
uint32_t stop_when_done : 1; // +30bit
|
||||||
|
uint32_t interrupt_when_done : 1; // +31bit
|
||||||
|
|
||||||
// DWORD 10-15
|
// DWORD 10-15
|
||||||
uint32_t unk_dwords_10_15[6]; // reserved?
|
uint32_t unk_dwords_10_15[6]; // reserved?
|
||||||
|
|
Loading…
Reference in New Issue