search for: flac__metadata_chain

Displaying 8 results from an estimated 8 matches for "flac__metadata_chain".

2007 Jul 14
2
PATCH : Fix missing protoypes
...eceived a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#include "options.h" + +FLAC__bool do_shorthand_operation__picture(const char *filename, FLAC__Metadata_Chain *chain, const Operation *operation, FLAC__bool *needs_write); +FLAC__bool do_shorthand_operation__cuesheet(const char *filename, FLAC__Metadata_Chain *chain, const Operation *operation, FLAC__bool *needs_write); +FLAC__bool do_shorthand_operation__add_seekpoints(const char *filename, FLAC__Metadata...
2005 May 25
0
[PATCH] Fix fuction prototypes/definitions with void argument
...c void show_version(); +static void show_version(void); static FLAC__bool do_major_operation(const CommandLineOptions *options); static FLAC__bool do_major_operation_on_file(const char *filename, const CommandLineOptions *options); static FLAC__bool do_major_operation__list(const char *filename, FLAC__Metadata_Chain *chain, const CommandLineOptions *options); @@ -83,7 +83,7 @@ FLAC__bool do_operations(const CommandLi * local routines */ -void show_version() +void show_version(void) { printf("metaflac %s\n", FLAC__VERSION_STRING); } --- src/plugin_xmms/plugin.c-dist 2005-05-25 16:25:03.00000...
2004 Sep 26
2
Finding start of audio data using metadata level 2 interface.
...the decode position is relative to >the start of the file even if you have an id3v2 tag in front. Yeah, I was trying to avoid doing that. This is meant for some fast (as opposed to the current pure perl version) header parsing only code, not doing a decoder in this piece as well. It looks like FLAC__Metadata_Chain has a last_offset - but it's not exposed. That should theoretically give me the position after the last metadata block? -D -- Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind. -- Dr. Seuss
2004 Sep 26
2
Finding start of audio data using metadata level 2 interface.
I'm attempting to use the metadata level 2 interface to get at the various interesting bits, which is working fine. But I also need a relevant piece of data, the offset of where the metadata ends, and the audio blocks begin. I'm not finding a clear way to reach that number. Is this exposed anywhere? Thanks. -D -- The revolution will be documented.
2004 Sep 27
0
Finding start of audio data using metadata level 2 interface.
...he start of the file even if you have an id3v2 tag in front. > > Yeah, I was trying to avoid doing that. This is meant for some fast > (as > opposed to the current pure perl version) header parsing only code, > not doing > a decoder in this piece as well. > > It looks like FLAC__Metadata_Chain has a last_offset - but it's not > exposed. > That should theoretically give me the position after the last > metadata block? yep, that will work too. but just writing skipping code is pretty simple: is_last=0 read 'fLaC' string while (!is_last) { read 1 byte metadata blo...
2010 Mar 08
0
Difficulties in add cover art to FLAC file
Hi all, recently I tried to add cover art to flac files and have dfficulties in doing so. FLAC__Metadata_Chain *chain = FLAC__metadata_chain_new(); if(0 == chain) return; if(!FLAC__metadata_chain_read(chain, filename)) return; FLAC__StreamMetadata *picture = FLAC__metadata_object_new(FLAC__METADATA_TYPE_PICTURE); FLAC__Metadata_Iterator *iterator = FLAC__metadata_iterator_new(); if(0 == iterator)...
2013 Apr 08
2
flac 1.3.0pre3 pre-release
...Unicode support for one forgotten print function in metaflac. -------------- next part -------------- diff --git a/src/metaflac/utils.c b/src/metaflac/utils.c index 934cfcf..af17d5b 100644 --- a/src/metaflac/utils.c +++ b/src/metaflac/utils.c @@ -136,7 +136,7 @@ void print_error_with_chain_status(FLAC__Metadata_Chain *chain, const char *form va_start(args, format); - (void) vfprintf(stderr, format, args); + (void) flac_vfprintf(stderr, format, args); va_end(args);
2013 Apr 01
17
flac 1.3.0pre3 pre-release
Hi all, The latest pre-release is here: http://downloads.xiph.org/releases/flac/beta/flac-1.3.0pre3.tar.xz but there will probably need to be at least one more. I've tested this on x86_64-linux powerpc-linux i386-openbsd5.2 i386-freebsd9 The majority of changes since the last pre-release is the addition of Janne Hyv?rinen's utf8 I/O functionality. Janne's