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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-21-2004, 09:37 AM
|
#1
|
Member
Registered: Jun 2002
Location: N 37° 33.327 E 126° 55.650
Distribution: Gentoo, Slackware, OpenZaurus
Posts: 186
Rep:
|
Defining ALSA devices for KDE
Hey guys!
How can I tell KDE 3.2 (or arts, rather) to use the ALSA device hw:0,1 instead of the default one (hw:0,0)?
In the KDE control center, under sounds & Multimedia > Sound System > Hardware tab, I've tried to add 'hw:0,1' to the "Override device location" text box, but that doesnt seem to work (it doesnt' seem to 'understand' that syntax).
I've also tried telling it to use the device file thats supposed to correspond to hw:0,1 (/dev/pcmC0D1p), but I think you can't use it directly in ALSA like with OSS. (it also produces an error).
Thanks!!
Refried.
PS. I don't want to tell arts to use ALSA's OSS emulation, as that, for some reason makes arts use 100% CPU, and then eventualy crash with the dreaded 'CPU overload' error.
|
|
|
02-22-2004, 05:00 AM
|
#2
|
Member
Registered: Aug 2002
Location: Alexandria
Distribution: ubuntu 12.04.2
Posts: 217
Rep:
|
I think arts relies on /dev/dsp...that's the error it was giving me when I switched to alsa.
I ran the snddevices or whatever script that comes includes with alsa. That will symlink the correct devices files for you.
|
|
|
02-22-2004, 08:37 PM
|
#3
|
Member
Registered: Jun 2002
Location: N 37° 33.327 E 126° 55.650
Distribution: Gentoo, Slackware, OpenZaurus
Posts: 186
Original Poster
Rep:
|
Hey, thanks for the answer.
AFAIK /dev/dsp is what OSS uses (or ALSA with OSS emulation).
However, I'd like to use 'real' alsa with KDE.
When using ALSA, without OSS emulation, you don't use device names (like /dev/dsp), the programs access the sound devices through names like:
hw:0,0 (same as /dev/dsp)
hw:0,1 (same as /dev/dsp1, if you have 2 sound outputs on one card, like es1371 has)
hw:1,0 (for the second sound card)
It works fine when I just select 'Advanced Linux Sound Architecture' in the control center, but it defaults to hw:0,0.
I'd like it to use hw:0,1.
Anyone know how?
Thanks!
Refried
|
|
|
02-24-2004, 09:14 PM
|
#4
|
Member
Registered: Jun 2002
Location: N 37° 33.327 E 126° 55.650
Distribution: Gentoo, Slackware, OpenZaurus
Posts: 186
Original Poster
Rep:
|
*bump*, anyone know?
|
|
|
02-25-2004, 03:06 AM
|
#5
|
Member
Registered: Aug 2002
Location: Alexandria
Distribution: ubuntu 12.04.2
Posts: 217
Rep:
|
|
|
|
All times are GMT -5. The time now is 04:30 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|