|
Audacity
3.0.3
|
Go to the documentation of this file.
28 #ifndef __AUDACITY_ODDecodeTask__
29 #define __AUDACITY_ODDecodeTask__
33 #include "../Internat.h"
88 (std::vector< std::weak_ptr< ODDecodeBlockFile > > &unorderedBlocks);
92 std::vector<std::unique_ptr<ODFileDecoder>>
mDecoders;
Holds a msgid for the translation catalog; may also bind format arguments.
A Track that contains audio waveform data.
virtual ODFileDecoder * CreateFileDecoder(const wxString &fileName)=0
Creates an ODFileDecoder that decodes a file of filetype the subclass handles.
const char * GetTaskName() override
Return the task name.
void CalculatePercentComplete() override
recalculates the percentage complete.
virtual int GetNumFileDecoders()
An AliasBlockFile that references uncompressed data in an existing file.
void DoSomeInternal() override
Computes and writes the data for one BlockFile if it still has a refcount.
std::vector< std::unique_ptr< ODFileDecoder > > mDecoders
A class representing a modular task to be used with the On-Demand structures.
TranslatableString GetTip() override
void Update() override
by default creates the order of the wavetrack to load.
ODDecodeTask()
Creates a NEW task that decodes files.
void OrderBlockFiles(std::vector< std::weak_ptr< ODDecodeBlockFile > > &unorderedBlocks)
Orders the input as either On-Demand or default layered order.
virtual ODFileDecoder * GetOrCreateMatchingFileDecoder(ODDecodeBlockFile *blockFile)
A class representing a modular task to be used with the On-Demand structures.
class to decode a particular file (one per file). Saves info such as filename and length (after the h...
void DemandTrackUpdate(WaveTrack *track, double seconds) override
virtual bool SeekingAllowed()
std::vector< std::weak_ptr< ODDecodeBlockFile > > mBlockFiles
unsigned int GetODType() override
Subclasses should override to return respective type.