ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I want to write a C program that will output sound to the speakers on a laptop that runs the Fedora Core 6. Is there a standard library to do this? I am kind of stuck to even start!
check out the ALSA framework, should be simple enough, not that i've ever used it myself. ALSA is the current audio framework supported within the kernel. you could use desktop centric libraries like ARTS (KDE) and ESD (Gnome) but i don't think they really offer much more than alsa itself. additionally you can play back sound via SDL, normally thought of as a graphics library. but essentially anything that isn't ALSA sits on top of ALSA...
SDL provides a simple (and portable) interface to the sound system.. i would bet (based on absolutely nothing) that it (SDL) is easier to use that ALSA..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.