• 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: real-time priority, CoreAudio, etc.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: real-time priority, CoreAudio, etc.


  • Subject: Re: real-time priority, CoreAudio, etc.
  • From: "James Farwell" <email@hidden>
  • Date: Fri, 24 Aug 2001 21:15:23 +0000

Yeah, a rather nondescript subject line, I'll admit.... In my free time,
I'm trying to get mpg123 to work decently under Mac OS X (for lack of a
command-line way of routing stuff to quicktime) and I'm running into
rather bad stalls in the audio whenever I do anything with the Mac OS X
gui. As far as I can tell, either mpg123 or esd (enlightened sound
daemon) is simply running at too low a priority to keep a continuous
stream of data to CoreAudio if anything else is happening on the system.


Another problem mpg123 has is that there are no ppc assembly routines for decoding, so it just uses generic C routines. This is why mpg123 takes a lot more cpu than slower intel machines. For example, when playing the same mp3, mpeg123 took 4% cpu on my G3 500 and 0.1% on my k6/233 linux box. Granted the k6 will have a little advantage because of mmx, but the sheer speed difference there should easily make up for that. It would be really nice if someone wrote some streamlined ppc assembley decoding routines for decoding mp3s that we could add to mpg123.

- James


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


  • Follow-Ups:
    • Re: real-time priority, CoreAudio, etc.
      • From: "David A. Gatwood" <email@hidden>
  • Prev by Date: Re: using integer audio data
  • Next by Date: Re: using integer audio data
  • Previous by thread: short->float conversion
  • Next by thread: Re: real-time priority, CoreAudio, etc.
  • Index(es):
    • Date
    • Thread