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

  • Home
  • SEARCH
  • 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 248237
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T21:19:34+00:00 2026-05-11T21:19:34+00:00

could you point me to docs/snippets/blogs, which explain how to record Apple lossless audio

  • 0

could you point me to docs/snippets/blogs, which explain
how to record Apple lossless audio files on the iPhone, please?

I’ve inspected the audio recorder example from the Apple
Dev Center, but couldn’t figure out, which setting I have
use for lossless audio.

Regards,

Stefan

  • 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-05-11T21:19:34+00:00Added an answer on May 11, 2026 at 9:19 pm

    The iPhone OS supports recording a .caf file using a number of different compressed audio encoding formats:

    Apple Lossless – kAudioFormatAppleLossless

    iLBC (Internet Low Bitrate Codec) – kAudioFormatiLBC

    IMA/ADPCM (aka IMA4) – kAudioFormatAppleIMA4

    µLaw – kAudioFormatULaw

    aLaw – kAudioFormatALaw

    - (id) initWithURL: fileURL {
        NSLog (@"initializing a recorder object.");
        self = [super init];
    
        if (self != nil) {
    
            // define the audio stream basic description for the file to record into
    
            // record audio at the current hardware sample rate
            // make sure the audio session is active before asking for properties
            UInt32 propertySize = sizeof(audioFormat.mSampleRate);
            AudioSessionGetProperty(kAudioSessionProperty_CurrentHardwareSampleRate,
                                    &propertySize,
                                    &audioFormat.mSampleRate);
    
            audioFormat.mFormatID           = kAudioFormatAppleIMA4; // record using IMA4 codec
            audioFormat.mChannelsPerFrame   = 1;
    
            AudioQueueNewInput(&audioFormat, ... );
    
            ...
    
        }
    
        return self;
    }
    

    You’ll definitely want to read the Audio Queue Services Programming Guide

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

Sidebar

Related Questions

Could someone point out to me which directory I should be using to work
Or at least could anybody point me to docs about its crazy proprietary url
Could you explain the getView() method of an ArrayAdapter . I read the docs
I was wondering if someone could explain or point me in the direction of
Could anyone please point me to where the characters allowed for a bind variable
If someone could point me to some good resources on building a stateless web
Just wondering if someone could point me in the right direction of how to
I was just hoping that someone could point me to a reference that defines
I am wondering if someone could point me in the right direction. You know
I'm just wondering if someone could point me in the right direction here, I

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.