LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 06-14-2004, 10:53 AM   #1
Chryzmo
Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 10.1
Posts: 180

Rep: Reputation: 30
Problem Playing Sounds using ALSA


Heyas,

I just got my sound to work, somewhat, on an old Compaq Armada 7400 (uses the ESS1879 chip). If I mount a CD and then play it in ksCD, it plays without a problem. However, if I try to play an MP3, WAV, or MIDI none of them will play. I have used mpg123, XMMS, kmid, and kmidi. None of them give me any errors, they just sit there and don't play. I have tried hitting the stop button and then the start button again, but it just sits there. The bar showing how far into the file it is playing doesn't move at all either. I have been trying most of this from within KDE, I also tried XMMS from fluxbox and mpg123 from the CLI. Does anyone have any ideas why I can only play audio CDs and not other sound files?

Thanks,
Chris
 
Old 06-14-2004, 11:02 AM   #2
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,282

Rep: Reputation: 66
Did you install normalize package, libmad package and amp package ? (more important is libmad)
 
Old 06-14-2004, 11:23 AM   #3
Chryzmo
Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 10.1
Posts: 180

Original Poster
Rep: Reputation: 30
I installed the alsa-drive, alsa-utils, alsa-lib and then I did a full install when I installed Slackware. I didn't need anything else installed when I put Slack on my desktop. All I really care about is having XMMS play MP3s. I was just using the MIDI and WAV files to test the sound.
 
Old 06-14-2004, 11:27 AM   #4
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,282

Rep: Reputation: 66
One thing I am sure is that it is not the job for alsa driver to procure mp3 decoding/encoding features instead alsa works with the sound card hardware.

[edit]
open xmms, right click on it > options > preferences and try to set the input/output options to suit your system

Last edited by keefaz; 06-14-2004 at 11:34 AM.
 
Old 06-14-2004, 11:54 AM   #5
Chryzmo
Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 10.1
Posts: 180

Original Poster
Rep: Reputation: 30
In the XMMS preferences it is using OSS Driver 1.2.8 [libOSS.s] as the Output Plugin. I tried letting it use the default Audio Device and Mixer Device and I also told it to use "/dev/dsp" and "/dev/mixer", however I get the same result both ways. It just sits there when I hit the play button. Nothing moves, but I do not get an error either.

I would think I must be missing some package or some config setting somewhere, but I am fairly certain I followed the directions on the alsa site perfectly. I am just not sure how to find out exactly what is wrong. I find it quite odd that music CDs work find, it's only music files that will not work.

[edit]

I also just noticed that if I goto the Control Center --> Sound & Multimedia --> Sound System, it has defaulted to Start aRts soundserver on KDE startup(which I have tried turning off, and there is no difference). There is also a "Test Sound" button at the button, but this button does nothing. Again there is no sound, nor is there an error.

At a console however, if I try to hit backspace when there is no text on the line it does beep, whihc it didn't do before I setup ALSA.

Last edited by Chryzmo; 06-14-2004 at 12:07 PM.
 
Old 06-14-2004, 01:37 PM   #6
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
Dunno if this will help, but as a regular user, open a terminal session and enter the command: alsamixer

This will allow you to adjust the various output/volume levels of your sound devices. Make certain that the master volume and the CD output is turned up high. Use the arrow keys to move left/right through the options (there are lots of them) and the up/down arrows to turn things up or down (obviously)

I likewise was not getting any sound, and it was just due to having really low output levels. -- J.W.
 
Old 06-14-2004, 06:06 PM   #7
mstodd
LQ Newbie
 
Registered: Jun 2004
Posts: 2

Rep: Reputation: 0
settings and vol. check

make sure you have your kernel compiled with the appropriate options.
try running kmix, and messing with the input and output volumes while playing something.
there are a couple ways to get sound working with xmms, u can use the arts plugin while running the arts daemon in KDE, or u can use OSS or ALSA. whichever u use, at least for arts, u need to have the correct configuration in Sound System->Hardware. try different audio devices with different output plugins in xmms. under the General tab in Sound System, i got the test sound to work when i noticed that i only had one artsd running. run a "ps aux|grep artsd" to see how many artsd processes you have running, if it's more that one, try killing all of them, or just restart linux. when u configure things under the hardware tab in Sound System then hit "apply", all it does is run artsd with the appropriate options from what you chose. you can get sound working without having the test sound working, but it the test sound works, xmms should work with the arts output plugin.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Playing multiple sounds when quake3 is running ankur_linuxfan Linux - Games 1 06-25-2006 11:56 AM
artsd crashing when playing system sounds Metalbarthug Suse/Novell 6 11-13-2004 02:59 AM
Sounds seem to be queueing instead of all playing at once lmetal Slackware 3 08-31-2004 08:26 PM
Parts of sounds not playing on enemy territory i286 Linux - Games 0 02-29-2004 04:59 AM
Playing sounds dark_light Linux - General 1 09-06-2002 03:04 PM


All times are GMT -5. The time now is 10:37 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration