MCPcopy Create free account
hub / github.com/audacity/audacity / AdjustInputGain

Method AdjustInputGain

src/toolbars/MeterToolBar.cpp:501–511  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

499}
500
501void MeterToolBar::AdjustInputGain(int adj)
502{
503 if (adj < 0) {
504 mRecordMeter->Decrease(-adj);
505 }
506 else {
507 mRecordMeter->Increase(adj);
508 }
509
510 mRecordMeter->UpdateSliderControl();
511}
512
513static RegisteredToolbarFactory factory1{
514 []( AudacityProject &project ){

Callers 2

OnInputGainIncFunction · 0.80
OnInputGainDecFunction · 0.80

Calls 3

UpdateSliderControlMethod · 0.80
DecreaseMethod · 0.45
IncreaseMethod · 0.45

Tested by

no test coverage detected