Re: Sharing sound between users on wheezy - Your recommendation.

2013-01-05 Thread Raffaele Morelli
013/1/5 Sthu Deus 

> No. What I want is sharing hardware - the sound card among several
> users - i.e. I have several users logged in on a host. some of them use
> the card - some play music, or keep it paused currently while another
> tries to work w/ MIDI editor - like RoseGarden or LMMS.
>

you should use dmix with the 'ipc_key_add_uid' parameter set to false
to let multiple users share the same device.



>
> Currently I do not use sharing of sound card that results in lockups -
> app.s either waiting for hardware to be released or hang up my whole
> system - I tried to run ardour2 while mplayer2 was playing a FLAC. -
> Had to reset whole OS.
>

that sounds really weird... you should use jack sound server and configure
every user .asoundrc properly, furthermore have a look at your /etc/group
and add your user to the audio group, then you can use
/etc/security/limits.conf or /etc/security/limits.d/audio.conf to "boost"
audio performances for audio group members

-r


Re: Sharing sound between users on wheezy - Your recommendation.

2013-01-05 Thread Sthu Deus
Good time of the day, Andrei.


Thank You for Your time and answer. You wrote:

> > What do You recommend for wheezy multi user system for single sound
> > card share: PA, Dmix, another?
> 
> In my experience dmix works fine in most cases, but you don't provide 
> enough information to make a recommendation.

Thanks, again.

> If all you're looking for is a way for multiple users to control the 
> same playlist you should look at mpd.

No. What I want is sharing hardware - the sound card among several
users - i.e. I have several users logged in on a host. some of them use
the card - some play music, or keep it paused currently while another
tries to work w/ MIDI editor - like RoseGarden or LMMS.

Currently I do not use sharing of sound card that results in lockups -
app.s either waiting for hardware to be released or hang up my whole
system - I tried to run ardour2 while mplayer2 was playing a FLAC. -
Had to reset whole OS.


Sthu.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50e80f27.e819700a.2eec.b...@mx.google.com



Re: Sharing sound between users on wheezy - Your recommendation.

2013-01-05 Thread Andrei POPESCU
On Sb, 05 ian 13, 16:30:22, Sthu Deus wrote:
> Good time of the day.
> 
> 
> What do You recommend for wheezy multi user system for single sound
> card share: PA, Dmix, another?

In my experience dmix works fine in most cases, but you don't provide 
enough information to make a recommendation.

If all you're looking for is a way for multiple users to control the 
same playlist you should look at mpd.

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Sharing sound between users on wheezy - Your recommendation.

2013-01-05 Thread Sthu Deus
Good time of the day.


What do You recommend for wheezy multi user system for single sound
card share: PA, Dmix, another?

Thanks for Your time.


Sthu.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50e7f2b3.6358700a.650b.e...@mx.google.com