• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: cfmlateimport help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cfmlateimport help


  • Subject: Re: cfmlateimport help
  • From: "Paul Lalonde" <email@hidden>
  • Date: Fri, 01 Mar 2002 11:43:40 -0500

> i have gotten the same code to work on a cfm project, using the
> CFMLateImport
> approach. i can call all the coreaudio routines with no problems.
> But i am getting crashes soon after calling AudioDeviceStart() -- and my
> IOProc is never called.
> [ it doesnt crash if i call AudioDeviceStart() with a NULL IOProc. ]

Are you passing a function pointer as a callback anywhere? If so, you need
to construct a UPP for this function and pass the UPP instead. There's a
sample in the Carbon SDK called CFM_MachO_CFM that shows how to do this.

CFMLateImport fixes up *your* code so that it can call Mach-O routines
transparently. However it doesn't handle the case where Mach-O routines
need to call you.

--
Paul Lalonde
work: email@hidden "Il n'y a que les banques qui sont libres"
home: email@hidden Jean-Luc Godard, "Sauve qui peut (la vie)"
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: cfmlateimport help
      • From: Matt Ingalls <email@hidden>
  • Next by Date: Re: cfmlateimport help
  • Next by thread: Re: cfmlateimport help
  • Index(es):
    • Date
    • Thread