Crashing when creating CAAudioFileRecorder object
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