Audacity  3.0.3
ImportRaw.h
Go to the documentation of this file.
1 /**********************************************************************
2 
3  Audacity: A Digital Audio Editor
4 
5  ImportRaw.h
6 
7  Dominic Mazzoni
8 
9 **********************************************************************/
10 
11 #ifndef __AUDACITY_IMPORT_RAW__
12 #define __AUDACITY_IMPORT_RAW__
13 
14 #include <memory>
15 
16 class AudacityProject;
17 class WaveTrackFactory;
18 class WaveTrack;
19 class wxString;
20 class wxWindow;
21 
22 #include <vector>
23 
24 // Newly constructed WaveTracks that are not yet owned by a TrackList
25 // are held in unique_ptr not shared_ptr
26 using NewChannelGroup = std::vector< std::shared_ptr<WaveTrack> >;
27 using TrackHolders = std::vector< NewChannelGroup >;
28 
29 
30 void ImportRaw(const AudacityProject &project, wxWindow *parent, const wxString &fileName,
31  WaveTrackFactory *trackFactory, TrackHolders &outTracks);
32 
33 #endif
WaveTrack
A Track that contains audio waveform data.
Definition: WaveTrack.h:69
TrackHolders
std::vector< std::vector< std::shared_ptr< WaveTrack > > > TrackHolders
Definition: Import.h:39
ImportRaw
void ImportRaw(const AudacityProject &project, wxWindow *parent, const wxString &fileName, WaveTrackFactory *trackFactory, TrackHolders &outTracks)
Definition: ImportRaw.cpp:110
WaveTrackFactory
Used to create or clone a WaveTrack, with appropriate context from the project that will own the trac...
Definition: WaveTrack.h:713
AudacityProject
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:92
NewChannelGroup
std::vector< std::shared_ptr< WaveTrack > > NewChannelGroup
Definition: Import.cpp:62