diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2018-08-12 06:58:36 +0200 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2018-08-12 06:58:36 +0200 |
commit | 094f6003e07cbb2c42142787d52fe6e59b3918cb (patch) | |
tree | 23792398894000761c422e21226823c672d1aeef /src/audio_core | |
parent | Added GetAudioRendererSampleRate, GetAudioRendererSampleCount & GetAudioRendererMixBufferCount (diff) | |
download | yuzu-094f6003e07cbb2c42142787d52fe6e59b3918cb.tar yuzu-094f6003e07cbb2c42142787d52fe6e59b3918cb.tar.gz yuzu-094f6003e07cbb2c42142787d52fe6e59b3918cb.tar.bz2 yuzu-094f6003e07cbb2c42142787d52fe6e59b3918cb.tar.lz yuzu-094f6003e07cbb2c42142787d52fe6e59b3918cb.tar.xz yuzu-094f6003e07cbb2c42142787d52fe6e59b3918cb.tar.zst yuzu-094f6003e07cbb2c42142787d52fe6e59b3918cb.zip |
Diffstat (limited to 'src/audio_core')
-rw-r--r-- | src/audio_core/audio_renderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio_core/audio_renderer.cpp b/src/audio_core/audio_renderer.cpp index 1ab6e88c2..6ebed3fb0 100644 --- a/src/audio_core/audio_renderer.cpp +++ b/src/audio_core/audio_renderer.cpp @@ -27,7 +27,7 @@ AudioRenderer::AudioRenderer(AudioRendererParameter params, } u32 AudioRenderer::GetSampleRate() const { - return STREAM_SAMPLE_RATE; + return worker_params.sample_rate; } u32 AudioRenderer::GetSampleCount() const { |