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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to