View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001984 | ardour | documentation | public | 2007-12-09 11:33 | 2007-12-09 11:35 |
Reporter | timblech | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | new | Resolution | open | ||
Product Version | 2.1 | ||||
Summary | 0001984: re-enable flac support for libsndfile | ||||
Description | the debian-package of libsndfile contains a patch to enable flac support for recent version of libflac ... patch attached ... applying this patch to ardour-2.1 works fine for me ... i just had to adapt configure check for libFLAC in the SConstruct file ... would be great to see this patch in ardour ... | ||||
Tags | No tags attached. | ||||
2007-12-09 11:33
|
|
2007-12-09 11:35
|
scons_flac.diff (768 bytes)
Index: SConstruct =================================================================== --- SConstruct (revision 2753) +++ SConstruct (working copy) @@ -747,14 +747,8 @@ prep_libcheck(env, libraries['flac']) libraries['flac'].Append(CCFLAGS="-I/usr/local/include", LINKFLAGS="-L/usr/local/lib") -# -# june 1st 2007: look for a function that is in FLAC 1.1.2 and not in later versions -# since the version of libsndfile we have internally does not support -# the new API that libFLAC has adopted -# - conf = Configure (libraries['flac']) -if conf.CheckLib ('FLAC', 'FLAC__seekable_stream_decoder_init', language='CXX'): +if conf.CheckLib ('FLAC', language='CXX'): conf.env.Append(CCFLAGS='-DHAVE_FLAC') use_flac = True else: |