• 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: odd soundfile buffer problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: odd soundfile buffer problem


  • Subject: Re: odd soundfile buffer problem
  • From: Brad Garton <email@hidden>
  • Date: Fri, 21 May 2010 23:31:16 -0400

Thanks Eric --

I'm suspecting something like this, or perhaps some variable scoping issues of some kind.  But I can't figure it out!  I tried enabling Gaurd Malloc (although I'm not sure I'm doing it -- the menu item never shows a happy little check when I select it), but no problems.  That's what is so odd -- I have it to the point now where it works fine in debug mode, but when I compile in release mode I get no sound.  No errors, no crashes, but no sound.  I've tried moving the pointer declaration for the buffer I'm reading into outside object scope (grasping at straws here...), and the memory gets malloc'd fine, but still this weird disparity.

I guess I'll keep on hacking away,

brad


On May 21, 2010, at 12:15 PM, Eric Allamanche wrote:

> when adding printf like statements make things work magically, then this hints at some heap/stack corruption issues. Have you checked that your buffers are large enough? Try enabling Guard Malloc and see what happens

 _______________________________________________
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

  • Follow-Ups:
    • Re: odd soundfile buffer problem
      • From: tahome izwah <email@hidden>
References: 
 >odd soundfile buffer problem (From: Brad Garton <email@hidden>)
 >Re: odd soundfile buffer problem (From: Eric Allamanche <email@hidden>)

  • Prev by Date: Re: Handling a preset group internal to a plug-in
  • Next by Date: Re: odd soundfile buffer problem
  • Previous by thread: Re: odd soundfile buffer problem
  • Next by thread: Re: odd soundfile buffer problem
  • Index(es):
    • Date
    • Thread