• 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: Bill Stewart <email@hidden>
  • Date: Sat, 09 Feb 2002 18:23:30 -0800

After you've passed the last buffer to the output unit just call its stop
method - that will stop it - this *can* be called from the I/O thread...

Bill

on 9/2/02 5:32 PM, marquis logan wrote:
> 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.


mailto:email@hidden
tel: +1 408 974 4056
__________________________________________________________________________
"We'll talk about it later...."
"When?"
"In a future life when we're both cats"
__________________________________________________________________________
_______________________________________________
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: 
 >Re: CDDA and AIFF again (From: marquis logan <email@hidden>)

  • Prev by Date: Re: CDDA and AIFF again
  • Next by Date: Admin Notice: Updated rules for lists.apple.com mailing lists and other site updates
  • Previous by thread: Re: CDDA and AIFF again
  • Next by thread: Re: CDDA and AIFF again
  • Index(es):
    • Date
    • Thread