• 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: NSSound dropouts with Leopard on a G5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSound dropouts with Leopard on a G5


  • Subject: Re: NSSound dropouts with Leopard on a G5
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 9 May 2008 12:27:51 -0700


On 9 May '08, at 12:10 PM, Jonathan Hendry wrote:

We have an experiment-running program which uses NSSound to play auditory stimuli. After upgrading a G5 to Leopard, we're seeing significant audio problems that we didn't see on Tiger. Sometimes, it's just a momentary dropout, but other times the audio just goes away for minutes at a time.

Does any other audio played by other apps on that machine have similar problems?


Most of the audio glitches are accompanied by syslog messages from IOAudioStream, describing problems related to clipIfNecessary()
Has anyone run into this? Is there a fix or workaround? Should we be using something lower-level than NSSound? Is there a better place to ask?

I'm not aware of any bugs specific to NSSound.

If you want to try another API, QTKit is probably the best one to try next. Load the audio file into a QTMovie object and then tell it to play. (You don't need any controller view.)

The low-level API that really does all the audio work is CoreAudio, but you don't want to go there for a simple task like this. Playing a sound file would end up as several pages of code. There are sample apps that demonstrate how to do it, but it's still probably overkill.

On the other hand, if you want to find expert advice on this problem, the coreaudio-api list is probably the right place to ask.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSSound dropouts with Leopard on a G5
      • From: Jonathan Hendry <email@hidden>
References: 
 >NSSound dropouts with Leopard on a G5 (From: Jonathan Hendry <email@hidden>)

  • Prev by Date: Re: How to send email without using email client
  • Next by Date: NSTableView/Core Data bug under Leopard ?
  • Previous by thread: NSSound dropouts with Leopard on a G5
  • Next by thread: Re: NSSound dropouts with Leopard on a G5
  • Index(es):
    • Date
    • Thread