summaryrefslogtreecommitdiffstats
path: root/src/audio_core
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2019-07-12 17:49:32 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2019-07-12 17:49:32 +0200
commitea5602b959ebb8b73d5ba1540854fb1165781bf1 (patch)
tree960cbd9ce9829a6ec8441ad655193dbff5a69d76 /src/audio_core
parentAddressed issues (diff)
downloadyuzu-ea5602b959ebb8b73d5ba1540854fb1165781bf1.tar
yuzu-ea5602b959ebb8b73d5ba1540854fb1165781bf1.tar.gz
yuzu-ea5602b959ebb8b73d5ba1540854fb1165781bf1.tar.bz2
yuzu-ea5602b959ebb8b73d5ba1540854fb1165781bf1.tar.lz
yuzu-ea5602b959ebb8b73d5ba1540854fb1165781bf1.tar.xz
yuzu-ea5602b959ebb8b73d5ba1540854fb1165781bf1.tar.zst
yuzu-ea5602b959ebb8b73d5ba1540854fb1165781bf1.zip
Diffstat (limited to 'src/audio_core')
-rw-r--r--src/audio_core/audio_renderer.cpp3
-rw-r--r--src/audio_core/audio_renderer.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/audio_core/audio_renderer.cpp b/src/audio_core/audio_renderer.cpp
index 415b06171..da50a0bbc 100644
--- a/src/audio_core/audio_renderer.cpp
+++ b/src/audio_core/audio_renderer.cpp
@@ -80,7 +80,8 @@ AudioRenderer::AudioRenderer(Core::Timing::CoreTiming& core_timing, AudioRendere
audio_out = std::make_unique<AudioCore::AudioOut>();
stream = audio_out->OpenStream(core_timing, STREAM_SAMPLE_RATE, STREAM_NUM_CHANNELS,
- fmt::format("AudioRenderer-Instance{}", instance_number), [=]() { buffer_event->Signal(); });
+ fmt::format("AudioRenderer-Instance{}", instance_number),
+ [=]() { buffer_event->Signal(); });
audio_out->StartStream(stream);
QueueMixedBuffer(0);
diff --git a/src/audio_core/audio_renderer.h b/src/audio_core/audio_renderer.h
index 4ef1875ff..45afbe759 100644
--- a/src/audio_core/audio_renderer.h
+++ b/src/audio_core/audio_renderer.h
@@ -215,7 +215,8 @@ 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, 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);