• 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: Recording compressed audio file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recording compressed audio file


  • Subject: Re: Recording compressed audio file
  • From: rethish <email@hidden>
  • Date: Tue, 03 Mar 2009 10:18:46 +0530
  • Thread-topic: Recording compressed audio file

Title: Re: Recording compressed audio file
Hi,

We are using the 1.2 version of  Speakhere application.

In the initWithURL method of the AudioRecorder we found  ,

// Specify the recording format. Options are:
        //
        //        kAudioFormatLinearPCM
        //        kAudioFormatAppleLossless
        //        kAudioFormatAppleIMA4
        //        kAudioFormatiLBC
        //        kAudioFormatULaw
        //        kAudioFormatALaw        //
        // When targeting the Simulator, SpeakHere uses linear PCM regardless of the format
        //    specified here. See the setupAudioFormat: method in this file.
        
        
        [self setupAudioFormat: kAudioFormatLinearPCM];

Is it possible to use recording format other than Linear PCM ?

Thank you.






On 3/3/09 2:34 AM, "William Stewart" <email@hidden> wrote:

Starting with the 1.2 version of this app, which has been available since 20 Nov, 2008, compressed audio has been supported for both playback and record

Bill

On Mar 2, 2009, at 1:54 AM, rethish wrote:

Hi,
 
 I  use SpeakHere application which record only the uncompressed audio.
 I need to record compressed audio file. How it can be done ?
 
 I got the properties of a compressed audio file
 Like
 
    
        audioFormat.mFormatFlags        = 2
             audioFormat.mFramesPerPacket    = 1024;
             audioFormat.mBitsPerChannel        = 0;
             audioFormat.mBytesPerPacket        = 0;
             audioFormat.mBytesPerFrame        = 0;
 
So I tried to record the new file by setting  these properties. But I can’t record it.
 
 
 
 Thank you in advance.
 
 
 
  
   _______________________________________________
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

  • Follow-Ups:
    • Re: Recording compressed audio file
      • From: William Stewart <email@hidden>
References: 
 >Re: Recording compressed audio file (From: William Stewart <email@hidden>)

  • Prev by Date: Re: Using LAME in iPhone for MP3 Encoding
  • Next by Date: Re: Using LAME in iPhone for MP3 Encoding
  • Previous by thread: Re: Recording compressed audio file
  • Next by thread: Re: Recording compressed audio file
  • Index(es):
    • Date
    • Thread