• 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: CDDA and AIFF again
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CDDA and AIFF again


  • Subject: Re: CDDA and AIFF again
  • From: Jeff Moore <email@hidden>
  • Date: Thu, 07 Feb 2002 12:31:52 -0800

on 2/7/02 11:46 AM, Lubor Prikryl <email@hidden> wrote:

> I tried to play the CDDA file double-buffering the data, converting from
> SInt16 to Float32 and filling HAL output buffers, which works correctly
> with AIFF. I swapped the hi and lo byte of each SInt16 (casting to
> unsigned, of course) when reading 'sowt' format from CD.
>
> My questions:
>
> 1) Did I miss something? - the sound is full of noise for CDDA, such as
> the one with incorrectly placed bits

Weird. I just finished some code that plays around with cd audio files, and
things all worked out ok for me. Perhaps there's something amiss with your
parsing code?

> 2) There is a macro in endian.h for swapping of bytes. Why isn't there a
> function in CoreAudio, performing the action for whole block by much
> more effective PPC instructions?

<AudioToolbox/AudioConverter.h>

--

Jeff Moore
Core Audio
Apple
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

References: 
 >CDDA and AIFF again (From: Lubor Prikryl <email@hidden>)

  • Prev by Date: CDDA and AIFF again
  • Next by Date: Re: Device/Source woeness...
  • Previous by thread: CDDA and AIFF again
  • Next by thread: Re: CDDA and AIFF again
  • Index(es):
    • Date
    • Thread