1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-22 22:21:24 +01:00

Add seek support to OD-based FFmpeg import.

Also some minor refactoring.
This feature works with mp3 right now - may work on other formats, but that will be a seperate commit.
It is not enabled so most of the changes won't even be compiled, and those that do won't be run.
To enable it uncommment the EXPERIMENTAL_ODFFMPEG def in Experimental.h
This commit is contained in:
mchinen
2010-07-05 14:38:47 +00:00
parent 4d244e93ae
commit 5a5957b422
9 changed files with 262 additions and 136 deletions

View File

@@ -89,9 +89,9 @@ class ODDecodeBlockFile : public SimpleBlockFile
virtual void Recover(void);
///A public interface to WriteSummary
void DoWriteBlockFile(){WriteODDecodeBlockFile();}
int DoWriteBlockFile(){return WriteODDecodeBlockFile();}
void WriteODDecodeBlockFile();
int WriteODDecodeBlockFile();
///Sets the value that indicates where the first sample in this block corresponds to the global sequence/clip. Only for display use.
void SetStart(sampleCount startSample){mStart = startSample;}