• 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: Matt Ingalls <email@hidden>
  • Date: Fri, 1 Mar 2002 09:24:31 -0800

thanks paul!

after posting i figured out that the crashing was indeed happening
when coreaudio was trying to call my [cfm] ioproc and was guessing
that there was some kind of problem like you describe. will implement
the UPP... thanks again - matt

On Friday, March 1, 2002, at 08:43 AM, Paul Lalonde wrote:

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)"


Matt;
________________________
matt ingalls
http://sonomatics.com/matt.html
_______________________________________________
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.

References: 
 >Re: cfmlateimport help (From: "Paul Lalonde" <email@hidden>)

  • Prev by Date: Re: cfmlateimport help
  • Next by Date: QuickTimeStreaming.h
  • Previous by thread: Re: cfmlateimport help
  • Next by thread: QuickTimeStreaming.h
  • Index(es):
    • Date
    • Thread