View previous topic :: View next topic |
Author |
Message |
sugar Guru
Joined: 07 Aug 2004 Posts: 579 Location: Morrinsville, New Zealand
|
Posted: Tue Aug 08, 2006 5:13 am Post subject: xmms plays default soundcard, but mpg123 doesn't |
|
|
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 |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Tue Aug 08, 2006 5:25 am Post subject: |
|
|
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 |
|
|
vadik56 n00b
Joined: 14 Feb 2006 Posts: 70
|
|
Back to top |
|
|
sugar Guru
Joined: 07 Aug 2004 Posts: 579 Location: Morrinsville, New Zealand
|
Posted: Tue Aug 08, 2006 5:45 am Post subject: |
|
|
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 |
|
|
sugar Guru
Joined: 07 Aug 2004 Posts: 579 Location: Morrinsville, New Zealand
|
Posted: Tue Aug 08, 2006 10:28 pm Post subject: |
|
|
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 |
|
|
|