aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/dsp_dsp.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-04-27 11:34:38 -0400
committerbunnei <bunneidev@gmail.com>2016-04-27 11:34:38 -0400
commit1ecee38468f08445681e52f67dc9cf6b8302cffa (patch)
tree0e3fc6a7c259d36c4c67b9079732eb4e057bad66 /src/core/hle/service/dsp_dsp.h
parente8b2fd4a18715abe3be0289e3fe46e2162bfe424 (diff)
parentc379b22117f61bcbeda8f8edb3035d080a4dc223 (diff)
Merge pull request #1708 from MerryMage/dsp_dsp
DSP Service: Cleanup
Diffstat (limited to 'src/core/hle/service/dsp_dsp.h')
-rw-r--r--src/core/hle/service/dsp_dsp.h19
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