Re: seeking advice w/ coreaudio
Re: seeking advice w/ coreaudio
- Subject: Re: seeking advice w/ coreaudio
- From: Michael Thornburgh <email@hidden>
- Date: Mon, 28 Jul 2003 12:01:07 -0700
AudioConverter (in AudioToolbox.framework) can do sample rate and
format conversion.
the next release of MTCoreAudio, which is almost ready, will use an
AudioConverter in the "AudioMonitor.app" example program.
-mike
On Monday, July 28, 2003, at 11:10 AM, Chris Silverberg wrote:
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.
_______________________________________________
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.