• 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: marquis logan <email@hidden>
  • Date: Sat, 9 Feb 2002 20:32:37 -0500

On Thursday, February 7, 2002, at 02:46 PM, Lubor Prikryl wrote:

Hi,
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.

you might try using the audio converter api and let that handle the byte swapping stuff. it worked well for me using both the hal and the default output unit + an audio converter.

my one question would be what's the safest/cleanest way to stop it after the track is done. is there a way to tell the hal or dou "stop after this buffer" or "stop after xxx samples". i generally pass back a couple empty buffers and then signal another thread to stop them.

nibs
_______________________________________________
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.

  • Follow-Ups:
    • Re: CDDA and AIFF again
      • From: Bill Stewart <email@hidden>
References: 
 >CDDA and AIFF again (From: Lubor Prikryl <email@hidden>)

  • Prev by Date: Re: Questions on data in MIDIPackets
  • Next by Date: Re: CDDA and AIFF again
  • Previous by thread: Re: CDDA and AIFF again
  • Next by thread: Re: CDDA and AIFF again
  • Index(es):
    • Date
    • Thread