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

Crashing when creating CAAudioFileRecorder object


  • Subject: Crashing when creating CAAudioFileRecorder object
  • From: dinu john <email@hidden>
  • Date: Thu, 1 Jun 2006 23:21:26 -0700


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.


Thanks in advance

Dinu


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: About BDRuleEngine Framework
  • Next by Date: Re: About BDRuleEngine Framework
  • Previous by thread: Re: About BDRuleEngine Framework
  • Next by thread: Disabling clickable header in an NSTableView
  • Index(es):
    • Date
    • Thread