Re: Crashing when creating CAAudioFileRecorder object
Re: Crashing when creating CAAudioFileRecorder object
- Subject: Re: Crashing when creating CAAudioFileRecorder object
- From: Jeff Moore <email@hidden>
- Date: Fri, 2 Jun 2006 12:32:12 -0700
You may just want to leave ZeroLink off entirely. YMMV, but I have
found it unreliable at best with C++ code. It particularly seems to
not like a lot of the PublicUtility code in our SDK. You might just
want to save yourself the hassle and just turn it off entirely.
On Jun 2, 2006, at 12:12 PM, Doug Wyatt wrote:
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.
--
Jeff Moore
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