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

Method SetPlaybackMeter

libraries/lib-audio-io/ProjectAudioIO.cpp:87–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87void ProjectAudioIO::SetPlaybackMeter(
88 const std::shared_ptr<Meter> &playback)
89{
90 auto &project = mProject;
91 mPlaybackMeter = playback;
92 auto gAudioIO = AudioIOBase::Get();
93 if (gAudioIO)
94 {
95 gAudioIO->SetPlaybackMeter( project.shared_from_this() , mPlaybackMeter );
96 }
97}
98
99const std::shared_ptr<Meter> &ProjectAudioIO::GetCaptureMeter() const
100{

Callers 3

ReCreateButtonsMethod · 0.45
ExposeMethod · 0.45
initMeterMethod · 0.45

Calls 1

GetFunction · 0.85

Tested by

no test coverage detected