• 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: Matthew Xavier Mora <email@hidden>
  • Date: Tue, 21 Aug 2001 15:30:40 -0700

[ > 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.

For the record, is there a higher level of CoreAudio API which supports more formats and handles conversions for the programmer?

I seem to remember something more flexible, even if it isn't the closest layer to "the iron." The HAL API is great, but it is not the only part of CoreAudio, right?

I'm basically asking so that we'll have a good answer in the mailing list archives; for those folks who don't want to roll their own 16-bit int to 32-bit float sample rate converters, but still want as fast an implementation as is
possible.


Use the default audio unit. It will do this conversion and isolate you from changes in the hardware. It even has SRC.

Matt


  • Follow-Ups:
    • Re: using integer audio data
      • From: Doug Wyatt <email@hidden>
References: 
 >Re: using integer audio data (From: Jeff Moore <email@hidden>)
 >Re: using integer audio data (From: Brian Willoughby <email@hidden>)

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