Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7781221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T19:09:27+00:00 2026-06-01T19:09:27+00:00

So my question is: what are the valid audio formats to use with ExtAudioFileCreateWithURL?

  • 0

So my question is: what are the valid audio formats to use with ExtAudioFileCreateWithURL?

I am recording in a renderCallback from RemoteIO – and have it working using these specs:

AudioStreamBasicDescription :: mFormatID :: kAudioFormatLinearPCM

ExtAudioFileCreateWithURL :: AudioFileTypeID :: kAudioFileWAVEType

But the resulting files are huge, so I want to use a compressed format. I’ve been searching for a few hours and plugging in various format combinations but I get errors:

uncaught exception 'NSInternalInconsistencyException', 
reason: 'Couldn't create file for writing'

I’ve also seen conflicting info about what formats can and cannot be used to record. For a reality check, I tinkered with the SpeakHere example and got it working with kAudioFormatMPEG4AAC – but for the life of me, I can’t those settings to work in my own project.

Any tips on using ExtAudioFileCreateWithURL to record compressed audio?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T19:09:29+00:00Added an answer on June 1, 2026 at 7:09 pm

    I finally solved this – recording to AAC directly to ExtAudioFile. Details here: Recording to AAC from RemoteIO: data is getting written but file unplayable

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My question may not make sense but I have valid reason. We use .net
A very basic question in excel. I have a column with valid and with
--EDIT-- I believe this is a valid question that may have multiple answers (as
Here's a rather dumb but perfectly valid question coming from a newbie. Context: My
(I hope this is a valid question) As I stated in my title, I'm
Original Question I want to be able to generate a new (fully valid) MP3
Quick question, how can I make this valid : if($this->datos->bathrooms == 1½){$select1 = JText::_(
Title is most of the question, what allows this to be valid code? Is
So I hope this is a valid question... I've recently (today actually) decided to
Before you ignore / vote-to-close this question, I consider this a valid question to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.