Building and customizing Audacity from the source code.
-
Edgar
- Forum Crew
- Posts: 2043
- Joined: Thu Sep 03, 2009 9:13 pm
- Operating System: Windows 10
Post
by Edgar » Mon Sep 29, 2014 6:19 am
In the source file: srcexportExportFLAC.cpp at or near line number 240:
Code: Select all
#ifdef LEGACY_FLAC
encoder.set_filename(OSOUTPUT(fName));
#endif
If LEGACY_FLAC somehow gets set, the above will fail to compile because the function:
does not exist. Have a look at: lib-srclibflacincludeFLAC++encoder.h between lines 127 & 149 where all of the set… () functions are listed– it is not there.
-
steve
- Site Admin
- Posts: 81609
- Joined: Sat Dec 01, 2007 11:43 am
- Operating System: Linux *buntu
Post
by steve » Mon Sep 29, 2014 9:28 am
It looks to be very old cruft (circa 2006). If it is to be cleaned up, then there is also:
#if !defined FLACPP_API_VERSION_CURRENT || FLACPP_API_VERSION_CURRENT < 6
in a couple of places.
The version that we are currently using appears to be 9
(line 60 export.h)