A newbie question
A newbie question
- Subject: A newbie question
- From: "Xie Kaiduan" <email@hidden>
- Date: Tue, 29 Jul 2003 18:50:09 +0000
Hi, all,
I am a totally newbie on OSX ( I have several years of experience of C,
C++ and LINUX). Now I am going to port a C++ program from Linux to OSX.
This is a kind of voice over IP program. In this program, it reads the
data from the sound card, converts the data into real time protocol
(RTP), and sends the RTP packet to the Internet, and vice versa. I need
to read data from and write data to the sound card. I have serveral
problems on how to getting start:
1. Which type API in OSX, HLA or Audio Unit is best suitable for my case?
In addition to read data from and write data to sound card, I also need
the API to set the parameters for the sound card, say, voice format, (A
law or U law), the sampling rate, mono or stero mode, etc. I already
designed two threads, one thread is used to read the data from sound card
and to send it to Interent, the other thread is used to read data from
Internet and write to the sound card.
2. Where can I found some example program for my case? Examples written
in C are best since I have no time to get familiar with Objective C.
Thanks a lot for help.
kaiduan
------------------------------------------------------------------------
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
_______________________________________________
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.