diff options
author | MerryMage <MerryMage@users.noreply.github.com> | 2016-04-24 14:20:13 +0200 |
---|---|---|
committer | MerryMage <MerryMage@users.noreply.github.com> | 2016-04-28 12:22:40 +0200 |
commit | dda9ffe7901b354d45ab48844801a16b806da9a2 (patch) | |
tree | d8edc62b7dc00d0668189ad7efc44cd46914c292 /src/audio_core/hle/common.h | |
parent | Merge pull request #1708 from MerryMage/dsp_dsp (diff) | |
download | yuzu-dda9ffe7901b354d45ab48844801a16b806da9a2.tar yuzu-dda9ffe7901b354d45ab48844801a16b806da9a2.tar.gz yuzu-dda9ffe7901b354d45ab48844801a16b806da9a2.tar.bz2 yuzu-dda9ffe7901b354d45ab48844801a16b806da9a2.tar.lz yuzu-dda9ffe7901b354d45ab48844801a16b806da9a2.tar.xz yuzu-dda9ffe7901b354d45ab48844801a16b806da9a2.tar.zst yuzu-dda9ffe7901b354d45ab48844801a16b806da9a2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/audio_core/hle/common.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/audio_core/hle/common.h b/src/audio_core/hle/common.h index 37d441eb2..7910f42ae 100644 --- a/src/audio_core/hle/common.h +++ b/src/audio_core/hle/common.h @@ -7,18 +7,19 @@ #include <algorithm> #include <array> -#include "audio_core/audio_core.h" - #include "common/common_types.h" namespace DSP { namespace HLE { +constexpr int num_sources = 24; +constexpr int samples_per_frame = 160; ///< Samples per audio frame at native sample rate + /// The final output to the speakers is stereo. Preprocessing output in Source is also stereo. -using StereoFrame16 = std::array<std::array<s16, 2>, AudioCore::samples_per_frame>; +using StereoFrame16 = std::array<std::array<s16, 2>, samples_per_frame>; /// The DSP is quadraphonic internally. -using QuadFrame32 = std::array<std::array<s32, 4>, AudioCore::samples_per_frame>; +using QuadFrame32 = std::array<std::array<s32, 4>, samples_per_frame>; /** * This performs the filter operation defined by FilterT::ProcessSample on the frame in-place. |