Hi,
I am looking for a c++ threading library in linux which has an easy to understand API. Can someone tell me as to which library should I go for ??
Regards, Vishal Kothari.
_________________________________________________________________ Easiest Money Transfer to India. http://go.msnserver.com/IN/41490.asp Send Money To 6000 Indian Towns.
On Sat, 31 Jan 2004, vishal kothari wrote:
~ I am looking for a c++ threading library in linux which has an easy to ~ understand API. Can someone tell me as to which library should I go for ??
Qt. It will solve all your networking, xml, multi-threading, GUI, browser-plugin, "image processing", and database acces problems. Plus it has good documentation and short learning curve.
But will create own set of problems in case you are writing a commercial software
Supreet
On Sat, 2004-01-31 at 20:14, Amit Upadhyay wrote:
On Sat, 31 Jan 2004, vishal kothari wrote:
~ I am looking for a c++ threading library in linux which has an easy to ~ understand API. Can someone tell me as to which library should I go for ??
Qt. It will solve all your networking, xml, multi-threading, GUI, browser-plugin, "image processing", and database acces problems. Plus it has good documentation and short learning curve.
-- Amit Upadhyay
On Saturday 31 January 2004 10:28, Supreet Sethi wrote:
But will create own set of problems in case you are writing a commercial software
No problems if u r writing GPL commercial software. QT has a dual licensing policy use the gpl version for gpl software and the pay-thru-your-nose for closed source. In short no sponging off the GPL.
Hi I am writing a program which needs to read from the line-in of my soundcard and reproduce/store the sound. I need to read from the sound device, store it in some buffer or file and then play it back later.Can anyone suggest some C/C++ libraries which provides interface to do that in Linux? I have looked at the SDL API and ALSA Library API for it. SDL provides nice API but cannot capture audio from the sound device that leaves me only with ALSA, which seems to be quite messy. Has anyone worked with these API's and share some knowledge? Or can anyone suggest other alternatives? Any input would be highly appriciated.
Shourya M.Tech Scholar IIT Bombay
On Wednesday 04 Feb 2004 12:39 am, Shourya P. Bhattacharya wrote:
Hi I am writing a program which needs to read from the line-in of my soundcard and reproduce/store the sound. I need to read from the sound device, store it in some buffer or file and then play it back later.Can anyone suggest some C/C++ libraries which provides interface to do that in Linux? I have looked at the SDL API and ALSA Library API for it. SDL provides nice API but cannot capture audio from the sound device that leaves me only with ALSA, which seems to be quite messy. Has anyone worked with these API's and share some knowledge? Or can anyone suggest other alternatives? Any input would be highly appriciated.
All that is required is to open ("/dev/audio") as a read-only and do some ioctl's on the handle you get from fopen. Use a loop to continously receive voice, you may do anything with those bit you get.
Shourya M.Tech Scholar IIT Bombay
Amish Munshi wrote:
On Wednesday 04 Feb 2004 12:39 am, Shourya P. Bhattacharya wrote:
Hi I am writing a program which needs to read from the line-in of my soundcard and reproduce/store the sound. I need to read from the sound device, store it in some buffer or file and then play it back later.Can anyone suggest some C/C++ libraries which provides interface to do that in Linux? I have looked at the SDL API and ALSA Library API for it. SDL provides nice API but cannot capture audio from the sound device that leaves me only with ALSA, which seems to be quite messy. Has anyone worked with these API's and share some knowledge? Or can anyone suggest other alternatives? Any input would be highly appriciated.
All that is required is to open ("/dev/audio") as a read-only and do some ioctl's on the handle you get from fopen. Use a loop to continously receive voice, you may do anything with those bit you get.
Thanks mate. I will try it out.
Shourya M.Tech Scholar IIT Bombay
On Saturday 31 Jan 2004 2:32 pm, vishal kothari wrote:
Hi,
I am looking for a c++ threading library in linux which has an easy to understand API. Can someone tell me as to which library should I go for ??
You can use the posix threads that are used by C. Include pthreads.h and call the appropriate functions.
This should get you started.
http://dis.cs.umass.edu/~wagner/threads_html/tutorial.html
Regards, Vishal Kothari.
Easiest Money Transfer to India. http://go.msnserver.com/IN/41490.asp Send Money To 6000 Indian Towns.