LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-04-2006, 01:56 AM   #1
shayad15
LQ Newbie
 
Registered: Apr 2006
Posts: 7

Rep: Reputation: 0
How to write C Code to play MP3 files using Open sound System programming Under Linux


Hi, Everyone

I want to play a MP3 file through a C program.

I am using open sound system (OSS) programming under Linux Environment.

If anyone knows help me.

Thanks.
 
Old 06-04-2006, 07:13 PM   #2
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
does this help?
 
Old 06-05-2006, 08:21 AM   #3
stephenwalter
Member
 
Registered: Jul 2005
Location: india,coimbatore
Distribution: Fedora core 4
Posts: 85

Rep: Reputation: 15
Hi,
I think OSS is depreceated and ALSA is the current standard , the api's are well documented and the API is cool and easy to understand. Just a thought good luck any route u take.

Regards,
S.Suresh Stephen.
 
Old 06-05-2006, 12:46 PM   #4
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
Alsa has OSS compatiblity that you can build into the kernel when you add alsa. As long as thats there a program that uses oss for sound will be compatible with alsa.


But if you are starting out then you probably want to just learn alsa instead of oss to be more compatible.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound programs cannot find /dev/dsp when I try to play MP3 files. vmlinuz.gz Linux - Newbie 9 03-30-2006 08:59 PM
For people how want to play WMA files without converting MP3 files waelaltaqi Linux - Software 15 11-17-2005 08:30 AM
Able to write files to MP3 player but no files written into actual device? olnex Linux - Hardware 0 11-11-2005 06:32 AM
I can't hear any sound when I play a cd or mp3...but tested with system tools->Sound Niceman2005 Linux - General 6 10-31-2005 09:51 AM
how can i play mp3 files in red hat linux 9 using xmms player? nikhil_imt Linux - Software 4 01-24-2005 02:43 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration