diff options
author | bunnei <bunneidev@gmail.com> | 2021-07-03 09:24:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-03 09:24:33 +0200 |
commit | 2fc0a760f09c4557d476204ef558743e6f42bd71 (patch) | |
tree | 87be7a47b82b30d3a2805f47a77b72ef28805af6 /src/audio_core/command_generator.h | |
parent | Merge pull request #6459 from lat9nq/ubuntu-fixes (diff) | |
parent | Fix XC2/VOEZ crashing, add audio looping and a few misc fixes (diff) | |
download | yuzu-2fc0a760f09c4557d476204ef558743e6f42bd71.tar yuzu-2fc0a760f09c4557d476204ef558743e6f42bd71.tar.gz yuzu-2fc0a760f09c4557d476204ef558743e6f42bd71.tar.bz2 yuzu-2fc0a760f09c4557d476204ef558743e6f42bd71.tar.lz yuzu-2fc0a760f09c4557d476204ef558743e6f42bd71.tar.xz yuzu-2fc0a760f09c4557d476204ef558743e6f42bd71.tar.zst yuzu-2fc0a760f09c4557d476204ef558743e6f42bd71.zip |
Diffstat (limited to '')
-rw-r--r-- | src/audio_core/command_generator.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/audio_core/command_generator.h b/src/audio_core/command_generator.h index 2ebb755b0..673e4fbef 100644 --- a/src/audio_core/command_generator.h +++ b/src/audio_core/command_generator.h @@ -86,10 +86,10 @@ private: std::vector<u8>& work_buffer); void UpdateI3dl2Reverb(I3dl2ReverbParams& info, I3dl2ReverbState& state, bool should_clear); // DSP Code - s32 DecodePcm16(ServerVoiceInfo& voice_info, VoiceState& dsp_state, s32 sample_count, - s32 channel, std::size_t mix_offset); - s32 DecodeAdpcm(ServerVoiceInfo& voice_info, VoiceState& dsp_state, s32 sample_count, - s32 channel, std::size_t mix_offset); + s32 DecodePcm16(ServerVoiceInfo& voice_info, VoiceState& dsp_state, s32 sample_start_offset, + s32 sample_end_offset, s32 sample_count, s32 channel, std::size_t mix_offset); + s32 DecodeAdpcm(ServerVoiceInfo& voice_info, VoiceState& dsp_state, s32 sample_start_offset, + s32 sample_end_offset, s32 sample_count, s32 channel, std::size_t mix_offset); void DecodeFromWaveBuffers(ServerVoiceInfo& voice_info, s32* output, VoiceState& dsp_state, s32 channel, s32 target_sample_rate, s32 sample_count, s32 node_id); |