Linux Debian support - Assigning sound card to specific X display

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > June 2005 > Assigning sound card to specific X display





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Assigning sound card to specific X display
Ken McCord

2005-05-31, 8:47 pm

I'm running a dual-head setup using Debian unstable + the x.org packages
from Ubuntu. I have two sound cards, and I'd like to assign each of them
to a specific X display. How can I do this?

The first sound card is /dev/dsp and the second is /dev/dsp1. I want
display :0 to use /dev/dsp and display :1 to use /dev/dsp1.

Thanks,

Ken

Clinton V. Weiss

2005-06-01, 2:46 am

Ken McCord wrote:
> I'm running a dual-head setup using Debian unstable + the x.org packages
> from Ubuntu. I have two sound cards, and I'd like to assign each of them
> to a specific X display. How can I do this?
>
> The first sound card is /dev/dsp and the second is /dev/dsp1. I want
> display :0 to use /dev/dsp and display :1 to use /dev/dsp1.
>
> Thanks,
>
> Ken
>


This won't be as easy as you think. Since many programs attempt to
directly access the sound card, you may get programs running on the X
session intended for /dev/dsp1 defaulting their access to /dev/dsp. You
will need to ensure you have the proper wrapper program (depending on
which sound daemon you're using) will be executed for each program.

Perhaps someone else will think of a better solution. I wish you the
best of luck.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com