Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sharing sound device???
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
dpt22
n00b
n00b


Joined: 05 Feb 2003
Posts: 34

PostPosted: Fri Apr 18, 2003 10:09 am    Post subject: Sharing sound device??? Reply with quote

I have the on-board VIA sound working using ALSA but when I start and application such as XMMS or Xine they wait until the sound device is free. So they appear to hang but are in fact just sat there waiting. I'm using the KDE 3.1.1 desktop and have found starting & stopping the aRts sound server solves the issue. I've recompiled the server too just in case.

I'd like them to be able share, I'm sure it's possible to do this but don't know what to do? any help would be appreciated.


Cheers


David
Back to top
View user's profile Send private message
mikepb78
Apprentice
Apprentice


Joined: 27 Feb 2003
Posts: 171
Location: London

PostPosted: Fri Apr 18, 2003 10:50 am    Post subject: Reply with quote

Well unfortunately you have a poor soundcard or driver. You can either use Kde's arts to allow you to have 2 applications to access you soundcard at the same time, but you will find that there might be some sound lag. Xine/Xmms and mplayer have arts plugins that allow those applications to use the arts soundserver the share the soundcard. Otherwise, get a better soundcard.
Back to top
View user's profile Send private message
BloodPuP
n00b
n00b


Joined: 16 Nov 2002
Posts: 5

PostPosted: Fri Apr 18, 2003 2:28 pm    Post subject: dmix? Reply with quote

The alsa site has this in their release notes for 0.9.0rc8:
"You will find in the alsa-lib package the dmix plugin which allows mixing of multiple PCM streams together without the client/server mechanism."

Sounds like something that could fix your problem. Though I have not been able to find any documentation on how to use dmix. Anybody got this working?
Back to top
View user's profile Send private message
Basti_litho
Apprentice
Apprentice


Joined: 13 Aug 2002
Posts: 179

PostPosted: Fri Apr 18, 2003 3:09 pm    Post subject: Reply with quote

from via82xx.c (0.9.1):

* Changes:
*
* Dec. 19, 2002 Takashi Iwai <tiwai@suse.de>
* - use the DSX channels for the first pcm playback.
* (on VIA8233, 8233C and 8235 only)
* this will allow you play simultaneously up to 4 streams.
* multi-channel playback is assigned to the second device
* on these chips.


:-D
_________________
Aktives Mitglied bei:

Folding@Home
http://folding.stanford.edu/

Team: Germany (Nr. 3)
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