• 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: "Learning Core Audio" Chapter 8 Sample Code Distortion...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Learning Core Audio" Chapter 8 Sample Code Distortion...


  • Subject: Re: "Learning Core Audio" Chapter 8 Sample Code Distortion...
  • From: Chris Adamson <email@hidden>
  • Date: Sun, 14 Oct 2012 15:13:13 -0400

What's your input device? When I was checking for regressions on Mountain Lion, I found that USB devices always worked fine (including built-in mics on laptops and external USB devices like Logitech headsets and music-game mics), but analog Line In on my Power Mac sometimes sounded like what you're describing.

--Chris


On Oct 14, 2012, at 1:14 PM, n ketter <email@hidden> wrote:

I'm working through "Learning Core Audio" by Adamson and Avila and completed the exercises in Chapter 8 - AUGraphInput. When I build and run I get a LOT of very loud distortion/noise. The amount seems to vary between runs. Sometimes (perhaps 1 out of 10 runs) the code runs as expected.

I downloaded the latest code from the book's site and re-downloaded the latest Core Audio Public Utility files, to ensure I was working with the most current versions. When I run the code from the book I get the same results.

Once it crashed with this logged:
CH08_AUGraphInput(73420,0x100681000) malloc: *** error for object 0x10381c808: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug

I tried setting the breakpoint however I couldn't recreate the error.

Has anyone else run into this? Any ideas on how to troubleshoot?

Thanks in advance,
n
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: "Learning Core Audio" Chapter 8 Sample Code Distortion...
      • From: n ketter <email@hidden>
References: 
 >"Learning Core Audio" Chapter 8 Sample Code Distortion... (From: n ketter <email@hidden>)

  • Prev by Date: "Learning Core Audio" Chapter 8 Sample Code Distortion...
  • Next by Date: kAudioUnitSubType_3DMixer mixer not being effected by AudioUnitSetParameter
  • Previous by thread: "Learning Core Audio" Chapter 8 Sample Code Distortion...
  • Next by thread: Re: "Learning Core Audio" Chapter 8 Sample Code Distortion...
  • Index(es):
    • Date
    • Thread