seeking advice w/ coreaudio
seeking advice w/ coreaudio
- Subject: seeking advice w/ coreaudio
- From: Chris Silverberg <email@hidden>
- Date: Mon, 28 Jul 2003 11:10:52 -0700
- Organization: Silverberg.Net
Hi folks,
I am rewriting a Carbon/Sound Manger application in Cocoa and although I
could stick with the old SM code, I'd prefer to go CoreAudio. But I'm not
sure how to best get started... advice would be *greatly* appreciated.
What I need to do is very simple... I send and receive compressed audio
using a custom codec. (the codec presents itself with simple
compress/decompress C functions.... pass in/out buffers). The codec
requires audio to be in 8000Hz 1-channel 16-bit linear PCM big-endian. I
need to be able to capture audio and if necessary, convert it into the
required format... and on the opposite side I need to playback this audio
from memory.
I've started with MTCoreAudio.framework which looks like a really way to
capture/play audio. So now my questions:
(1) What is the appropriate way to deal with the audio conversions I need to
do? Or is there a way to get CoreAudio to do the conversions for me?
(2) What should I do about my codec... should I just manually call it
myself, or is there a way to tie my codec into CoreAudio so things are more
automatic?
thanks,
Chris
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.