[MacPorts] #35198: fluidsynth build fails on Lion: error: unknown type name 'AudioDeviceID'

MacPorts noreply at macports.org
Mon Jul 23 20:39:37 PDT 2012


#35198: fluidsynth build fails on Lion: error: unknown type name 'AudioDeviceID'
-------------------------------------------+--------------------------------
 Reporter:  dritz+macports@…               |       Owner:  macports-tickets@…                   
     Type:  defect                         |      Status:  new                                  
 Priority:  Normal                         |   Milestone:                                       
Component:  ports                          |     Version:  2.1.1                                
 Keywords:  lion                           |        Port:  fluidsynth                           
-------------------------------------------+--------------------------------

Comment(by ross.martin@…):

 The fix it requires is incredibly minor.  Just add this one line to
 fluid_coreaudio.c:

 #include <AudioToolbox/AudioServices.h>

 A good place to add it is below this line:

 #include <AudioUnit/AudioUnit.h>

 After that, it compiles fine.

-- 
Ticket URL: <https://trac.macports.org/ticket/35198#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list