• 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: Thu, 07 Feb 2002 23:35:35 -0800

Rather than dealing with the HAL directly, you might want to look at using
the Default output unit. Two different ways of using it can be found on your
Developer CD:
/Developer/Examples/CoreAudio/Services

Bill

on 7/2/02 11:46 AM, 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.
>
> My questions:
>
> 1) Did I miss something? - the sound is full of noise for CDDA, such as
> the one with incorrectly placed bits
> 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?
>
>
> Thanks&Regards
>
> Lubor, DSound1.com
>
>
>
> On Tuesday, January 8, 2002, at 07:40 PM, Jeff Moore wrote:
>
>> on 1/8/02 9:43 AM, David Shaffer <email@hidden> wrote:
>>
>>> Are there any APIs to convert a CDDA file to AIFF?
>>>
>>> Are there any docs on the CDDA file structure?
>>
>> These files are already AIFC files. The reason they are AIFC is that the
>> data is little endian. The reason for the .cdda extension is so that
>> iTunes
>> can claim the files by default rather than QTPlayer.
>>
>> --
>>
>> 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.
> _______________________________________________
> 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.

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

  • Prev by Date: Re: Core Audio - Core Foundation?
  • Next by Date: Re: Emagic EMI 2|6 drivers?
  • Previous by thread: Re: CDDA and AIFF again
  • Next by thread: Re: CDDA and AIFF again
  • Index(es):
    • Date
    • Thread