LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 03-28-2005, 02:05 PM   #1
piva.francesco
Member
 
Registered: Feb 2005
Distribution: Slackware 10.1, Gentoo
Posts: 64

Rep: Reputation: 15
one device two sounds error


hey all,
well actually i have a kind of problem with my sound, the fact is:
i can hear the music normally, my sound card works perfectly. althought it makes me an error: i cannot play two different sounds comming from two different devices
e.g : i'm talking on skype with a friend and i cannot play some music in background without that xmms says me the following thing:

Quote:
Please check that:

Your soundcard is configured properly
You have the correct output plugin selected
No other program is blocking the soundcard
i've already done:

Quote:
alsaconf
chmod 666 /dev/dsp*
chmod 666 /dev/mixer*
but nothing changed.
i'd like a clear answer for my problem please because i'd like to fix this problem as soon as possible
thanks for answering.

cya all


PS: i'm running a Slackware 10.1 (if that could help)
 
Old 03-28-2005, 04:05 PM   #2
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
Are you using dmix? or amix? You should have a mixer deamon running, or you'll only be able to use one. The other solution is to buy a creative audigy soiund card that supports hardware mixing.
 
Old 03-29-2005, 09:51 AM   #3
piva.francesco
Member
 
Registered: Feb 2005
Distribution: Slackware 10.1, Gentoo
Posts: 64

Original Poster
Rep: Reputation: 15
i don't know how to do it.... please be clear in order to help me THANKS!.... that's the second time i post and nobody answers me correctly.

thanks, cya all.
 
Old 03-29-2005, 10:51 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Try configuring your apps to use alsa.
 
Old 03-29-2005, 11:23 AM   #5
piva.francesco
Member
 
Registered: Feb 2005
Distribution: Slackware 10.1, Gentoo
Posts: 64

Original Poster
Rep: Reputation: 15
sorry but i'm a noob, can you explain a little bit more what does mean :
Quote:
Try configuring your apps to use alsa.
thanks for expliciting.

cya
 
Old 03-29-2005, 11:56 AM   #6
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
I would check into the gentoo alsa howto:
http://www.gentoo.org/doc/en/alsa-guide.xml
 
Old 03-29-2005, 12:56 PM   #7
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Does anybody have a guide on what actually happens with dmix. I have tried a lot but it doesn't work. I went to the gentoo wiki which is great but it has only similar stuff. Also everything just says this is how it should work but not what the code does (as in why you do things the way they do)

So first they tell me to run alsaplayer a couple of times with dmix in the command line. Which works good for me. Then it says now write the asoundrc file. So I do it taking the smallest possible. Then it says test with mpg123. First of all when I normally run mpg123 it just plays whole mp3s in 3 seconds so way too fast. But after I write asoundrc it doesn't work anymore giving an error on mess in the mp3 file. It says I can hear when dmix is used, well I don't (probably cause it doesn't work )

This is my asoundrc file which according to a lot of different sites should work with via82xx alsa module. (VIA AC97 sound)

Quote:
pcm.dsp0 {
type plug
slave.pcm "dmixer"
}

ctl.mixer0 {
type hw
card 0
}
 
Old 03-29-2005, 01:14 PM   #8
piva.francesco
Member
 
Registered: Feb 2005
Distribution: Slackware 10.1, Gentoo
Posts: 64

Original Poster
Rep: Reputation: 15
i glanced to the gentoo alsa howto and it doesn't fit to slackware, well, that's what i think. in anycase, thanks alot.
but still, does someone have another idea or solution?

thanks.
 
Old 03-29-2005, 01:25 PM   #9
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Yep you've got to know what you can use and what's gentoo specific. But no worries there's documentation on the official alsa site

http://www.alsa-project.org/
 
Old 03-29-2005, 03:45 PM   #10
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
almost all howto are not gentoo specific, totally works cross-distro.
 
  


Reply



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
firewire error - Error logging into SBP-2 device eddi.b Linux - Hardware 1 09-25-2004 09:37 AM
Libao error: Error Opening Device dahuja76 Programming 0 09-03-2004 12:17 PM
FD Device Driver Error NeoKaiserSigma Linux - Laptop and Netbook 10 08-27-2004 08:16 AM
USB storage device works in 2.4 not 2.6 "no device error" critch Linux - Hardware 4 05-18-2004 11:13 AM
Recorded audio sounds horrible, but the untouched line-in sounds ok? justin218 Linux - Newbie 1 10-14-2003 05:11 PM

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

All times are GMT -5. The time now is 08:21 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