1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-25 07:35:44 +01:00

Remove MixerToolbar

The mixer toolbar is redundant when PortMixer isn't supported

Signed-off-by: akleja <storspov@gmail.com>
This commit is contained in:
akleja
2021-08-25 00:58:24 +02:00
committed by Panagiotis Vasilopoulos
parent a39ee7f83c
commit 056de91cf7
11 changed files with 3 additions and 525 deletions

View File

@@ -37,7 +37,6 @@ Paul Licameli split from AudacityProject.cpp
#include "import/Import.h"
#include "import/ImportMIDI.h"
#include "prefs/QualitySettings.h"
#include "toolbars/MixerToolBar.h"
#include "toolbars/SelectionBar.h"
#include "toolbars/SpectralSelectionBar.h"
#include "toolbars/TimeToolBar.h"
@@ -991,9 +990,7 @@ void ProjectManager::OnTimer(wxTimerEvent& WXUNUSED(event))
{
auto &project = mProject;
auto &projectAudioIO = ProjectAudioIO::Get( project );
auto mixerToolBar = &MixerToolBar::Get( project );
mixerToolBar->UpdateControls();
auto gAudioIO = AudioIO::Get();
// gAudioIO->GetNumCaptureChannels() should only be positive
// when we are recording.