summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2019-07-12 17:35:40 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2019-07-12 17:35:40 +0200
commit31fe859fe5f959dc261db3a278deea8204905f97 (patch)
tree5fd3600660e933505e1618e381b5a894b5f76dac
parent"AudioRenderer" thread should have a unique name (diff)
downloadyuzu-31fe859fe5f959dc261db3a278deea8204905f97.tar
yuzu-31fe859fe5f959dc261db3a278deea8204905f97.tar.gz
yuzu-31fe859fe5f959dc261db3a278deea8204905f97.tar.bz2
yuzu-31fe859fe5f959dc261db3a278deea8204905f97.tar.lz
yuzu-31fe859fe5f959dc261db3a278deea8204905f97.tar.xz
yuzu-31fe859fe5f959dc261db3a278deea8204905f97.tar.zst
yuzu-31fe859fe5f959dc261db3a278deea8204905f97.zip
-rw-r--r--src/audio_core/audio_renderer.cpp2
-rw-r--r--src/audio_core/audio_renderer.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/audio_core/audio_renderer.cpp b/src/audio_core/audio_renderer.cpp
index 969d8f2a5..415b06171 100644
--- a/src/audio_core/audio_renderer.cpp
+++ b/src/audio_core/audio_renderer.cpp
@@ -74,7 +74,7 @@ private:
};
AudioRenderer::AudioRenderer(Core::Timing::CoreTiming& core_timing, AudioRendererParameter params,
Kernel::SharedPtr<Kernel::WritableEvent> buffer_event,
- const std::size_t instance_number)
+ std::size_t instance_number)
: worker_params{params}, buffer_event{buffer_event}, voices(params.voice_count),
effects(params.effect_count) {
diff --git a/src/audio_core/audio_renderer.h b/src/audio_core/audio_renderer.h
index 1bdf709e5..4ef1875ff 100644
--- a/src/audio_core/audio_renderer.h
+++ b/src/audio_core/audio_renderer.h
@@ -215,7 +215,7 @@ static_assert(sizeof(UpdateDataHeader) == 0x40, "UpdateDataHeader has wrong size
class AudioRenderer {
public:
AudioRenderer(Core::Timing::CoreTiming& core_timing, AudioRendererParameter params,
- Kernel::SharedPtr<Kernel::WritableEvent> buffer_event, const std::size_t instance_number);
+ Kernel::SharedPtr<Kernel::WritableEvent> buffer_event, std::size_t instance_number);
~AudioRenderer();
std::vector<u8> UpdateAudioRenderer(const std::vector<u8>& input_params);