Audacity 3.2.0
|
#include <TransportUtilities.h>
Static Public Member Functions | |
static void | PlayCurrentRegionAndWait (const CommandContext &context, bool newDefault=false, bool cutpreview=false) |
static void | PlayPlayRegionAndWait (const CommandContext &context, const SelectedRegion &selectedRegion, const AudioIOStartStreamOptions &options, PlayMode mode) |
static void | RecordAndWait (const CommandContext &context, bool altAppearance) |
static void | DoStartPlaying (const CommandContext &context, bool newDefault=false) |
static bool | DoStopPlaying (const CommandContext &context) |
Definition at line 22 of file TransportUtilities.h.
|
static |
Definition at line 194 of file TransportUtilities.cpp.
References AudioIOBase::Get(), PlayCurrentRegionAndWait(), CommandContext::project, and project.
Referenced by anonymous_namespace{TransportMenus.cpp}::DoMoveToLabel(), and anonymous_namespace{TransportMenus.cpp}::OnPlayOnceOrStop().
|
static |
Definition at line 154 of file TransportUtilities.cpp.
References AllProjects::begin(), AllProjects::end(), AudioIOBase::Get(), ProjectAudioIO::Get(), ProjectAudioManager::Get(), ControlToolBar::Get(), ProjectAudioIO::GetAudioIOToken(), CommandContext::project, and project.
Referenced by anonymous_namespace{TransportMenus.cpp}::DoMoveToLabel(), anonymous_namespace{TransportMenus.cpp}::OnPlayDefaultOrStop(), and anonymous_namespace{TransportMenus.cpp}::OnPlayOnceOrStop().
|
static |
Definition at line 28 of file TransportUtilities.cpp.
References CommandContext::Error(), AudioIO::Get(), ViewInfo::Get(), ProjectAudioManager::Get(), PlayRegion::GetStart(), pdlgHideCancelButton, ViewInfo::playRegion, CommandContext::project, project, BasicUI::Stopped, BasicUI::Success, ProgressDialog::Update(), wxT(), and XO().
Referenced by DoStartPlaying(), anonymous_namespace{TransportMenus.cpp}::OnPlayCutPreview(), and anonymous_namespace{TransportMenus.cpp}::OnPlayDefaultOrStop().
|
static |
Definition at line 70 of file TransportUtilities.cpp.
References CommandContext::Error(), AudioIO::Get(), ProjectAudioManager::Get(), pdlgHideCancelButton, CommandContext::project, project, BasicUI::Stopped, BasicUI::Success, SelectedRegion::t0(), SelectedRegion::t1(), ProgressDialog::Update(), wxT(), and XO().
Referenced by anonymous_namespace{TransportMenus.cpp}::OnPlayAfterSelectionEnd(), anonymous_namespace{TransportMenus.cpp}::OnPlayAfterSelectionStart(), anonymous_namespace{TransportMenus.cpp}::OnPlayBeforeAndAfterSelectionEnd(), anonymous_namespace{TransportMenus.cpp}::OnPlayBeforeAndAfterSelectionStart(), anonymous_namespace{TransportMenus.cpp}::OnPlayBeforeSelectionEnd(), anonymous_namespace{TransportMenus.cpp}::OnPlayBeforeSelectionStart(), anonymous_namespace{TransportMenus.cpp}::OnPlayOneSecond(), and anonymous_namespace{TransportMenus.cpp}::OnPlayToSelection().
|
static |
Definition at line 112 of file TransportUtilities.cpp.
References CommandContext::Error(), AudioIO::Get(), ViewInfo::Get(), ProjectAudioManager::Get(), pdlgHideCancelButton, CommandContext::project, project, ViewInfo::selectedRegion, BasicUI::Stopped, BasicUI::Success, NotifyingSelectedRegion::t0(), ProgressDialog::Update(), wxT(), and XO().
Referenced by anonymous_namespace{TransportMenus.cpp}::OnRecord(), and anonymous_namespace{TransportMenus.cpp}::OnRecord2ndChoice().