mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-17 08:01:12 +02:00
fix some comments
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
This is an abstract class that subclasses will have to derive the types
|
||||
from. For any type there should only be one ODDecodeTask associated with
|
||||
a given track.
|
||||
There could be the ODBlockFiles of several FLACs in one track (after copy and pasting),
|
||||
There could be the ODDecodeBlockFiles of several FLACs in one track (after copy and pasting),
|
||||
so things aren't as simple as they seem - the implementation needs to be
|
||||
robust enough to allow all the user changes such as copy/paste, DELETE, and so on.
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
Audacity: A Digital Audio Editor
|
||||
|
||||
ODComputeSummaryTask.cpp
|
||||
ODDecodeTask
|
||||
|
||||
Created by Michael Chinen (mchinen) on 8/10/08.
|
||||
Audacity(R) is copyright (c) 1999-2008 Audacity Team.
|
||||
@@ -10,9 +10,9 @@
|
||||
|
||||
******************************************************************//**
|
||||
|
||||
\class ODComputeSummaryTask
|
||||
\brief Computes the summary data for a PCM (WAV) file and writes it to disk,
|
||||
updating the ODPCMAliasBlockFile and the GUI of the newly available data.
|
||||
\class ODDecodeTask
|
||||
\brief Decodes files and writes block files in .au format,
|
||||
updating the ODDecodeBlockFile and the GUI of the newly available data.
|
||||
|
||||
*//*******************************************************************/
|
||||
|
||||
@@ -23,7 +23,7 @@ updating the ODPCMAliasBlockFile and the GUI of the newly available data.
|
||||
#include "../WaveTrack.h"
|
||||
#include <wx/wx.h>
|
||||
|
||||
///Creates a NEW task that computes summaries for a wavetrack that needs to be specified through SetWaveTrack()
|
||||
///Creates a NEW task that decodes files
|
||||
ODDecodeTask::ODDecodeTask()
|
||||
{
|
||||
mMaxBlockFiles = 0;
|
||||
@@ -150,7 +150,7 @@ void ODDecodeTask::Update()
|
||||
insertCursor =0;//OD TODO:see if this works, removed from inner loop (bfore was n*n)
|
||||
for (i = 0; i<(int)blocks->size(); i++)
|
||||
{
|
||||
//since we have more than one ODBlockFile, we will need type flags to cast.
|
||||
//since we have more than one ODDecodeBlockFile, we will need type flags to cast.
|
||||
SeqBlock &block = (*blocks)[i];
|
||||
const auto &file = block.f;
|
||||
std::shared_ptr<ODDecodeBlockFile> oddbFile;
|
||||
@@ -242,7 +242,7 @@ void ODDecodeTask::DemandTrackUpdate(WaveTrack* track, double seconds)
|
||||
}
|
||||
|
||||
|
||||
///there could be the ODBlockFiles of several FLACs in one track (after copy and pasting)
|
||||
///there could be the ODDecodeBlockFiles of several FLACs in one track (after copy and pasting)
|
||||
///so we keep a list of decoders that keep track of the file names, etc, and check the blocks against them.
|
||||
///Blocks that have IsDataAvailable()==false are blockfiles to be decoded. if BlockFile::GetDecodeType()==ODDecodeTask::GetODType() then
|
||||
///this decoder should handle it. Decoders are accessible with the methods below. These aren't thread-safe and should only
|
||||
|
@@ -16,7 +16,7 @@
|
||||
This is an abstract class that subclasses will have to derive the types
|
||||
from. For any type there should only be one ODDecodeTask associated with
|
||||
a given track.
|
||||
There could be the ODBlockFiles of several FLACs in one track (after copy and pasting),
|
||||
There could be the ODDecodeBlockFiles of several FLACs in one track (after copy and pasting),
|
||||
so things aren't as simple as they seem - the implementation needs to be
|
||||
robust enough to allow all the user changes such as copy/paste, DELETE, and so on.
|
||||
|
||||
@@ -62,7 +62,7 @@ class ODDecodeTask /* not final */ : public ODTask
|
||||
///Creates an ODFileDecoder that decodes a file of filetype the subclass handles.
|
||||
virtual ODFileDecoder* CreateFileDecoder(const wxString & fileName)=0;
|
||||
|
||||
///there could be the ODBlockFiles of several FLACs in one track (after copy and pasting)
|
||||
///there could be the ODDecodeBlockFiles of several FLACs in one track (after copy and pasting)
|
||||
///so we keep a list of decoders that keep track of the file names, etc, and check the blocks against them.
|
||||
///Blocks that have IsDataAvailable()==false are blockfiles to be decoded. if BlockFile::GetDecodeType()==ODDecodeTask::GetODType() then
|
||||
///this decoder should handle it. Decoders are accessible with the methods below. These aren't thread-safe and should only
|
||||
|
Reference in New Issue
Block a user