• 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: Jonathan Hendry <email@hidden>
  • Date: Fri, 9 May 2008 15:42:45 -0400


On May 9, 2008, at 3:27 PM, Jens Alfke wrote:


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?

Hm. I'll have to check on that. It's pretty much only used for experiments.



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.

Probably. And it might not even fix the problem. On the other hand, we play the various sounds *a lot*, and frequently, so it might be worthwhile given their importance. If it fixed the problem. (It might also be useful to add the ability to send the audio to a specific output device, rather than just sending it to the default audio out.)


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.

Thanks, I'll check there.

--

Jonathan Hendry

Howard Hughes Medical Institute
Maunsell Lab
Harvard Medical School


_______________________________________________

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


References: 
 >NSSound dropouts with Leopard on a G5 (From: Jonathan Hendry <email@hidden>)
 >Re: NSSound dropouts with Leopard on a G5 (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Did I reinvent the wheel?
  • Next by Date: Re: Did I reinvent the wheel?
  • Previous by thread: Re: NSSound dropouts with Leopard on a G5
  • Next by thread: NSTableView/Core Data bug under Leopard ?
  • Index(es):
    • Date
    • Thread