LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-19-2004, 10:40 PM   #1
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Slackware 9.0 only plays CDs, no audio files


I have installed Slackware 9.0 on a Compaq Armada 1530DM laptop and got the built in sound hardware to work by using the SoundBlaster drivers found in rc.modules (from what I have read, the audio hardware should be 100% SB compatible).

I installed by doing a minimal install (text only) and did expert selection, and I was pretty picky with the packages (small HDD) so it is possible I just missed a package, in which case I hope somebody knows which one.

Anyway, the problem is that while I can play audio CDs, I can't seem to play any audio file. I have tried "amp" and "mpg123" and I can't play MP3s, or WAVs. There are no errors, and the programs both say that decoding completed, so from what I can tell they play the file, there is just no sound being generated.

I have no problems accessing the mixer from "rexima", and all the volumes are up.

It also doesn't matter which user I am, since it doesn't work as root either.

What could be the problem?
 
Old 04-19-2004, 10:48 PM   #2
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
try mpg321. that worked for me once when amp didn't.
 
Old 04-19-2004, 11:12 PM   #3
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Original Poster
Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
mpg123 and mpg321 are the same thing.

I was thinking it may be a libao issue, since the first time I didn't install it, and it gave me errors. I installed the Slackware package that included it, and later downloaded the latest version, but didn't help.

Does anyone have a libao.conf, and if so, what is in it?
 
Old 04-19-2004, 11:23 PM   #4
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
Quote:
Originally posted by MS3FGX
mpg123 and mpg321 are the same thing.

I was thinking it may be a libao issue, since the first time I didn't install it, and it gave me errors. I installed the Slackware package that included it, and later downloaded the latest version, but didn't help.

Does anyone have a libao.conf, and if so, what is in it?
well, they're not exactly the same. mpg321 is open source and uses different libraries, while afaik, mpg123 is not open source.

you might need the libao development libraries:
http://www.xiph.org/ogg/vorbis/download/
 
Old 04-19-2004, 11:28 PM   #5
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
i don't think you need a libao.conf. I never touched it and i have still been able to play mp3s with xmms on any linux or bsd i have used. try installing libmikmod , libaudiofile to see if it gets any better.
 
Old 04-20-2004, 12:18 AM   #6
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Original Poster
Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Libaudiofile isn't a Slackware 9.0 package, but there is a audiofile lib, which is already installed. And libmikmod is a GNOME XMMS, so that wouldn't be needed.

I have booted the same machine with a Slackware LiveCD (SLAX) and it can play MP3s with mpg123, so hardware doesn't seem to be the problem. It also had all of the same sound modules loaded under the LiveCD as it does under the normal system, though a few were "(autoclean)" on the LiveCD.

I have found out that mpg123 is using "/dev/dsp" to play audio files, changing this to use "/dev/mixer" causes an error saying the device may be busy. Is this normal?
 
Old 04-20-2004, 02:51 AM   #7
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
check the rights on theses devices first...change them if necessary
 
Old 04-20-2004, 05:09 PM   #8
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Original Poster
Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Already did, but like I said, the problem persists even as root.
 
Old 04-20-2004, 09:21 PM   #9
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Possibilities: Could this be a hardware issue? Are you using headphones that are plugged into the CD player instead of the soundcard? Are the speakers turned on? Are you sure that the file itself is audible? (Is the same MP# or whatever playable under Windows)? -- J.W.
 
Old 04-21-2004, 03:33 AM   #10
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Original Poster
Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
As I said before, I booted the machine with SLAX and played the same MP3, and it worked fine.
 
  


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
Create ISO files from audio, data and video cds Bateman Linux - General 4 06-19-2005 04:02 AM
Mandrake 9.1 on laptop plays CDs but can barely hear it gervin Linux - Newbie 3 01-08-2004 03:58 PM
CW058D only plays Mixed-Mode CDs with XMMS Frodak Linux - Newbie 0 10-18-2003 08:24 PM
DVD plays but no audio (can play audio cd's though)? guitarnix Linux - Newbie 2 10-05-2003 08:52 AM
Ensoniq 1370 card plays files but not CDs AshleyK Linux - Hardware 2 10-02-2003 02:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:56 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
Open Source Consulting | Domain Registration