diff options
author | MerryMage <MerryMage@users.noreply.github.com> | 2016-04-24 11:21:10 +0200 |
---|---|---|
committer | MerryMage <MerryMage@users.noreply.github.com> | 2016-04-27 07:35:06 +0200 |
commit | ff6db69c6052f674265c453932a3dc7637c46412 (patch) | |
tree | 74f174997c4ee9376a77bbe35ef59fbd3be77237 /src/core/hle/service/dsp_dsp.h | |
parent | DSP/Pipe: There are 8 pipes (diff) | |
download | yuzu-ff6db69c6052f674265c453932a3dc7637c46412.tar yuzu-ff6db69c6052f674265c453932a3dc7637c46412.tar.gz yuzu-ff6db69c6052f674265c453932a3dc7637c46412.tar.bz2 yuzu-ff6db69c6052f674265c453932a3dc7637c46412.tar.lz yuzu-ff6db69c6052f674265c453932a3dc7637c46412.tar.xz yuzu-ff6db69c6052f674265c453932a3dc7637c46412.tar.zst yuzu-ff6db69c6052f674265c453932a3dc7637c46412.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/dsp_dsp.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/core/hle/service/dsp_dsp.h b/src/core/hle/service/dsp_dsp.h index 32b89e9bb..22f6687cc 100644 --- a/src/core/hle/service/dsp_dsp.h +++ b/src/core/hle/service/dsp_dsp.h @@ -8,6 +8,12 @@ #include "core/hle/service/service.h" +namespace DSP { +namespace HLE { +enum class DspPipe; +} +} + //////////////////////////////////////////////////////////////////////////////////////////////////// // Namespace DSP_DSP @@ -23,15 +29,10 @@ public: } }; -/// Signal all audio related interrupts. -void SignalAllInterrupts(); - /** - * Signal a specific audio related interrupt based on interrupt id and channel id. - * @param interrupt_id The interrupt id - * @param channel_id The channel id - * The significance of various values of interrupt_id and channel_id is not yet known. + * Signal a specific DSP related interrupt of type == InterruptType::Pipe, pipe == pipe. + * @param pipe The DSP pipe for which to signal an interrupt for. */ -void SignalInterrupt(u32 interrupt_id, u32 channel_id); +void SignalPipeInterrupt(DSP::HLE::DspPipe pipe); -} // namespace +} // namespace DSP_DSP |