Audacity
3.2.0
src
TransportUtilities.h
Go to the documentation of this file.
1
/**********************************************************************
2
3
Audacity: A Digital Audio Editor
4
5
@file TransportUtilities.h
6
@brief Some UI related to starting and stopping play and record
7
8
Paul Licameli split from TransportMenus.h
9
10
**********************************************************************/
11
12
#ifndef __AUDACITY_TRANSPORT_UTILITIES__
13
#define __AUDACITY_TRANSPORT_UTILITIES__
14
15
struct
AudioIOStartStreamOptions
;
16
class
CommandContext
;
17
class
SelectedRegion
;
18
enum class
PlayMode
: int;
19
20
struct
AUDACITY_DLL_API
TransportUtilities
21
{
22
static
void
PlayCurrentRegionAndWait(
23
const
CommandContext
&context,
24
bool
newDefault =
false
,
25
bool
cutpreview =
false
);
26
static
void
PlayPlayRegionAndWait(
27
const
CommandContext
&context,
28
const
SelectedRegion
&selectedRegion,
29
const
AudioIOStartStreamOptions
&options,
30
PlayMode
mode);
31
static
void
RecordAndWait(
32
const
CommandContext
&context,
bool
altAppearance);
33
34
static
void
DoStartPlaying(
35
const
CommandContext
&context,
bool
newDefault =
false
);
36
static
bool
DoStopPlaying(
const
CommandContext
&context);
37
38
};
39
40
#endif
PlayMode
PlayMode
Definition:
ProjectAudioManager.h:34
CommandContext
CommandContext provides additional information to an 'Apply()' command. It provides the project,...
Definition:
CommandContext.h:34
SelectedRegion
Defines a selected portion of a project.
Definition:
SelectedRegion.h:38
AudioIOStartStreamOptions
struct holding stream options, including a pointer to the time warp info and AudioIOListener and whet...
Definition:
AudioIOBase.h:44
TransportUtilities
Definition:
TransportUtilities.h:21
Generated by
1.9.3