• 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: Inheriting from AUMIDIEffect breaks AudioUnitGetProperty?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inheriting from AUMIDIEffect breaks AudioUnitGetProperty?


  • Subject: Re: Inheriting from AUMIDIEffect breaks AudioUnitGetProperty?
  • From: Steve Bird <email@hidden>
  • Date: Wed, 11 Oct 2006 07:25:48 -0400


On Oct 10, 2006, at 10:52 PM, Coolidge Corner wrote:


On any PowerPC Macs I test on though I get malloc errors in the console when calling AudioUnitGetProperty from my Carbon View.

--- Hmmm. OK on Intel, not so good on PowerPC.



The GetProperty function in the effect is never reached and AudioUnitGetProperty returns the ComponentResult -108.

-108 = Memory exhausted.




Here is the readout from the console (with my debug text):

Live(336,0xa000ed68) malloc: *** vm_allocate(size=2468040704) failed (error code=3)

2468040704 = 0x931B5000 Reverse the byte order, and you get 00 50 1B 93 Or, shift right 12 bits, and you get 0x00093185



Live(336,0xa000ed68) malloc: *** vm_allocate(size=3221221376) failed (error code=3)

3221221376 = 0xBFFFF000 Reverse the byte order, and you get 00 F0 FF BF Or, shift right 12 bits, and you get 0x000BFFFF

Any clues there?

Is it possible your allocation request sizes are screwed up because of some endian problem, or maybe an addressing problem?


---------------------------------------------------------------- Steve Bird Culverson Software - Elegant software that is a pleasure to use. www.Culverson.com (toll free) 1-877-676-8175


_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Inheriting from AUMIDIEffect breaks AudioUnitGetProperty? (From: Coolidge Corner <email@hidden>)

  • Prev by Date: Inheriting from AUMIDIEffect breaks AudioUnitGetProperty?
  • Next by Date: InputCallback data request size
  • Previous by thread: Inheriting from AUMIDIEffect breaks AudioUnitGetProperty?
  • Next by thread: InputCallback data request size
  • Index(es):
    • Date
    • Thread