diff options
| author | 2016-09-18 18:01:46 -0700 | |
|---|---|---|
| committer | 2016-09-18 21:14:25 -0700 | |
| commit | 396a8d91a4423d9c793eeff0798d544613647511 (patch) | |
| tree | e0203961233db1ffcbbca2e15154d71d142c5822 /src/audio_core/hle/pipe.h | |
| parent | Tweak formatting settings (diff) | |
| download | yuzu-396a8d91a4423d9c793eeff0798d544613647511.tar.gz yuzu-396a8d91a4423d9c793eeff0798d544613647511.tar.xz yuzu-396a8d91a4423d9c793eeff0798d544613647511.zip | |
Manually tweak source formatting and then re-run clang-format
Diffstat (limited to 'src/audio_core/hle/pipe.h')
| -rw-r--r-- | src/audio_core/hle/pipe.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/audio_core/hle/pipe.h b/src/audio_core/hle/pipe.h index 73b857a90..6d7fd92ab 100644 --- a/src/audio_core/hle/pipe.h +++ b/src/audio_core/hle/pipe.h | |||
| @@ -15,7 +15,12 @@ namespace HLE { | |||
| 15 | /// Reset the pipes by setting pipe positions back to the beginning. | 15 | /// Reset the pipes by setting pipe positions back to the beginning. |
| 16 | void ResetPipes(); | 16 | void ResetPipes(); |
| 17 | 17 | ||
| 18 | enum class DspPipe { Debug = 0, Dma = 1, Audio = 2, Binary = 3 }; | 18 | enum class DspPipe { |
| 19 | Debug = 0, | ||
| 20 | Dma = 1, | ||
| 21 | Audio = 2, | ||
| 22 | Binary = 3, | ||
| 23 | }; | ||
| 19 | constexpr size_t NUM_DSP_PIPE = 8; | 24 | constexpr size_t NUM_DSP_PIPE = 8; |
| 20 | 25 | ||
| 21 | /** | 26 | /** |
| @@ -46,7 +51,12 @@ size_t GetPipeReadableSize(DspPipe pipe_number); | |||
| 46 | */ | 51 | */ |
| 47 | void PipeWrite(DspPipe pipe_number, const std::vector<u8>& buffer); | 52 | void PipeWrite(DspPipe pipe_number, const std::vector<u8>& buffer); |
| 48 | 53 | ||
| 49 | enum class DspState { Off, On, Sleeping }; | 54 | enum class DspState { |
| 55 | Off, | ||
| 56 | On, | ||
| 57 | Sleeping, | ||
| 58 | }; | ||
| 59 | |||
| 50 | /// Get the state of the DSP | 60 | /// Get the state of the DSP |
| 51 | DspState GetDspState(); | 61 | DspState GetDspState(); |
| 52 | 62 | ||