• 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: Crashing when creating CAAudioFileRecorder object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crashing when creating CAAudioFileRecorder object


  • Subject: Re: Crashing when creating CAAudioFileRecorder object
  • From: Doug Wyatt <email@hidden>
  • Date: Fri, 2 Jun 2006 12:12:08 -0700

Turn off ZeroLink. You'll get a link error: you're missing CAPThread.cpp from the project. You may get some link errors.

Turn ZeroLink back on only after you can link the project without errors and if you feel that it saves you enough time to be worth it.

Doug

On Jun 2, 2006, at 01:40 , dinu john wrote:
Hi,

I am new to cocoa and Coreaudio i am doing a sound recording to m4a (AAc format) application in cocoa using CAAudioFileRecorder.h from PublicUtility folder.

In my project, i have two buttons one for Record starting and one for record stopping .

I add the CoreAudio framework and all files in /developer/examples/ CoreAudio/publicutility/Audiofile-new from
Cocoa ide's Add existing files from Groups and files


And declare a pointer of CAAudioFileRecorder in Controller.h file like this

CAAudioFileRecorder * audioFileRecorder;

In Controller.mm file,

in my startRecord action i create an object of CAAudiofilerecorder like this

-(IBAction) startRecording:(id) sender
{
if(audioFileRecorder==nil)
{
const unsigned kBufferSize = 0x8000;
audioFileRecorder = new CAAudioFileRecorder(3, kBufferSize); // 8Kb buffer




But it crashing at the same instance the error is

[Session started at 2006-06-01 23:02:28 -0700.]
ZeroLink: unknown symbol '__ZTI9CAPThread'

M4ARecorder has exited due to signal 6 (SIGABRT).


What is wrong with this code and whether i want to add any additional frame work or files to my project I am in deep trouble for creating m4a files. Please help me. Or send a sample code or link that uses CAAudioFileRecorder.cpp or how to capture audio from input and write to m4a file. Is it easy in QT.

-- Doug Wyatt Core Audio, Apple

_______________________________________________
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: Crashing when creating CAAudioFileRecorder object
      • From: Jeff Moore <email@hidden>
References: 
 >Crashing when creating CAAudioFileRecorder object (From: dinu john <email@hidden>)

  • Prev by Date: Re: Sample rate property listener
  • Next by Date: Re: Crashing when creating CAAudioFileRecorder object
  • Previous by thread: Crashing when creating CAAudioFileRecorder object
  • Next by thread: Re: Crashing when creating CAAudioFileRecorder object
  • Index(es):
    • Date
    • Thread