Skip to content

Commit

Permalink
Fix unused named arguments in Python generators
Browse files Browse the repository at this point in the history
  • Loading branch information
uklotzde committed Jun 11, 2020
1 parent d4df254 commit e52b13e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tools/generate_sample_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,7 @@ def write(data, depth=0):
write(
"pEngineEffectsManager->processPostFaderInPlace("
"pChannelInfo->m_handle, outputHandle, pBuffer, iBufferSize, "
"iSampleRate, pChannelInfo->m_features, oldGain, newGain);"
% {"j": j},
"iSampleRate, pChannelInfo->m_features, oldGain, newGain);",
depth=3,
)
write("SampleUtil::add(pOutput, pBuffer, iBufferSize);", depth=3)
Expand All @@ -294,7 +293,7 @@ def write(data, depth=0):
"pEngineEffectsManager->processPostFaderAndMix("
"pChannelInfo->m_handle, outputHandle, pBuffer, pOutput, "
"iBufferSize, iSampleRate, pChannelInfo->m_features, oldGain, "
"newGain);" % {"j": j},
"newGain);",
depth=3,
)

Expand Down

0 comments on commit e52b13e

Please sign in to comment.