[Clam-devel] AudioFile refactor progress

Pau Arumi parumi at iua.upf.edu
Sat Apr 14 13:12:06 PDT 2007


En/na David García Garzón ha escrit:
> Status: I just ported MonoAudioFileReader to see what happened and the 
> migration is not as hard as i thought. Moreover, both the code and the XML 
> get simpler. For example, former configuration code for a MonoAudioFileReader 
> was:
> 
> AudioFile file;
> file.OpenExisting("lala.wav");
> MonoAudioFileReaderConfig config;
> config.SetSourceFile(file);
> MonoAudioFileReader reader(config);
> 
> Current one:
> 
> MonoAudioFileReaderConfig config;
> config.SetSourceFile("lala.wav");
> MonoAudioFileReader reader(config);
> 
> And the XML now is:
 > ...

that's great news! the kick-out-audiofile-from-config-refactoring paid
off






More information about the clam-devel mailing list