fix typos in share/scripts directory

Found via `codespell -q 3 -S "*.pdf,*.po,./.git,*.tosc,./waf,./share/patchfiles,./libs,./msvc_extra_headers,./share/web_surfaces,*.patch" -L acount,addin,ane,ba,buss,busses,caf,capela,devine,disconnectin,discreet,doubleclick,envolution,filetest,fo,ghandi,homs,hsi,layed,maschine,mis,nd,ontop,pass-thru,removeable,retrn,ro,scrollin,sectionin,seh,siz,sord,sur,te,trough,ue,wth`
This commit is contained in:
luzpaz 2025-01-07 20:31:55 +00:00 committed by Robin Gareus
parent f4562a9b4c
commit 52f3986cb6
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
12 changed files with 22 additions and 22 deletions

View file

@ -40,7 +40,7 @@ function dsp_runmap (bufs, in_map, out_map, n_samples, offset)
local gain = ctrl[1] / ctrl[2]
ARDOUR.DSP.process_map (bufs, n_out, in_map, out_map, n_samples, offset)
for c = 1, n_audio do
local ob = out_map:get (ARDOUR.DataType ("audio"), c - 1); -- get id of mapped output buffer for given cannel
local ob = out_map:get (ARDOUR.DataType ("audio"), c - 1); -- get id of mapped output buffer for given channel
if (ob ~= ARDOUR.ChanMapping.Invalid) then
bufs:get_audio (ob):apply_gain (gain, n_samples);
end