diff options
author | Lioncash <mathew1800@gmail.com> | 2022-09-13 19:50:39 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2022-09-15 15:47:23 +0200 |
commit | 2c91fbf7f1384b5cb01e20e4f59e27a1f9bd9a61 (patch) | |
tree | 3191d4574de640a9f152df2f32cbc47a0458a9b8 /src/audio_core/renderer/command/command_buffer.h | |
parent | Merge pull request #8880 from german77/slow-moving (diff) | |
download | yuzu-2c91fbf7f1384b5cb01e20e4f59e27a1f9bd9a61.tar yuzu-2c91fbf7f1384b5cb01e20e4f59e27a1f9bd9a61.tar.gz yuzu-2c91fbf7f1384b5cb01e20e4f59e27a1f9bd9a61.tar.bz2 yuzu-2c91fbf7f1384b5cb01e20e4f59e27a1f9bd9a61.tar.lz yuzu-2c91fbf7f1384b5cb01e20e4f59e27a1f9bd9a61.tar.xz yuzu-2c91fbf7f1384b5cb01e20e4f59e27a1f9bd9a61.tar.zst yuzu-2c91fbf7f1384b5cb01e20e4f59e27a1f9bd9a61.zip |
Diffstat (limited to 'src/audio_core/renderer/command/command_buffer.h')
-rw-r--r-- | src/audio_core/renderer/command/command_buffer.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/audio_core/renderer/command/command_buffer.h b/src/audio_core/renderer/command/command_buffer.h index 496b0e50a..162170846 100644 --- a/src/audio_core/renderer/command/command_buffer.h +++ b/src/audio_core/renderer/command/command_buffer.h @@ -191,6 +191,7 @@ public: * @param volume - Current mix volume used for calculating the ramp. * @param prev_volume - Previous mix volume, used for calculating the ramp, * also applied to the input. + * @param prev_samples - Previous sample buffer. Used for depopping. * @param precision - Number of decimal bits for fixed point operations. */ void GenerateMixRampCommand(s32 node_id, s16 buffer_count, s16 input_index, s16 output_index, @@ -208,6 +209,7 @@ public: * @param volumes - Current mix volumes used for calculating the ramp. * @param prev_volumes - Previous mix volumes, used for calculating the ramp, * also applied to the input. + * @param prev_samples - Previous sample buffer. Used for depopping. * @param precision - Number of decimal bits for fixed point operations. */ void GenerateMixRampGroupedCommand(s32 node_id, s16 buffer_count, s16 input_index, @@ -297,11 +299,11 @@ public: /** * Generate a device sink command, adding it to the command list. * - * @param node_id - Node id of the voice this command is generated for. - * @param buffer_offset - Base mix buffer offset to use. - * @param sink_info - The sink_info to generate this command from. - * @session_id - System session id this command is generated from. - * @samples_buffer - The buffer to be sent to the sink if upsampling is not used. + * @param node_id - Node id of the voice this command is generated for. + * @param buffer_offset - Base mix buffer offset to use. + * @param sink_info - The sink_info to generate this command from. + * @param session_id - System session id this command is generated from. + * @param samples_buffer - The buffer to be sent to the sink if upsampling is not used. */ void GenerateDeviceSinkCommand(s32 node_id, s16 buffer_offset, SinkInfoBase& sink_info, u32 session_id, std::span<s32> samples_buffer); |