• 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: deprecated audiounitsampletype replacement
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: deprecated audiounitsampletype replacement


  • Subject: Re: deprecated audiounitsampletype replacement
  • From: Doug Wyatt <email@hidden>
  • Date: Fri, 09 Jan 2015 16:09:51 -0800

The rationale is that there's always an AudioStreamBasicDescription telling you what kind of data you have. Assumptions involving AudioSampleType are fragile. sizeof(AudioSampleType) can always be replaced by a calculation involving bytes per frame (being careful of interleavedness). If you are touching the samples yourself, it's not very useful (and probably dangerous) to rely on AudioSampleType instead of int16_t, int32_t, or float.

HTH,
Doug


> On Jan 9, 2015, at 12:01 , Robert Carroll <email@hidden> wrote:
>
> Is there a way to replay the deprecated audiounitsampletype with something that will work on both ios 8 and pre-ios 8? I had gone through my code and replaced audiounitsampletype with SInt 32, which works for ios 6 & 7, but fails with ios8.
>
> any suggestions would be appreciated
>
> thanks,
>
>
> Robert Carroll
> RSM Records
> Toronto
> http://www.rsmrecords.com
>
>
>
> _______________________________________________
> 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: 
 >deprecated audiounitsampletype replacement (From: Robert Carroll <email@hidden>)

  • Prev by Date: deprecated audiounitsampletype replacement
  • Next by Date: Re: AVAudioFormat Standard format with Core Audio AudioGraph
  • Previous by thread: deprecated audiounitsampletype replacement
  • Next by thread: iOS 8 ExtAudioFile AppleLossless distortion
  • Index(es):
    • Date
    • Thread