View Issue Details

IDProjectCategoryView StatusLast Update
0001984ardourdocumentationpublic2007-12-09 11:35
Reportertimblech Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status newResolutionopen 
Product Version2.1 
Summary0001984: re-enable flac support for libsndfile
Descriptionthe 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 ...
TagsNo tags attached.

Activities

2007-12-09 11:33

 

flac-1.1.4.dpatch (20,056 bytes)

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:
scons_flac.diff (768 bytes)   

Issue History

Date Modified Username Field Change
2007-12-09 11:33 timblech New Issue
2007-12-09 11:33 timblech File Added: flac-1.1.4.dpatch
2007-12-09 11:35 timblech File Added: scons_flac.diff