search for: metadata_edit

Displaying 3 results from an estimated 3 matches for "metadata_edit".

Did you mean: metadata_dict
2007 Apr 15
2
While I'm Thinking About metaflac...
While I'm playing around with it, I'd like to ask about something I've noticed. Sometimes when I use metaflac to add tags, it performs it's operation instantly in a split second. Other times the same command causes lot of HDD I/O's and I can see it create a "filename.flac.metadata_edit" temp file. For example - I just added tags to a 25MB file and it took 15 seconds to process the command. Can anyone help me understand why there's different behaviors like this? It's not a problem, just want to understand. Thanks, - Brad -------------- next part -------------- An H...
2007 Apr 15
0
While I'm Thinking About metaflac...
...ask about something I've > > noticed. > > > > Sometimes when I use metaflac to add tags, it performs it's operation > > instantly in a split second. Other times the same command causes lot of > HDD > > I/O's and I can see it create a "filename.flac.metadata_edit" temp file. > > For example - I just added tags to a 25MB file and it took 15 seconds to > > process the command. > > The tags are stored at the beginning of the file. > Since it's not possible to add new data into the > beginning or middle of a file, adding tags &g...
2007 Jul 14
2
PATCH : Fix missing protoypes
...ctions supports filename- and callback-based chain reading/writing. * Everything up to set_file_stats_() is copied from libFLAC/metadata_iterators.c */ +static FLAC__bool open_tempfile_(const char *filename, FILE **tempfile, char **tempfilename) { static const char *tempfile_suffix = ".metadata_edit"; @@ -199,6 +201,7 @@ return true; } +static void cleanup_tempfile_(FILE **tempfile, char **tempfilename) { if(0 != *tempfile) { @@ -213,6 +216,7 @@ } } +static FLAC__bool transport_tempfile_(const char *filename, FILE **tempfile, char **tempfilename) { FLAC__ASSERT(0 != file...