[APU] Clear host data while reseting context

This commit is contained in:
Gliniak 2022-11-27 17:00:31 +01:00
parent 9fdfd2ada9
commit 1451ca4266
1 changed files with 5 additions and 0 deletions

View File

@ -150,6 +150,11 @@ void XmaContext::Clear() {
data.output_buffer_read_offset = 0;
data.output_buffer_write_offset = 0;
xma_frame_.fill(0);
split_frame_len_ = 0;
split_frame_len_partial_ = 0;
split_frame_padding_start_ = 0;
data.Store(context_ptr);
}