#1223 On Snow Leopard i386: kAudioUnitComponentType not declared

fixed_in_SVN
closed
nobody
5
2014-12-21
2010-04-28
Ryan Schmidt
No

bochs doesn't compile on Snow Leopard. We already know bochs uses Carbon and therefore must build 32-bit, but even when we force that, we get this error:

soundosx.cc: In member function 'virtual int bx_sound_osx_c::openmidioutput(char*)':
soundosx.cc:97: error: 'kAudioUnitComponentType' was not declared in this scope

I think you're just using a deprecated constant that was finally removed in Snow Leopard. Perhaps this information is helpful to you:

http://lists.apple.com/archives/coreaudio-api/2009/Sep/msg00108.html

This bug was originally reported here:

http://trac.macports.org/ticket/23938

Discussion

  • Madd the Sane
    Madd the Sane
    2011-03-06

    I have a patch that makes it build, but I haven't tested it. It should be compatible with Mac OS X 10.2 and later.

     
  • Volker Ruppert
    Volker Ruppert
    2011-04-25

    I patch for soundosx.cc has been applied to SVN now. Can you confirm that it works for you now?

     
  • Volker Ruppert
    Volker Ruppert
    2014-12-21

    No response, treating this bug as fixed.

     
  • Volker Ruppert
    Volker Ruppert
    2014-12-21

    • status: open --> closed
    • Group: --> fixed_in_SVN