![]() |
Audacity 3.2.0
|
Variables | |
AttachedItem | sAttachment1 |
AttachedItem | sAttachment2 |
AttachedItem | sAttachment4 |
void anonymous_namespace{TransportMenus.cpp}::DoMoveToLabel | ( | AudacityProject & | project, |
bool | next | ||
) |
Definition at line 73 of file TransportMenus.cpp.
References TransportUtilities::DoStartPlaying(), TransportUtilities::DoStopPlaying(), ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::Find(), LabelTrack::FindNextLabel(), LabelTrack::FindPrevLabel(), TrackFocus::Get(), ProjectAudioIO::Get(), ViewInfo::Get(), TrackList::Get(), ProjectAudioManager::Get(), ProjectWindow::Get(), LabelTrack::GetLabel(), LabelTrack::GetNumLabels(), label, ViewInfo::selectedRegion, ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::size(), and XO().
Referenced by OnMoveToNextLabel(), and OnMoveToPrevLabel().
BaseItemSharedPtr anonymous_namespace{TransportMenus.cpp}::ExtraSelectionItems | ( | ) |
Definition at line 911 of file TransportMenus.cpp.
References CaptureNotBusyFlag(), MenuTable::Command(), MenuTable::Items(), OnMoveToNextLabel(), OnMoveToPrevLabel(), TrackPanelHasFocus(), wxT(), and XXO().
BaseItemSharedPtr anonymous_namespace{TransportMenus.cpp}::ExtraTransportMenu | ( | ) |
Definition at line 863 of file TransportMenus.cpp.
References AudioIOBusyFlag(), AudioIONotBusyFlag(), CanStopAudioStreamFlag(), CaptureNotBusyFlag(), MenuTable::Command(), MenuTable::Menu(), OnPlayAfterSelectionEnd(), OnPlayAfterSelectionStart(), OnPlayBeforeAndAfterSelectionEnd(), OnPlayBeforeAndAfterSelectionStart(), OnPlayBeforeSelectionEnd(), OnPlayBeforeSelectionStart(), OnPlayCutPreview(), OnPlayOnceOrStop(), OnPlayOneSecond(), OnPlayToSelection(), OnStop(), WaveTracksExistFlag(), wxT(), and XXO().
bool anonymous_namespace{TransportMenus.cpp}::IsLoopingEnabled | ( | const AudacityProject & | project | ) |
Definition at line 137 of file TransportMenus.cpp.
References PlayRegion::Active(), ViewInfo::Get(), and ViewInfo::playRegion.
Referenced by TransportMenu().
bool anonymous_namespace{TransportMenus.cpp}::MakeReadyToPlay | ( | AudacityProject & | project | ) |
MakeReadyToPlay stops whatever is currently playing and pops the play button up. Then, if nothing is now playing, it pushes the play button down and enables the stop button.
Definition at line 46 of file TransportMenus.cpp.
References AudioIOBase::Get(), ProjectAudioIO::Get(), ControlToolBar::Get(), and ProjectAudioIO::GetAudioIOToken().
Referenced by OnPlayAfterSelectionEnd(), OnPlayAfterSelectionStart(), OnPlayBeforeAndAfterSelectionEnd(), OnPlayBeforeAndAfterSelectionStart(), OnPlayBeforeSelectionEnd(), OnPlayBeforeSelectionStart(), OnPlayCutPreview(), OnPlayDefaultOrStop(), OnPlayOneSecond(), and OnPlayToSelection().
void anonymous_namespace{TransportMenus.cpp}::OnClearPlayRegion | ( | const CommandContext & | context | ) |
Definition at line 366 of file TransportMenus.cpp.
References SelectUtilities::ClearPlayRegion(), and CommandContext::project.
Referenced by TransportMenu().
void anonymous_namespace{TransportMenus.cpp}::OnMoveToNextLabel | ( | const CommandContext & | context | ) |
Definition at line 699 of file TransportMenus.cpp.
References DoMoveToLabel(), and CommandContext::project.
Referenced by ExtraSelectionItems().
void anonymous_namespace{TransportMenus.cpp}::OnMoveToPrevLabel | ( | const CommandContext & | context | ) |
Definition at line 693 of file TransportMenus.cpp.
References DoMoveToLabel(), and CommandContext::project.
Referenced by ExtraSelectionItems().
void anonymous_namespace{TransportMenus.cpp}::OnPause | ( | const CommandContext & | context | ) |
Definition at line 185 of file TransportMenus.cpp.
References ProjectAudioManager::Get(), ProjectAudioManager::OnPause(), and CommandContext::project.
Referenced by TransportMenu().
void anonymous_namespace{TransportMenus.cpp}::OnPlayAfterSelectionEnd | ( | const CommandContext & | context | ) |
Definition at line 601 of file TransportMenus.cpp.
References ViewInfo::Get(), ProjectAudioIO::GetDefaultOptions(), gPrefs, MakeReadyToPlay(), oneSecondPlay, TransportUtilities::PlayPlayRegionAndWait(), CommandContext::project, and wxT().
Referenced by ExtraTransportMenu().
void anonymous_namespace{TransportMenus.cpp}::OnPlayAfterSelectionStart | ( | const CommandContext & | context | ) |
Definition at line 547 of file TransportMenus.cpp.
References ViewInfo::Get(), ProjectAudioIO::GetDefaultOptions(), gPrefs, MakeReadyToPlay(), oneSecondPlay, TransportUtilities::PlayPlayRegionAndWait(), CommandContext::project, and wxT().
Referenced by ExtraTransportMenu().
void anonymous_namespace{TransportMenus.cpp}::OnPlayBeforeAndAfterSelectionEnd | ( | const CommandContext & | context | ) |
Definition at line 652 of file TransportMenus.cpp.
References ViewInfo::Get(), ProjectAudioIO::GetDefaultOptions(), gPrefs, MakeReadyToPlay(), oneSecondPlay, TransportUtilities::PlayPlayRegionAndWait(), CommandContext::project, and wxT().
Referenced by ExtraTransportMenu().
void anonymous_namespace{TransportMenus.cpp}::OnPlayBeforeAndAfterSelectionStart | ( | const CommandContext & | context | ) |
Definition at line 622 of file TransportMenus.cpp.
References ViewInfo::Get(), ProjectAudioIO::GetDefaultOptions(), gPrefs, MakeReadyToPlay(), oneSecondPlay, TransportUtilities::PlayPlayRegionAndWait(), CommandContext::project, and wxT().
Referenced by ExtraTransportMenu().
void anonymous_namespace{TransportMenus.cpp}::OnPlayBeforeSelectionEnd | ( | const CommandContext & | context | ) |
Definition at line 574 of file TransportMenus.cpp.
References ViewInfo::Get(), ProjectAudioIO::GetDefaultOptions(), gPrefs, MakeReadyToPlay(), oneSecondPlay, TransportUtilities::PlayPlayRegionAndWait(), CommandContext::project, and wxT().
Referenced by ExtraTransportMenu().
void anonymous_namespace{TransportMenus.cpp}::OnPlayBeforeSelectionStart | ( | const CommandContext & | context | ) |
Definition at line 526 of file TransportMenus.cpp.
References ViewInfo::Get(), ProjectAudioIO::GetDefaultOptions(), gPrefs, MakeReadyToPlay(), oneSecondPlay, TransportUtilities::PlayPlayRegionAndWait(), CommandContext::project, and wxT().
Referenced by ExtraTransportMenu().
void anonymous_namespace{TransportMenus.cpp}::OnPlayCutPreview | ( | const CommandContext & | context | ) |
Definition at line 682 of file TransportMenus.cpp.
References MakeReadyToPlay(), TransportUtilities::PlayCurrentRegionAndWait(), and CommandContext::project.
Referenced by ExtraTransportMenu().
void anonymous_namespace{TransportMenus.cpp}::OnPlayDefaultOrStop | ( | const CommandContext & | context | ) |
Definition at line 171 of file TransportMenus.cpp.
References TransportUtilities::DoStopPlaying(), MakeReadyToPlay(), TransportUtilities::PlayCurrentRegionAndWait(), and CommandContext::project.
Referenced by TransportMenu().
void anonymous_namespace{TransportMenus.cpp}::OnPlayOnceOrStop | ( | const CommandContext & | context | ) |
Definition at line 157 of file TransportMenus.cpp.
References TransportUtilities::DoStartPlaying(), TransportUtilities::DoStopPlaying(), and CommandContext::project.
Referenced by ExtraTransportMenu(), and TransportMenu().
void anonymous_namespace{TransportMenus.cpp}::OnPlayOneSecond | ( | const CommandContext & | context | ) |
Definition at line 457 of file TransportMenus.cpp.
References TrackPanel::Get(), ProjectAudioIO::GetDefaultOptions(), MakeReadyToPlay(), oneSecondPlay, TransportUtilities::PlayPlayRegionAndWait(), and CommandContext::project.
Referenced by ExtraTransportMenu().
void anonymous_namespace{TransportMenus.cpp}::OnPlayStopSelect | ( | const CommandContext & | context | ) |
Definition at line 164 of file TransportMenus.cpp.
References ProjectAudioManager::DoPlayStopSelect(), ProjectAudioManager::Get(), and CommandContext::project.
Referenced by TransportMenu().
void anonymous_namespace{TransportMenus.cpp}::OnPlayToSelection | ( | const CommandContext & | context | ) |
The idea for this function (and first implementation) was from Juhana Sadeharju. The function plays the sound between the current mouse position and the nearest selection boundary. This gives four possible play regions depending on where the current mouse position is relative to the left and right boundaries of the selection region.
Definition at line 479 of file TransportMenus.cpp.
References ViewInfo::Get(), TrackPanel::Get(), ProjectAudioIO::GetDefaultOptions(), MakeReadyToPlay(), oneSecondPlay, TransportUtilities::PlayPlayRegionAndWait(), and CommandContext::project.
Referenced by ExtraTransportMenu().
void anonymous_namespace{TransportMenus.cpp}::OnRecord | ( | const CommandContext & | context | ) |
Definition at line 190 of file TransportMenus.cpp.
References TransportUtilities::RecordAndWait().
Referenced by TransportMenu().
void anonymous_namespace{TransportMenus.cpp}::OnRecord2ndChoice | ( | const CommandContext & | context | ) |
Definition at line 197 of file TransportMenus.cpp.
References TransportUtilities::RecordAndWait().
Referenced by TransportMenu().
void anonymous_namespace{TransportMenus.cpp}::OnRescanDevices | ( | const CommandContext & | WXUNUSEDcontext | ) |
Definition at line 397 of file TransportMenus.cpp.
References DeviceManager::Instance(), and DeviceManager::Rescan().
Referenced by TransportMenu().
void anonymous_namespace{TransportMenus.cpp}::OnSetPlayRegionIn | ( | const CommandContext & | context | ) |
Definition at line 371 of file TransportMenus.cpp.
References SelectUtilities::ActivatePlayRegion(), ViewInfo::Get(), SelectUtilities::OnSetRegion(), ViewInfo::playRegion, CommandContext::project, and SetLoopInTitle.
Referenced by TransportMenu().
void anonymous_namespace{TransportMenus.cpp}::OnSetPlayRegionOut | ( | const CommandContext & | context | ) |
Definition at line 382 of file TransportMenus.cpp.
References SelectUtilities::ActivatePlayRegion(), ViewInfo::Get(), SelectUtilities::OnSetRegion(), ViewInfo::playRegion, CommandContext::project, and SetLoopOutTitle.
Referenced by TransportMenu().
void anonymous_namespace{TransportMenus.cpp}::OnSetPlayRegionToSelection | ( | const CommandContext & | context | ) |
Definition at line 392 of file TransportMenus.cpp.
References CommandContext::project, and SelectUtilities::SetPlayRegionToSelection().
Referenced by TransportMenu().
void anonymous_namespace{TransportMenus.cpp}::OnSoundActivated | ( | const CommandContext & | context | ) |
Definition at line 402 of file TransportMenus.cpp.
References GetProjectFrame(), and CommandContext::project.
Referenced by TransportMenu().
void anonymous_namespace{TransportMenus.cpp}::OnStop | ( | const CommandContext & | context | ) |
Definition at line 452 of file TransportMenus.cpp.
References ProjectAudioManager::Get(), CommandContext::project, and ProjectAudioManager::Stop().
Referenced by ExtraTransportMenu().
void anonymous_namespace{TransportMenus.cpp}::OnTogglePlayRecording | ( | const CommandContext & | WXUNUSEDcontext | ) |
Definition at line 417 of file TransportMenus.cpp.
References FileConfig::Flush(), gPrefs, ToolManager::ModifyAllProjectToolbarMenus(), and wxT().
Referenced by TransportMenu().
void anonymous_namespace{TransportMenus.cpp}::OnTogglePlayRegion | ( | const CommandContext & | context | ) |
Definition at line 361 of file TransportMenus.cpp.
References CommandContext::project, and SelectUtilities::TogglePlayRegion().
Referenced by TransportMenu().
void anonymous_namespace{TransportMenus.cpp}::OnToggleSoundActivated | ( | const CommandContext & | WXUNUSEDcontext | ) |
Definition at line 410 of file TransportMenus.cpp.
References FileConfig::Flush(), gPrefs, ToolManager::ModifyAllProjectToolbarMenus(), SoundActivatedRecord, and BoolSetting::Toggle().
Referenced by TransportMenu().
void anonymous_namespace{TransportMenus.cpp}::OnToggleSWPlaythrough | ( | const CommandContext & | WXUNUSEDcontext | ) |
Definition at line 430 of file TransportMenus.cpp.
References FileConfig::Flush(), gPrefs, ToolManager::ModifyAllProjectToolbarMenus(), and wxT().
Referenced by TransportMenu().
BaseItemSharedPtr anonymous_namespace{TransportMenus.cpp}::TransportMenu | ( | ) |
Definition at line 727 of file TransportMenus.cpp.
References AlwaysEnabledFlag, AudioIONotBusyFlag(), CanStopAudioStreamFlag(), anonymous_namespace{TimerRecordDialog.cpp}::CanStopFlags, CommandManager::Options::CheckTest(), MenuTable::Command(), gPrefs, IsLoopingEnabled(), LoopToggleText, MenuTable::Menu(), OnClearPlayRegion(), OnPause(), OnPlayDefaultOrStop(), OnPlayOnceOrStop(), OnPlayStopSelect(), OnRecord(), OnRecord2ndChoice(), OnRescanDevices(), OnSetPlayRegionIn(), OnSetPlayRegionOut(), OnSetPlayRegionToSelection(), OnSoundActivated(), OnTogglePlayRecording(), OnTogglePlayRegion(), OnToggleSoundActivated(), OnToggleSWPlaythrough(), MenuTable::Section(), SetLoopInTitle, SetLoopOutTitle, SoundActivatedRecord, WaveTracksExistFlag(), wxT(), and XXO().
AttachedItem anonymous_namespace{TransportMenus.cpp}::sAttachment1 |
Definition at line 858 of file TransportMenus.cpp.
AttachedItem anonymous_namespace{TransportMenus.cpp}::sAttachment2 |
Definition at line 906 of file TransportMenus.cpp.
AttachedItem anonymous_namespace{TransportMenus.cpp}::sAttachment4 |
Definition at line 926 of file TransportMenus.cpp.