• 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
SoundConverterConvertBuffer() is broken on Mac OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SoundConverterConvertBuffer() is broken on Mac OS X


  • Subject: SoundConverterConvertBuffer() is broken on Mac OS X
  • From: Andrew Taylor <email@hidden>
  • Date: Wed, 12 Dec 2001 17:38:34 -0500

Hello,

I would search the archives, but while I know my password, I don't know what user name the web site wants.

In any case I am new to the list and I have no idea what is in core audio.

I currently use SoundConverterConvertBuffer() on Mac OS 9 to convert 44khz mono 16 bit sound input to 16khz mono 16 bit sound input. Works flawlessly.
It is called as part of a interrupt callback routine for SPBRecord.

For Mac OS X, interrupt callbacks don't seem to work. So I rewrote the code to use a completion routine, which works, but the resulting data coming out of SoundConverterConvertBuffer is wrong. It is as if the voice played back is very very very slow.

Has anybody else encountered this?
Has something changed in the data that is delivered from SPBRecord?
Are different parameters required for SoundConverterConvertBuffer() ?

Is there an equivalent call in core audio that I can call from my completion routine in a CFM application and get this functionality?

thanks.
--
---------------------------
Andrew Taylor
Founder/CTO
MacSpeech, Inc.
<http://www.macspeech.com>


  • Follow-Ups:
    • Re: SoundConverterConvertBuffer() is broken on Mac OS X
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: recognized devices
  • Next by Date: Re: USB devices changing UIDs
  • Previous by thread: Re: recognized devices
  • Next by thread: Re: SoundConverterConvertBuffer() is broken on Mac OS X
  • Index(es):
    • Date
    • Thread