• 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
Crackling audio output with command-line tool
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Crackling audio output with command-line tool


  • Subject: Crackling audio output with command-line tool
  • From: Mihir Sarkar <email@hidden>
  • Date: Fri, 5 Oct 2007 14:57:34 -0400

Hi,

Please forgive if this is not the right forum to post this...

I am porting someone else's audio processing code to Mac OS X. The program is written in C and I am building it as a standard (command- line) tool in Xcode. I am using the CoreAudio framework for audio I/ O. When I run the application on Terminal, it sounds fine... until I click on any other window in my desktop environment and Terminal loses focus. Then the sound starts to crackle. There doesn't seem to be any obvious pattern in the way it sounds but it happens somewhat consistently. One hypothesis is that on losing focus the process runs in the background (with a lower priority?) and doesn't get enough cycles to fill up its output buffers. Or it could be a completely different reason. I am just wondering if someone came across something similar and might want to share their experience (and solution or approach) with me.

Please let me know if you need more info on the way I implemented my calls to CoreAudio.

Thanks,
Mihir

_______________________________________________
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: Crackling audio output with command-line tool
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Show or Hide Parameters in Generic view dynamically?
  • Next by Date: Getting available sample rates and bit depths (nominal vs. physical vs. Audio MIDI Setup)
  • Previous by thread: Re: How to get AU in Mono-Stereo menu?
  • Next by thread: Re: Crackling audio output with command-line tool
  • Index(es):
    • Date
    • Thread