diff options
author | Lioncash <mathew1800@gmail.com> | 2018-07-19 18:05:48 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-07-19 18:25:02 +0200 |
commit | c061c2bf3c579deb75f9da310f53652db9ef91c5 (patch) | |
tree | 28f8662b2183ecb9132f633481aca73bf18f130e /src/core/hle/service/audio/audren_u.cpp | |
parent | Merge pull request #699 from lioncash/vfs (diff) | |
download | yuzu-c061c2bf3c579deb75f9da310f53652db9ef91c5.tar yuzu-c061c2bf3c579deb75f9da310f53652db9ef91c5.tar.gz yuzu-c061c2bf3c579deb75f9da310f53652db9ef91c5.tar.bz2 yuzu-c061c2bf3c579deb75f9da310f53652db9ef91c5.tar.lz yuzu-c061c2bf3c579deb75f9da310f53652db9ef91c5.tar.xz yuzu-c061c2bf3c579deb75f9da310f53652db9ef91c5.tar.zst yuzu-c061c2bf3c579deb75f9da310f53652db9ef91c5.zip |
Diffstat (limited to 'src/core/hle/service/audio/audren_u.cpp')
-rw-r--r-- | src/core/hle/service/audio/audren_u.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/audio/audren_u.cpp b/src/core/hle/service/audio/audren_u.cpp index b7f591c6d..2a8b3e216 100644 --- a/src/core/hle/service/audio/audren_u.cpp +++ b/src/core/hle/service/audio/audren_u.cpp @@ -17,7 +17,7 @@ constexpr u64 audio_ticks{static_cast<u64>(CoreTiming::BASE_CLOCK_RATE / 200)}; class IAudioRenderer final : public ServiceFramework<IAudioRenderer> { public: - IAudioRenderer(AudioRendererParameter audren_params) + explicit IAudioRenderer(AudioRendererParameter audren_params) : ServiceFramework("IAudioRenderer"), worker_params(audren_params) { static const FunctionInfo functions[] = { {0, nullptr, "GetAudioRendererSampleRate"}, @@ -176,7 +176,7 @@ private: struct UpdateDataHeader { UpdateDataHeader() {} - UpdateDataHeader(const AudioRendererParameter& config) { + explicit UpdateDataHeader(const AudioRendererParameter& config) { revision = Common::MakeMagic('R', 'E', 'V', '4'); // 5.1.0 Revision behavior_size = 0xb0; memory_pools_size = (config.effect_count + (config.voice_count * 4)) * 0x10; |