search for: flac__has_ogg

Displaying 20 results from an estimated 32 matches for "flac__has_ogg".

2007 Sep 08
2
Compile problems on OSX
...MODULES mcaro which uses pkg-config underneath? For my system pkg-config does the right thing: > pkg-config --cflags --libs ogg -I/opt/local/include -L/opt/local/lib -logg I will put together a patch for this is you are interested. Second problem is that I get a compile error when FLAC__HAS_OGG is 0 in src/flac/decode.c: decode.c:393: error: 'options' undeclared (first use in this function) The code in question is this: #if FLAC__HAS_OGG if(decoder_session->is_ogg) { /* Some code here. */ } else #else (void)decode_optio...
2007 Sep 09
2
Compile problems on OSX
...mole problem (fixes things for some people and > breaks for others). I'll look into that over the next day or so. The pkg-config method has the advantage of being highly robust, but is a pain for MinGW because you need pkg-config. > > Second problem is that I get a compile error when FLAC__HAS_OGG is 0 > > in src/flac/decode.c: > > > > decode.c:393: error: 'options' undeclared (first use in this > > function) > > > > The code in question is this: > > > > #if FLAC__HAS_OGG > > if(decoder_session->is_ogg) { &gt...
2004 Sep 10
1
latest checkins
...Since (I assume) this has added a new public interface, don't forget > to > update the libtool version before the release, from 1:0:0 to 2:0:1, > to > reflect this. yes, I'll be checking that in today. Matt, on a separate note, the Ogg test in configure.in is: AM_CONDITIONAL(FLaC__HAS_OGG, [test $have_ogg = xyes]) I thought it would be: AM_CONDITIONAL(FLaC__HAS_OGG, [test x$have_ogg = xyes]) ??? Josh __________________________________________________ Do You Yahoo!? Find a job, post your resume. http://careers.yahoo.com
2007 Sep 09
0
Compile problems on OSX
...PTH_PATH_OGG has been working pretty well... can you tell why it's not working for you? I'm always hesitant to mess with things in configure.in because is such whack-a-mole problem (fixes things for some people and breaks for others). > Second problem is that I get a compile error when FLAC__HAS_OGG is 0 > in src/flac/decode.c: > > decode.c:393: error: 'options' undeclared (first use in this > function) > > The code in question is this: > > #if FLAC__HAS_OGG > if(decoder_session->is_ogg) { > /* Some code here. */ >...
2013 Jan 04
1
Flac Decoder
...on my system. I do have Visual Studio 2010 and Visual Studio 2005. I am trying to build only the static library for C but it always end up having some error. Could anyone can help me how to built the library using VS 2010 or 2005? I do some research, And try to change: On PreProcessor Definitions: FLAC__HAS_OGG to FLAC__NO_OGG FLAC__HAS_NASM to FLAC__NO_ASM Set Runtime Library to Multi-Threaded Set Language wchar_t to Yes But these doesn't solve the problem. -Denver- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/flac-dev/attachments/...
2013 Apr 06
0
[PATCH 1/2] Fix pkg-config files to avoid overlinking
...| 2 ++ src/libFLAC++/flac++.pc.in | 4 ++-- src/libFLAC/flac.pc.in | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index b35e44d..b4094ff 100644 --- a/configure.ac +++ b/configure.ac @@ -308,9 +308,11 @@ fi AM_CONDITIONAL(FLaC__HAS_OGG, [test "x$have_ogg" = xyes]) if test "x$have_ogg" = xyes ; then AC_DEFINE_UNQUOTED([FLAC__HAS_OGG],1,[define if you have the ogg library]) + OGG_PACKAGE="ogg" else AC_DEFINE_UNQUOTED([FLAC__HAS_OGG],0) fi +AC_SUBST(OGG_PACKAGE) dnl check for i18n(internationa...
2013 May 04
5
Bug fix and compatibility patches for 1.3.0pre4
...ently dead SourceForge patch tracker. The first two are quite straight forward: - The ICL patch fixes a typo in bitmath.h and adds FLAC__bitwriter_write_zeroes to the external declarations in bitwriter.c. - The Ogg patch replaces the check for FLAC_API_SUPPORTS_OGG_FLAC in stream_decoder.c with FLAC__HAS_OGG to fix compilation with Ogg support. The _lseeki64 patch probably is a little more controversial. The problem is that fseeki64 and ftelli64 are not available in Windows XP - at least not without installing extra MSVC runtime libraries. I changed compat.h and replaced them with calls to _lseeki6...
2013 May 25
4
Bug fix and compatibility patches for 1.3.0pre4
...first two are quite straight forward: >> >> - The ICL patch fixes a typo in bitmath.h and adds >> FLAC__bitwriter_write_zeroes to the external declarations in bitwriter.c. >> - The Ogg patch replaces the check for FLAC_API_SUPPORTS_OGG_FLAC in >> stream_decoder.c with FLAC__HAS_OGG to fix compilation with Ogg support. >> >> The _lseeki64 patch probably is a little more controversial. The problem >> is that fseeki64 and ftelli64 are not available in Windows XP - at least >> not without installing extra MSVC runtime libraries. I changed compat.h >>...
2007 Jul 25
2
building flac 1.2.0 on OS X
I just tried to build 1.2 on my Macbook i ran configure with the following arguments (like i have in the past) ./configure --enable-static --disable-asm-optimizations --disable-shared then "make: i get the following error: encode.c: In function 'convert_to_seek_table_template': encode.c:2181: error: 'struct <anonymous>' has no member named 'use_ogg'
2007 Aug 09
1
FLAC 1.2.0 won't build without ogg
...f(num_requested_seek_points < 0) { /*@@@@@@ workaround ogg bug: too many seekpoints makes table not fit in one page */ - if(e->use_ogg && e->total_samples_to_encode > 0 && e->total_samples_to_encode / e->sample_rate / 10 > 230) +#if FLAC__HAS_OGG + if(e->use_ogg && e->total_samples_to_encode > 0 && e->total_samples_to_encode / e->sample_rate / 10 > 230) { requested_seek_points = "230x;"; + } else +#endif + {...
2012 Mar 09
1
Compiling the FLAC libraries without OGG
I am attempting to build the FLAC Libraries without ogg using Microsoft Visual Studio. As suggested in the README file, I removed the FLAC__HAS_OGG preprocessor directive from the projects, but a number of the files include the ogg headers: 1>------ Build started: Project: libFLAC_dynamic, Configuration: Debug Win32 ------ 1> ogg_helper.c 1>c:\users\mischero\documents\visual studio 11\projects\flac-1.2.1\src\libflac\include\private\...
2014 Jun 07
1
Typos in the FLAC codebase
...9;s better to revert this commit http://git.xiph.org/?p=flac.git;a=commit;h=151739921b74fbf31420358a5fbeb094efa017ed because before it there was only one place of non-uniformity: line 140 in configure.ac, now there are several .c and .h files with all-caps FLAC__*** (FLAC__CPU_IA32, FLAC__HAS_NASM, FLaC__HAS_OGG) and suddenly FLaC__CPU_X86_64.
2004 Sep 10
2
latest checkins
I have checked in a few changes worth noting: 1. I split the file decoder into a more general 'seekable stream decoder' which, makes the file decoder just a special case of the seekable stream decoder. this is useful in situations where you are trying to add decoding support to something that has abstracted the file away. the file decoder interface is still identical, it is all backward
2004 Sep 10
1
Serious bug in FLAC
...o. Rather than trying voodoo magic first, let's find the bug... In metadata_callback() in encode.c you should not be examining the variable encoder_wrapper->use_ogg unless you have compiled in OGG support (I have not). So this code block needs to be wrapped up something like this... #ifdef FLAC__HAS_OGG if(encoder_wrapper->use_ogg) return; #endif Every user who has flac installed but did not configure OGG support will have a high (but not 100%) chance of creating flac files with no seektable, and no MD5 checksum, and various other things wrong. I recommend that in addi...
2012 Mar 23
2
Trying to link against libFLAC_static.lib (windows)
...l Library Dependencies" and Input-> "Additional Dependencies" appropriately. Both the main app and the flac libs are build using the "runtime library" Multi-Threaded /MT (or /MTd for debug mode) The flac project is using the preprocessor definitions: WIN32 NDEBUG _LIB FLAC__HAS_OGG FLAC__CPU_IA32 FLAC__HAS_NASM FLAC__USE_3DNOW VERSION="1.2.0" FLAC__NO_DLL I'm not sure what else to try at this stage. I've reached the point where I start going in circles and accessing the same internet search results. Has anyone got any suggestions? Thanks Glenn
2017 Jan 06
8
[PATCH 0/5] Allow multiple targets to be disabled
Hi, This patchet allows a few targets to be disabled when unrequired. The rational is coming from VLC's contrib buildsystem, so far we use make -C to select only some subparts of the available targets. It would be easier and cleaner to use autoconf to do so IMHO. There's an additional patch which fixes the build when building for WinRT/UWP platform, upstreamed from VLC. We have a couple
2004 Sep 10
5
autoheader failing?
With these versions: ii autoconf 2.54-2 automatic configure script builder ii automake1.6 1.6.3-2 A tool for generating GNU Standards-complian I am unable to build the autoconfiscations. autoheader gives: autoheader2.50: error: AC_CONFIG_HEADERS not found in configure.in What versions are you using? (btw, I do think it would be a very good idea to start using
2017 Jan 13
9
Upstreaming Gentoo patches
Dear FLAC devs, I would like to get some of our patches merged into master. Most of them deal with adhering to GNU conventions, respectively not overriding flags/variables that are up to the user to set. For instance, honoring $(htmldir) is important, as we have installation paths for the documentation that differ from what is currently coded in the various Makefile.am's. Regards David
2005 Jan 29
2
Patch : fix configure.in and Makefile.am problems.
...le.am --- src/flac/Makefile.am 25 Jan 2005 04:18:27 -0000 1.33 +++ src/flac/Makefile.am 30 Jan 2005 05:23:53 -0000 @@ -16,7 +16,7 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. bin_PROGRAMS = flac -CFLAGS = @CFLAGS@ @OGG_CFLAGS@ +AM_CFLAGS = @OGG_CFLAGS@ if FLaC__HAS_OGG NEED_OGGFLAC_LIB = $(top_builddir)/src/libOggFLAC/libOggFLAC.la Index: src/libFLAC/Makefile.am =================================================================== RCS file: /cvsroot/flac/flac/src/libFLAC/Makefile.am,v retrieving revision 1.57 diff -u -r1.57 Makefile.am --- src/libFLAC/Makefile.am...
2004 Sep 10
1
Another OS X compile error
On Wednesday, January 8, 2003, at 12:56 PM, Josh Coalson wrote: > 'touch doc/FLAC.tag' and run make again I did and got: gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I./include -I../../include -g -O2 -O3 -DNDEBUG -Dunix -fomit-frame-pointer -funroll-loops -finline-functions -Wall -W -Winline -DFLaC__INLINE=__inline__ -c `test -f 'encode.c' || echo