summaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Make sure CMake build files end up in release tarballErik de Castro Lopo2019-10-017-0/+9
|
* Use of BUILD_SHARED_LIBS addedVitaliy Kirsanov2019-05-044-4/+4
|
* FLAC now depends on win_utf8_ioVitaliy Kirsanov2019-05-042-2/+2
| | | | Accidently found this missing dependency
* CMake support addedVitaliy Kirsanov2019-05-047-0/+16
|
* stdint.h fixes for MSVS 2005/2008Erik de Castro Lopo2017-01-194-0/+8
| | | | | | | This adds a new msvc2005_int.h header file which is "force included" as needed by the MSVS project file. Patch-from: lvqcl <lvqcl.mail@gmail.com>
* Yet more purging of `unsigned` typeErik de Castro Lopo2017-01-152-11/+11
|
* Bulk update copyright datesErik de Castro Lopo2016-12-0520-20/+20
|
* libFLAC: Remove win_utf8_io dependencyErik de Castro Lopo2016-02-088-32/+0
| | | | Path-from: lvqcl <lvqcl.mail@gmail.com>
* Makefile.lite: Include config.mk from top level build dirThomas Zander2015-10-304-0/+8
| | | | | | | | | Makefile.lite in libs/executables subdirs must include top level's config.mk to allow variables defined there (OS, PROC) to be used; otherwise e.g. EXPLICIT_LIBS is not set and link fails on Darwin. Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* Remove traiing whitespace (mostly .c and .h files).Erik de Castro Lopo2014-12-051-1/+1
| | | | Patch-from: lvqcl <lvqcl.mail@gmail.com>
* examples/*/Makefile.am : Add CLEANFILES line to remove Windows .exe files.Erik de Castro Lopo2014-11-274-0/+8
|
* Update copyright years to include 2014.Erik de Castro Lopo2014-11-2520-20/+20
|
* examples/c/decode/file/main.c : Add extra error handling.Erik de Castro Lopo2014-11-201-0/+12
| | | | | | | | | | | Michele Spagnuolo provided a file that initially had frames with two channels but then had a frame with a single channel. This example program only supports exactly two channels and previously had insufficient validation. Closes: https://sourceforge.net/p/flac/bugs/418/ Reported-by: Michele Spagnuolo, Google Security Team <mikispag@google.com>
* Makefile.ams: Add MSVS project files to EXTRA_DIST.Erik de Castro Lopo2014-07-094-4/+12
| | | | Patch-from: lvqcl <lvqcl.mail@gmail.com>
* Add project files for Visual Studio 2010 and later.Erik de Castro Lopo2014-07-068-0/+812
| | | | | | Also allows building for x86-64 Windows. Patch-from: lvqcl <lvqcl.mail@gmail.com>
* Update URLs as nedeed.Erik de Castro Lopo2014-06-284-4/+4
| | | | | | | Sourceforge.net links updated as nedeed with some of them being changed to point to xiph.org/flac. Patch-from: lvqcl <lvqcl.mail@gmail.com>
* Update Makefile.lite build system.Evan Ramos2014-06-244-0/+16
| | | | Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* Fix all instances of '#if HAVE_CONFIG_H'.Erik de Castro Lopo2014-03-244-4/+4
| | | | | | Should be '#ifdef HAVE_CONFIG_H'. Closes: https://sourceforge.net/p/flac/bugs/410/
* Vcproj file updates.Erik de Castro Lopo2013-10-044-24/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | rplaces OutputDirectory="..\..\..\..\objs\debug\bin" with OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin and so on. Rmoves OutputFile="..\..\objs\debug\lib\$(ProjectName).lib when possible. Also, in the current version "Whole program optimization" compiler option is set, but the corresponding linker option isn't. From MSDN: "If you do not explicitly specify /LTCG when you pass /GL or MSIL modules to the linker, the linker eventually detects this and restarts the link by using /LTCG. Explicitly specify /LTCG when you pass /GL and MSIL modules to the linker for the fastest possible build performance." So /LTCG option was added too. Debug build now uses libogg_static.lib from .\objs\debug\lib folder. (the dependency for both release and debug is objs\$(ConfigurationName)\lib\libogg_static.lib) Patch-from: lvqcl <lvqcl.mail@gmail.com>
* Fix numerous warnings arising from addition of -Weffc++.Erik de Castro Lopo2013-09-151-0/+3
|
* Language fix: "difference licenses"Ulrich Klauer2013-05-278-8/+8
| | | | Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* Set version to 1.3.0 and update coyprights throughout.Erik de Castro Lopo2013-05-2620-20/+40
|
* For windows, make UTF-8 mode into a runtime choice.Erik de Castro Lopo2013-04-074-324/+0
| | | | | | | | The smaller patch makes the utf-8 library use ANSI codepage by default. When frontends call the "get_utf8_argv" function it changes Unicode conversion codepage from ANSI to UTF-8. Patch from Janne Hyvärinen <cse@sci.fi>.
* Only link against libogg (and libm) if neededUlrich Klauer2013-04-071-3/+1
| | | | | | | Most of the programs don't use libogg or libm directly and should not link to them (overlinking). Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* Purge FLAC__STRINGS_IN_UTF8 from VC project files.Erik de Castro Lopo2013-04-014-4/+4
|
* Huge Windows utf8 I/O patch.Erik de Castro Lopo2013-03-294-0/+324
| | | | Patch from Janne Hyvärinen <cse@sci.fi>.
* More Microsoft Visual Studio project file updates.Erik de Castro Lopo2013-03-184-8/+8
| | | | Patch from Janne Hyvärinen <cse@sci.fi>.
* Purge old un-maintained MSVC 6 project files.Erik de Castro Lopo2013-03-1010-472/+4
|
* Large patch from Ben Allison fixing the MSVC build.Erik de Castro Lopo2013-03-062-6/+2
| | | | Patch tweaked a little to fix Linux build and clean up minor problems.
* Fix VC project files to use /objs/ directory instead of /obj/ directory.Erik de Castro Lopo2013-01-029-36/+36
|
* Fix all Makefile.lite to use /objs/ directory instead of /obj/ directory.Erik de Castro Lopo2013-01-024-4/+4
|
* Fix building with MSYS and MinGW(-w64); Improve Makefile.lite build systemHendricks2662013-01-024-8/+8
| | | | | | | | | | | | | | | | | | | | | This is a patch to allow building of the project using MSYS, MinGW, and MinGW-w64 with the following invocation: make -f Makefile.lite libFLAC libFLAC++ flac metaflac test_libs_common test_libFLAC test_libFLAC++ test_grabbag test_seeking test_streams utils examples This patch addresses eight points: 1. `uname -p` in MSYS returns "unknown" so we must use `gcc -dumpmachine` to gain information about the target, 32-bit or 64-bit. 2. MinGW-w64 does not ship with a working iconv.h, so we must disable it under this specific compiler. 3. The code requires <inttypes.h> in a handful of C files, but config.mk did not contain -DHAVE_INTTYPES_H, which under the full build process (I assume) is added by autoconf. 4. The compiler complained when lround() in lpc.c was static, so it is no longer static. 5. Additional scattered linking directives (and reordering) (particularly FLAC, grabbag, and replaygain_analysis) were necessary to build some of the components. 6. The Makefile.lite build system benefited from some cleanup, particularly by rigorously defining all entries, factoring redundancy, and establishing dependencies. (Some typos were fixed too.) 7. Shared objects on Windows use .dll, not .so. (Added *.dll, *.dylib, and *.exe to .gitignore.) 8. To allow more freedom using Makefile.lite without configure, I added the variables USE_OGG and USE_ICONV which can toggle these two components in the build process. ex: make -f Makefile.lite examples USE_OGG=0 USE_ICONV=0 These improvements make use of some use-time Makefile variable expansion. Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* Update FSF address.Miroslav Lichvar2012-12-0612-36/+36
|
* Fix more compiler warnings.Erik de Castro Lopo2012-05-082-12/+11
|
* Update and improve autotools buildCristian Rodríguez2012-04-084-4/+4
| | | | | | | | | | | - INCLUDES is deprecated, and CPPFLAGS is an user-defined variable, use the proper AM_CPPFLAGS instead - Remove FLAC__INLINE definition, providing proper replacement for MSVC compilers. - Detect if we have C99 's lround and provide a replacement for windows...
* Add missing <csting> include.Erik de Castro Lopo2012-02-121-0/+2
| | | | | Patch from Cyril Brulebois <cyril.brulebois@enst-bretagne.fr> via Debian. Closes Debian bug #455304.
* Purge MINGW_WINSOCK_LIBS config variable.Erik de Castro Lopo2012-02-054-16/+16
| | | | This was only needed for ntohl() function which has already been removed.
* Add file include/share/compat.h and start moving CPP hackery into it.Erik de Castro Lopo2012-02-042-6/+2
|
* Patch from David Yeo to conditionally include <inttypes.h>.Erik de Castro Lopo2012-02-042-0/+6
|
* Fix a bunch of printf format warnings.Erik de Castro Lopo2012-02-012-11/+3
|
* add 2009 copyrightJosh Coalson2009-01-0720-20/+20
|
* update Makefile.lite system to work on x86_64 linuxJosh Coalson2008-09-144-4/+4
|
* remove VCWebDeploymentTool item for better proj compatibility with vs9Josh Coalson2008-06-034-24/+0
|
* update copyright for 2008Josh Coalson2008-02-2820-20/+20
|
* fix #includes (SF#1834168: ↵Josh Coalson2007-11-271-0/+1
| | | | https://sourceforge.net/tracker/index.php?func=detail&aid=1834168&group_id=13478&atid=313478)
* final automake-related fixesJosh Coalson2007-09-164-2/+8
|
* *** empty log message ***Josh Coalson2007-09-131-1/+1
|
* minor fixesJosh Coalson2007-09-134-4/+4
|
* add encoder examplesJosh Coalson2007-09-134-4/+15
|
* minor improvementsJosh Coalson2007-09-132-9/+15
|