• 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: Converting from Float to Linear PCM
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Converting from Float to Linear PCM


  • Subject: Re: Converting from Float to Linear PCM
  • From: George Malayil-Philip <email@hidden>
  • Date: Tue, 03 Jan 2006 18:58:11 -0500
  • Thread-topic: Converting from Float to Linear PCM

Hi,
    Go through the ConvertFile example in your examples folder. It has Use
AC-AF, which shows you how to use a AudioConverter to convert from a given
format to Linear PCM. It will still be in Float32 tho. If you want it in
other formats, you can set the appropriate data format in the output stream
of the audio converter. You could also go through the
CAAudioFileReader/Player for more details. Hope this helps.


Regards
George M.P.

> I'm using the ComplexPlayThru example code, but need linear PCM in my
> application.  Is there an easy way for me to do this or some sample
> code I could look at somewhere?
>
> I tried using the AUConverter, but seems counter-intuitive, since I
> would have to implement another callback, when I'm already in the
> InputProc callback.  I also got the error : 1718449215 which I can't
> find anywhere.  Is there one place where the OSStatus's are defined?
> Also, does anyone know error 560227702? I must be missing something
> basic b/c I can't find these anywhere, even when I convert to hex.
>
> Thanks,
> Kevin
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Coreaudio-api mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Converting from Float to Linear PCM (From: Kevin Kicklighter <email@hidden>)

  • Prev by Date: HAL CFPlugin Audio Driver vs. IOKit Audio Driver
  • Next by Date: Re: HAL CFPlugin Audio Driver vs. IOKit Audio Driver
  • Previous by thread: Re: Converting from Float to Linear PCM
  • Next by thread: HAL CFPlugin Audio Driver vs. IOKit Audio Driver
  • Index(es):
    • Date
    • Thread