Audacity 3.2.0
|
Base class for FlacImportFileHandle, LOFImportFileHandle, MP3ImportFileHandle, OggImportFileHandle and PCMImportFileHandle. Gives API for sound file import. More...
#include <ImportPlugin.h>
Public Types | |
using | ByteCount = unsigned long long |
Public Member Functions | |
virtual | ~ImportFileHandle () |
virtual FilePath | GetFilename () const =0 |
virtual TranslatableString | GetErrorMessage () const |
virtual TranslatableString | GetFileDescription ()=0 |
virtual ByteCount | GetFileUncompressedBytes ()=0 |
virtual wxInt32 | GetStreamCount ()=0 |
virtual const TranslatableStrings & | GetStreamInfo ()=0 |
virtual void | SetStreamUsage (wxInt32 StreamID, bool Use)=0 |
virtual void | Import (ImportProgressListener &progressListener, WaveTrackFactory *trackFactory, TrackHolders &outTracks, Tags *tags, std::optional< LibFileFormats::AcidizerTags > &acidTags)=0 |
virtual void | Cancel ()=0 |
virtual void | Stop ()=0 |
Base class for FlacImportFileHandle, LOFImportFileHandle, MP3ImportFileHandle, OggImportFileHandle and PCMImportFileHandle. Gives API for sound file import.
An ImportFileHandle for data.
The Ogg format supports multiple logical bitstreams that can be chained within the physical bitstream. The sampling rate and number of channels can vary between these logical bitstreams. For the moment, we'll ignore all but the first logical bitstream.
Ogg also allows for an arbitrary number of channels. Luckily, so does Audacity. We'll call the first channel LeftChannel, the second RightChannel, and all others after it MonoChannel.
Definition at line 110 of file ImportPlugin.h.
using ImportFileHandle::ByteCount = unsigned long long |
Definition at line 114 of file ImportPlugin.h.
|
virtualdefault |
|
pure virtual |
|
virtual |
Reimplemented in AUPImportFileHandle.
Definition at line 79 of file ImportPlugin.cpp.
|
pure virtual |
Implemented in AUPImportFileHandle, FFmpegImportFileHandle, FLACImportFileHandle, LOFImportFileHandle, anonymous_namespace{ImportMP3_MPG123.cpp}::MP3ImportFileHandle, OggImportFileHandle, OpusImportFileHandle, PCMImportFileHandle, WavPackImportFileHandle, and anonymous_namespace{ImportMIDI.cpp}::MIDIImportFileHandle.
|
pure virtual |
|
pure virtual |
Implemented in AUPImportFileHandle, FFmpegImportFileHandle, FLACImportFileHandle, LOFImportFileHandle, anonymous_namespace{ImportMP3_MPG123.cpp}::MP3ImportFileHandle, OggImportFileHandle, OpusImportFileHandle, PCMImportFileHandle, WavPackImportFileHandle, and anonymous_namespace{ImportMIDI.cpp}::MIDIImportFileHandle.
|
pure virtual |
Implemented in AUPImportFileHandle, FFmpegImportFileHandle, FLACImportFileHandle, LOFImportFileHandle, anonymous_namespace{ImportMP3_MPG123.cpp}::MP3ImportFileHandle, OggImportFileHandle, OpusImportFileHandle, PCMImportFileHandle, WavPackImportFileHandle, and anonymous_namespace{ImportMIDI.cpp}::MIDIImportFileHandle.
Referenced by anonymous_namespace{ProjectFileManager.cpp}::ImportProgress::OnImportFileOpened().
|
pure virtual |
Implemented in AUPImportFileHandle, FFmpegImportFileHandle, FLACImportFileHandle, LOFImportFileHandle, anonymous_namespace{ImportMP3_MPG123.cpp}::MP3ImportFileHandle, OggImportFileHandle, OpusImportFileHandle, PCMImportFileHandle, WavPackImportFileHandle, and anonymous_namespace{ImportMIDI.cpp}::MIDIImportFileHandle.
|
pure virtual |
Implemented in AUPImportFileHandle, FFmpegImportFileHandle, FLACImportFileHandle, LOFImportFileHandle, anonymous_namespace{ImportMP3_MPG123.cpp}::MP3ImportFileHandle, OggImportFileHandle, OpusImportFileHandle, PCMImportFileHandle, WavPackImportFileHandle, and anonymous_namespace{ImportMIDI.cpp}::MIDIImportFileHandle.
|
pure virtual |
Implemented in FFmpegImportFileHandle, anonymous_namespace{ImportMP3_MPG123.cpp}::MP3ImportFileHandle, OggImportFileHandle, OpusImportFileHandle, WavPackImportFileHandle, and anonymous_namespace{ImportMIDI.cpp}::MIDIImportFileHandle.
Referenced by anonymous_namespace{ProjectFileManager.cpp}::ImportProgress::OnImportFileOpened(), and ImportStreamDialog::OnOk().
|
pure virtual |