audio_core/hle: Stub binary requests SaveState and LoadState. (#6684)

* audio_core/hle: Stub binary requests SaveState and LoadState.

* audio_core/hle: Fire DSP binary pipe interrupt on request completion instead of tick.
This commit is contained in:
Steveice10
2023-07-16 17:54:40 -07:00
committed by GitHub
parent 9cb14044ec
commit 700c00f021
8 changed files with 40 additions and 9 deletions

View File

@@ -14,9 +14,16 @@
namespace AudioCore::HLE {
enum class DecoderCommand : u16 {
/// Initializes the decoder.
Init = 0,
/// Decodes/encodes a data frame.
EncodeDecode = 1,
Unknown = 2, // Probably UnInit
/// Shuts down the decoder.
Shutdown = 2,
/// Loads the saved decoder state. Used for DSP wake.
LoadState = 3,
/// Saves the decoder state. Used for DSP sleep.
SaveState = 4,
};
enum class DecoderCodec : u16 {