search for: foreign_metadata

Displaying 15 results from an estimated 15 matches for "foreign_metadata".

2014 Sep 26
4
Patch to add buffering to decoding too
...ugh_decode_errors, FLAC__bool channel_map_none, replaygain_synthesis_spec_t replaygain_synthesis_spec, FLAC__bool analysis_mode, analysis_options aopts, utils__SkipUntilSpecification *skip_specification, utils__SkipUntilSpecification *until_specification, utils__CueSpecification *cue_specification, foreign_metadata_t *foreign_metadata, const char *infilename, const char *outfilename); static void DecoderSession_destroy(DecoderSession *d, FLAC__bool error_occurred); static FLAC__bool DecoderSession_init_decoder(DecoderSession *d, const char *infilename); -static FLAC__bool DecoderSession_process(DecoderSessi...
2014 Sep 26
0
Patch to add buffering to decoding too
...ugh_decode_errors, FLAC__bool channel_map_none, replaygain_synthesis_spec_t replaygain_synthesis_spec, FLAC__bool analysis_mode, analysis_options aopts, utils__SkipUntilSpecification *skip_specification, utils__SkipUntilSpecification *until_specification, utils__CueSpecification *cue_specification, foreign_metadata_t *foreign_metadata, const char *infilename, const char *outfilename); static void DecoderSession_destroy(DecoderSession *d, FLAC__bool error_occurred); static FLAC__bool DecoderSession_init_decoder(DecoderSession *d, const char *infilename); -static FLAC__bool DecoderSession_process(DecoderSessi...
2014 Sep 27
0
Patch to add buffering to decoding too
...NG, FILE_ATTRIBUTE_NORMAL, NULL); + if(fh != INVALID_HANDLE_VALUE) { + if (GetFileType(fh) == FILE_TYPE_DISK) { + LARGE_INTEGER size; + size.QuadPart = d->total_samples * d->channels * ((d->bps+7)/8); + if(d->format != FORMAT_RAW) { + size.QuadPart += 512; + if(d->foreign_metadata) { + size_t i; + for(i = d->format==FORMAT_RF64?2:1; i < d->foreign_metadata->num_blocks; i++) { + if(i != d->foreign_metadata->format_block && i != d->foreign_metadata->audio_block) + size.QuadPart += d->foreign_metadata->blocks[i].size;...
2014 Sep 26
3
Patch to add buffering to decoding too
Can you please wrap the setvbuf in _WIN32 IFDEFs too? Currently memory usage of FLAC decoding is about 1MB, so this patch is increasing memory usage tenfold, also for platforms that do not need this. It is a non-problem on my system anyway. Op 26-09-14 om 10:36 schreef Janne Hyv?rinen: > I made some changes to the previous patch. I don't know why I > originally didn't put the
2014 Sep 25
2
Patch to add buffering to decoding too
Decoding flac files is also prone to producing fragmented files. NTFS has the ability to completely avoid fragmentation if it is told the file size before hand, but that would require using special Windows-only functions. Increasing the write buffer from the default 512 bytes to 10 MB already reduces the problem tremendously. -------------- next part -------------- diff --git
2010 Aug 17
4
Compiling static libFLAC.a still requires libogg.dylib
...39; the compiler to use libogg.a, then it complains that it can't find the .dylib file. When I do that, the error looks like libtool: link: gcc -I/Users/glennm/libOGG-i386/include -O3 -funroll-loops -finline-functions -Wall -W -Winline -arch i386 -arch i386 -o flac analyze.o decode.o encode.o foreign_metadata.o main.o local_string_utils.o utils.o vorbiscomment.o ../../src/share/grabbag/.libs/libgrabbag.a ../../src/share/getopt/libgetopt.a ../../src/share/replaygain_analysis/.libs/libreplaygain_analysis.a ../../src/share/replaygain_synthesis/.libs/libreplaygain_synthesis.a ../../src/share/utf8/.libs/libu...
2010 Aug 17
1
Compiling static libFLAC.a still requires libogg.dylib
...rote: > On Mon, Aug 16, 2010 at 11:09 PM, Glenn McCord <glenn.mccord at gmail.com> wrote: > >> libtool: link: gcc -I/Users/glennm/libOGG-i386/include -O3 >> -funroll-loops -finline-functions -Wall -W -Winline -arch i386 -arch >> i386 -o flac analyze.o decode.o encode.o foreign_metadata.o main.o >> local_string_utils.o utils.o vorbiscomment.o >> ../../src/share/grabbag/.libs/libgrabbag.a >> ../../src/share/getopt/libgetopt.a >> ../../src/share/replaygain_analysis/.libs/libreplaygain_analysis.a >> ../../src/share/replaygain_synthesis/.libs/libreplaygai...
2010 Aug 17
0
Compiling static libFLAC.a still requires libogg.dylib
On Tue, 2010-08-17 at 15:09 +1200, Glenn McCord wrote: > When I do that, the error looks like > > libtool: link: gcc -I/Users/glennm/libOGG-i386/include -O3 > -funroll-loops -finline-functions -Wall -W -Winline -arch i386 -arch > i386 -o flac analyze.o decode.o encode.o foreign_metadata.o main.o > local_string_utils.o utils.o vorbiscomment.o > ../../src/share/grabbag/.libs/libgrabbag.a > ../../src/share/getopt/libgetopt.a > ../../src/share/replaygain_analysis/.libs/libreplaygain_analysis.a > ../../src/share/replaygain_synthesis/.libs/libreplaygain_synthesis.a > ....
2014 Jun 19
0
Lets work towards a new version
...eases required alignment of > target type [-Wcast-align] > CC encode.o > encode.c:120:34: warning: cast increases required alignment of > target type [-Wcast-align] > encode.c:121:33: warning: cast increases required alignment of > target type [-Wcast-align] > CC foreign_metadata.o > CC main.o > CC local_string_utils.o One other issue that I've brought up before but hasn't been fixed yet: none of the people that have contributed to FLAC in the last few years (save Miroslav) are in the AUTHORS file :)
2010 Aug 16
2
Compiling static libFLAC.a still requires libogg.dylib
Hi, I'm trying to compile a static lib of libFLAC yet whenever I use it in an application, the application will fail on other machines because it's trying to use libogg.0.dylib. I'm using the following configure command ./configure prefix=${HOME}/libFLAC --disable-asm-optimizations --disable-dependency-tracking --with-ogg=${HOME}/libOGG --enable-shared=no but to do avail. Is there
2012 Dec 04
0
[PATCH] Update FSF address.
...ze.h | 6 +-- src/flac/decode.c | 6 +-- src/flac/decode.h | 6 +-- src/flac/encode.c | 6 +-- src/flac/encode.h | 6 +-- src/flac/foreign_metadata.c | 6 +-- src/flac/foreign_metadata.h | 6 +-- src/flac/iffscan.c | 6 +-- src/flac/local_string_utils.h | 6 +-- src/flac/main.c | 12 +++--- src/flac/utils.c...
2012 Mar 29
4
[GIT PULL] Assorted bugfixes and improvements (from openSUSE)
...lude/FLAC/export.h | 26 +- m4/visibility.m4 | 77 ++ src/Makefile.am | 6 - src/flac/Makefile.am | 2 +- src/flac/encode.c | 29 +- src/flac/foreign_metadata.c | 7 +- src/libFLAC++/Makefile.am | 3 +- src/libFLAC++/metadata.cpp | 4 + src/libFLAC++/stream_decoder.cpp | 4 + src/libFLAC++/stream_encoder.cpp | 4 + src/libFLAC/Makefile.am...
2016 Feb 09
2
Compilation failure using mingw-w64 and gcc-5.3.0
...d->bps+7)/8); ^ decode.c:392:10: error: request for member 'QuadPart' in something not a structure or union size.QuadPart += 512; ^ decode.c:397:13: error: request for member 'QuadPart' in something not a structure or union size.QuadPart += d->foreign_metadata->blocks[i].size; ^ decode.c:402:41: error: 'FILE_CURRENT' undeclared (first use in this function) if(SetFilePointerEx(fh, size, NULL, FILE_CURRENT)) /* tell filesystem the expected filesize to eliminate fragmentation */ ^ Makefil...
2016 Feb 08
2
Compilation failure using mingw-w64 and gcc-5.3.0
Hello, Upon compiling the flac tree today, after many successful compilations over the last few weeks, a new error is appearing before compilation bails out. This is a cross-compilation using gcc-5.3.0 running on GNU/Linux, with the objects being built for a mingw-w64-x86_64 host. Among other things, the compiler is looking for windows_unicode_filenames.h but it isn't there. Also, I'm
2014 Jun 19
10
Lets work towards a new version
Hi all, It sees that the most serious bug in the flac bug tracker: https://sourceforge.net/p/flac/bugs/413/ has been fixed in git. This fix alone is worth a new release so its time to work towards one. Things I need to do for this new release: * Deal with all current patches on the mailing list. * Review all bugs reported against 1.3.0 on the sf.net. * Testing and coordination of testing