Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xmms plays default soundcard, but mpg123 doesn't
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
sugar
Guru
Guru


Joined: 07 Aug 2004
Posts: 579
Location: Morrinsville, New Zealand

PostPosted: Tue Aug 08, 2006 5:13 am    Post subject: xmms plays default soundcard, but mpg123 doesn't Reply with quote

I use ampache on a headless server, and I got sick of the onboard soundcard, so I chucked in a sblive.

I made a file called /etc/asound.conf
Quote:
pcm.!default {
type hw
card 1
device 0
}
ctl.!default {
type hw
card 1
}


and so now XMMS plays through the new default device (hw:1,0 instead of hw:0,0), which is great. Sounds MUCH better than before. When I play through mpg123, it still plays though the old sound card.

Any ideas anyone?
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Tue Aug 08, 2006 5:25 am    Post subject: Reply with quote

Switch the card assignment order in /etc/modules.d/alsa so that the sblive is card 0 and the onboard card 1. This is just an example, I actually have my onboard sound disabled in the bios.
Code:
alias snd-card-0 snd-emu10k1
alias snd-card-1 snd-via82xx

Hopefully that will work for you. If not, disable the onboard sound if possible.
_________________
Bones McCracker wrote:
On the other hand, regex is popular with the ladies.
Back to top
View user's profile Send private message
vadik56
n00b
n00b


Joined: 14 Feb 2006
Posts: 70

PostPosted: Tue Aug 08, 2006 5:28 am    Post subject: Reply with quote

Check this out, maybe it will help:
http://gentoo-wiki.com/HOWTO_ALSA_sound_mixer_aka_dmix
Back to top
View user's profile Send private message
sugar
Guru
Guru


Joined: 07 Aug 2004
Posts: 579
Location: Morrinsville, New Zealand

PostPosted: Tue Aug 08, 2006 5:45 am    Post subject: Reply with quote

yabbadabbadont wrote:
Switch the card assignment order in /etc/modules.d/alsa so that the sblive is card 0 and the onboard card 1. This is just an example, I actually have my onboard sound disabled in the bios.
Code:
alias snd-card-0 snd-emu10k1
alias snd-card-1 snd-via82xx

Hopefully that will work for you. If not, disable the onboard sound if possible.


I didn't compile as modules. I compiled into the kernel.

I think I'll disable the onboard sound through the bios. You're right. Thanks.
Back to top
View user's profile Send private message
sugar
Guru
Guru


Joined: 07 Aug 2004
Posts: 579
Location: Morrinsville, New Zealand

PostPosted: Tue Aug 08, 2006 10:28 pm    Post subject: Reply with quote

I couldn't disable it in bios, so I did I downloaded the manual for the motherboard and changed a jumper setting, disabling the onboard sound.

I always thought that buying a sblive to use instead of using onboard sound was a little bit of 'wankery'. I'm amazed at the differrence in sound quality. Just the absense of background noise is extremely noticable. I'll never use onboard ever again for anything now!

Thanks for your help guys.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum