• 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
More ExtAudioFile questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

More ExtAudioFile questions


  • Subject: More ExtAudioFile questions
  • From: Ethan Funk <email@hidden>
  • Date: Thu, 21 May 2009 17:04:41 -0700

I have a new problem related to my newly created ExtAudioFile.  After setting the client data format, I move on and access the AudioConverter:

size = sizeof(converter);
err = ExtAudioFileGetProperty(audioFileID, kExtAudioFileProperty_AudioConverter, &size, &converter);

No problem.  Then I set the converters bit rate and quality:

err = AudioConverterSetProperty(converter, kAudioConverterEncodeBitRate, sizeof(value), &rate);
err = AudioConverterSetProperty(converter, kAudioConverterCodecQuality, sizeof(value), &quality);

Again, no problem.
Finally, I send a NULL ConverterConfig CFArray to force the associated AudioConverter to update:

err = ExtAudioFileSetProperty(audioFileID, kExtAudioFileProperty_ConverterConfig, 0, NULL);

and bamm! the code crashes.  I also tried creating an empty CFArray and passing that in... same result.  What am I missing?

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

  • Follow-Ups:
    • Re: More ExtAudioFile questions
      • From: Doug Wyatt <email@hidden>
  • Prev by Date: iPhone / iPod Touch kAudioSessionProperty_OverrideAudioRoute Issue
  • Next by Date: Re: ExtAudioFileSetProperty error number -1027
  • Previous by thread: Re: iPhone / iPod Touch kAudioSessionProperty_OverrideAudioRoute Issue
  • Next by thread: Re: More ExtAudioFile questions
  • Index(es):
    • Date
    • Thread