Skip to content

Commit

Permalink
Removed parameter names from comments
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg68 committed Jan 5, 2024
1 parent 7fc000f commit 01ffc63
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 21 deletions.
2 changes: 1 addition & 1 deletion src/grandorgue/loader/GOLoaderFilename.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright 2006 Milan Digital Audio LLC
* Copyright 2009-2023 GrandOrgue contributors (see AUTHORS)
* Copyright 2009-2024 GrandOrgue contributors (see AUTHORS)
* License GPL-2.0 or later
* (https://www.gnu.org/licenses/old-licenses/gpl-2.0.html).
*/
Expand Down
2 changes: 1 addition & 1 deletion src/grandorgue/model/GOCacheObject.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright 2006 Milan Digital Audio LLC
* Copyright 2009-2023 GrandOrgue contributors (see AUTHORS)
* Copyright 2009-2024 GrandOrgue contributors (see AUTHORS)
* License GPL-2.0 or later
* (https://www.gnu.org/licenses/old-licenses/gpl-2.0.html).
*/
Expand Down
2 changes: 1 addition & 1 deletion src/grandorgue/model/GOCacheObject.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright 2006 Milan Digital Audio LLC
* Copyright 2009-2023 GrandOrgue contributors (see AUTHORS)
* Copyright 2009-2024 GrandOrgue contributors (see AUTHORS)
* License GPL-2.0 or later
* (https://www.gnu.org/licenses/old-licenses/gpl-2.0.html).
*/
Expand Down
2 changes: 1 addition & 1 deletion src/grandorgue/model/GOSoundingPipe.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright 2006 Milan Digital Audio LLC
* Copyright 2009-2023 GrandOrgue contributors (see AUTHORS)
* Copyright 2009-2024 GrandOrgue contributors (see AUTHORS)
* License GPL-2.0 or later
* (https://www.gnu.org/licenses/old-licenses/gpl-2.0.html).
*/
Expand Down
25 changes: 12 additions & 13 deletions src/grandorgue/sound/GOSoundAudioSection.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright 2006 Milan Digital Audio LLC
* Copyright 2009-2023 GrandOrgue contributors (see AUTHORS)
* Copyright 2009-2024 GrandOrgue contributors (see AUTHORS)
* License GPL-2.0 or later
* (https://www.gnu.org/licenses/old-licenses/gpl-2.0.html).
*/
Expand Down Expand Up @@ -748,19 +748,18 @@ void GOAudioSection::Setup(
loop_length * m_BytesPerSample,
(end_length - copy_len) * m_BytesPerSample);
if (fade_len > 0)
// TODO: Remove the parameter names from the comment and reduce the
// number of parameters of DoCrossfade that the call would be easy
// readable without additional comments
// TODO: reduce the number of parameters of DoCrossfade that the call
// would be easy readable without additional comments
DoCrossfade(
end_seg.end_data, // dest
MAX_READAHEAD, // dest_offset
(const unsigned char *)pcm_data, // src
start_seg.start_offset - fade_len, // src_offset
pcm_data_channels, // channels
m_BitsPerSample, // bits_per_sample
fade_len, // fade_length
loop_length, // loop_length
end_length); // length
end_seg.end_data,
MAX_READAHEAD,
(const unsigned char *)pcm_data,
start_seg.start_offset - fade_len,
pcm_data_channels,
m_BitsPerSample,
fade_len,
loop_length,
end_length);

end_seg.end_loop_length = loop_length;
end_seg.end_pos = end_length + end_seg.transition_offset;
Expand Down
2 changes: 1 addition & 1 deletion src/grandorgue/sound/GOSoundAudioSection.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright 2006 Milan Digital Audio LLC
* Copyright 2009-2023 GrandOrgue contributors (see AUTHORS)
* Copyright 2009-2024 GrandOrgue contributors (see AUTHORS)
* License GPL-2.0 or later
* (https://www.gnu.org/licenses/old-licenses/gpl-2.0.html).
*/
Expand Down
2 changes: 1 addition & 1 deletion src/grandorgue/sound/GOSoundProviderSynthedTrem.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright 2006 Milan Digital Audio LLC
* Copyright 2009-2023 GrandOrgue contributors (see AUTHORS)
* Copyright 2009-2024 GrandOrgue contributors (see AUTHORS)
* License GPL-2.0 or later
* (https://www.gnu.org/licenses/old-licenses/gpl-2.0.html).
*/
Expand Down
2 changes: 1 addition & 1 deletion src/grandorgue/sound/GOSoundProviderWave.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright 2006 Milan Digital Audio LLC
* Copyright 2009-2023 GrandOrgue contributors (see AUTHORS)
* Copyright 2009-2024 GrandOrgue contributors (see AUTHORS)
* License GPL-2.0 or later
* (https://www.gnu.org/licenses/old-licenses/gpl-2.0.html).
*/
Expand Down
2 changes: 1 addition & 1 deletion src/grandorgue/sound/GOSoundProviderWave.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright 2006 Milan Digital Audio LLC
* Copyright 2009-2023 GrandOrgue contributors (see AUTHORS)
* Copyright 2009-2024 GrandOrgue contributors (see AUTHORS)
* License GPL-2.0 or later
* (https://www.gnu.org/licenses/old-licenses/gpl-2.0.html).
*/
Expand Down

0 comments on commit 01ffc63

Please sign in to comment.