diff options
author | David <25727384+ogniK5377@users.noreply.github.com> | 2020-04-21 04:57:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-21 04:57:30 +0200 |
commit | 11c63ca969f39481ccf75c204e21948f4fb41efa (patch) | |
tree | edd0a3efd2515e42c9f6a820888fcd77df29460b /src/audio_core/audio_renderer.h | |
parent | Merge pull request #3695 from ReinUsesLisp/default-attributes (diff) | |
download | yuzu-11c63ca969f39481ccf75c204e21948f4fb41efa.tar yuzu-11c63ca969f39481ccf75c204e21948f4fb41efa.tar.gz yuzu-11c63ca969f39481ccf75c204e21948f4fb41efa.tar.bz2 yuzu-11c63ca969f39481ccf75c204e21948f4fb41efa.tar.lz yuzu-11c63ca969f39481ccf75c204e21948f4fb41efa.tar.xz yuzu-11c63ca969f39481ccf75c204e21948f4fb41efa.tar.zst yuzu-11c63ca969f39481ccf75c204e21948f4fb41efa.zip |
Diffstat (limited to 'src/audio_core/audio_renderer.h')
-rw-r--r-- | src/audio_core/audio_renderer.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/audio_core/audio_renderer.h b/src/audio_core/audio_renderer.h index 62faf9f19..b42770fae 100644 --- a/src/audio_core/audio_renderer.h +++ b/src/audio_core/audio_renderer.h @@ -8,11 +8,13 @@ #include <memory> #include <vector> +#include "audio_core/behavior_info.h" #include "audio_core/stream.h" #include "common/common_funcs.h" #include "common/common_types.h" #include "common/swap.h" #include "core/hle/kernel/object.h" +#include "core/hle/result.h" namespace Core::Timing { class CoreTiming; @@ -226,7 +228,7 @@ public: std::shared_ptr<Kernel::WritableEvent> buffer_event, std::size_t instance_number); ~AudioRenderer(); - std::vector<u8> UpdateAudioRenderer(const std::vector<u8>& input_params); + ResultVal<std::vector<u8>> UpdateAudioRenderer(const std::vector<u8>& input_params); void QueueMixedBuffer(Buffer::Tag tag); void ReleaseAndQueueBuffers(); u32 GetSampleRate() const; @@ -237,6 +239,7 @@ public: private: class EffectState; class VoiceState; + BehaviorInfo behavior_info{}; AudioRendererParameter worker_params; std::shared_ptr<Kernel::WritableEvent> buffer_event; |