LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-30-2005, 12:44 PM   #1
tomj88
Member
 
Registered: Apr 2005
Location: Wolverhampton, England
Distribution: Ubuntu
Posts: 334

Rep: Reputation: 30
Sound under linux plays up sometimes


Hi, I don't really understand sound in Linux and would like some answers (please!).
I'm using kde so I presume I'm using aRts. However sometimes I use gstreamer (like for amarok). Are you only able to have one application accessing the sound system at once, i.e. if I am listening to mp3's through amarok, will kde not be able to chime if say do something wrong? Also, could some one explain to me /dev/dsp. Basically my problem is such: sometimes it exists and sound works fine. Other times it will say /dev/dsp in use, and won't let me say play an mp3 (well ogg now ) for a couple of seconds/minutes. And other times it just doesn't exist. I understand it is able to create this device from the command line using mknod (is this correct?), so what would be the command to do this, is it safe? For instance, one of my problems is skype (yea, I know it's not FOSS but I am yet to hear an FOSS alternative that is as good...). Yesterday, I was able to talk just fine, but today it keeps moaning about problem with the sound, and when I check my preferences I cannot see an option for /dev/dsp or anything for that matter under audio devices. I tried to listen to music in amarok and it is also complaining, saying that /dev/dsp does not exist. Anyway, thanks in advance,
Tom
 
Old 08-30-2005, 03:30 PM   #2
tomj88
Member
 
Registered: Apr 2005
Location: Wolverhampton, England
Distribution: Ubuntu
Posts: 334

Original Poster
Rep: Reputation: 30
quick fix for this solution:
Code:
mknod /dev/dsp0 c 14 3
mknod /dev/mixer0 c 14 3
chmod 777 /dev/dsp*
chmod 777 /dev/mixer*
chown root:audio /dev/dsp0
chown root:audio /dev/mixer0
ln -s /dev/dsp0 /dev/dsp
ln -s /dev/mixer0 /dev/mixer
Does the job, still don't have a clue bout sound in linux though...
 
  


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 don't plays continually Klaus Paiva Linux - Hardware 1 10-30-2005 11:55 AM
Sound only plays from one app at a time h8trix Linux - Hardware 4 05-31-2005 02:50 AM
music CD plays but no sound?!? dianat100 Linux - Newbie 6 03-12-2005 06:55 PM
cd plays just fine but no sound from other apps UGT001 SUSE / openSUSE 1 11-26-2004 06:41 PM
xine - plays sound but no video edudlive Linux - Software 3 08-29-2004 08:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:01 AM.

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