• 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: using integer audio data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using integer audio data


  • Subject: Re: using integer audio data
  • From: Jeff Moore <email@hidden>
  • Date: Tue, 21 Aug 2001 14:56:59 -0700

on 8/21/01 12:46 PM, Timothy J. Wood <email@hidden> wrote:

> I'd like to use CoreAudio to feed 16-bit signed lpcm data to the
> hardware.

You can't using the HAL API. It only allows for 32 bit float data when doing
IO with linear PCM sample formats. You don't have any choice but to convert.

> Int/float conversions suck on PPC

I don't know about that. They suck about as much as they do on any
processor. Of course with Altivec, you can do it 4 samples at a time with a
single instruction and that definitely does not suck.

--

Jeff Moore
Core Audio
Apple


  • Follow-Ups:
    • Re: using integer audio data
      • From: "Timothy J. Wood" <email@hidden>
    • Re: using integer audio data
      • From: Brian Willoughby <email@hidden>
References: 
 >using integer audio data (From: "Timothy J. Wood" <email@hidden>)

  • Prev by Date: using integer audio data
  • Next by Date: Re: using integer audio data
  • Previous by thread: using integer audio data
  • Next by thread: Re: using integer audio data
  • Index(es):
    • Date
    • Thread