Re: Can I recompose the Carbon-based app to a Cocoa-based app?
Re: Can I recompose the Carbon-based app to a Cocoa-based app?
- Subject: Re: Can I recompose the Carbon-based app to a Cocoa-based app?
- From: David Duncan <email@hidden>
- Date: Thu, 24 Sep 2009 08:16:21 -0700
On Sep 23, 2009, at 6:31 PM, James wrote:
Hi all,
I have downloaded the "RecordAudioToFile" sample from the
apple.dev sample code.
I want to implement to record the users voice, so the sample is
useful for me. But it is
a Carbon-base application. The application I am working on is a
Cocoa-Based App,
so I want to modify the sample to a Cocoa-Based App.I have tried
several times. But,
I am not successful.
From the looks of it the Carbon UI just provides enough framework for
you to select a location to record to and start/stop recording, but
all the work is actually done by the UI agnostic DCAudioFileRecorder
class. You could just take that class with some small modifications
and use it directly in your Cocoa app...
--
David Duncan
Apple DTS Animation and Printing
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden