my sound card is being shared now with other applications.
But still some applications which are not configured to use ALSA like RealPlayer have some issues.
I did following things:
1. installed gstream ALSA plugin
apt-get install gstreamer0.8-alsa
2. Run- /usr/bin/gstreamer-properties and changed input/output to ALSA
3. create /etc/asound.conf file and configure "dmixer".
#
# DMIX input device
#
pcm.!output {
type dmix
ipc_key 1234
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 8192
rate 48000
}
}
#
# DSNOOP output device
#
pcm.!input {
type dsnoop
ipc_key 1234
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
rate 48000
}
}
#
# ASYM duplex device
#
pcm.!duplex {
type asym
playback.pcm "output"
capture.pcm "input"
}
#
# Make the duplex device default
#
pcm.!default {
type plug
slave.pcm "duplex"
}
#
# OSS Compability
#
pcm.!dsp0 {
type plug
slave.pcm "duplex"
}
ctl.!mixer0 {
type hw
card 0
}
4. for XMMS, I need to change preferences to use ALSA instead of OSS.
[EMAIL PROTECTED]
03 9617 2235 05/01/2006 05:05 PM
|
To: debian-user@lists.debian.org cc: Subject: Re: Sound Device Not Shared |
if I stop the application which is using the sound device and then other application can use the sound device...
its more like exclusive access to the sound device by ALSA....
even if there is a warning sound from Anti-virus program, sound device get locked and I can not play music anymore until
I close Anti-virus program.
Adam Porter <[EMAIL PROTECTED]> Sent by: news <[EMAIL PROTECTED]> 05/01/2006 04:43 PM | To: debian-user@lists.debian.org cc: Subject: Re: Sound Device Not Shared |
[EMAIL PROTECTED] wrote:
> I'm using ALSA and the only issue is if an application is using Sound
> device (/dev/dsp) and another
> application is trying to use it, it says "/dev/dsp" is already in use.
>
> What can I do it share the sound device??
If I understand ALSA correctly, you should not be using /dev/anything. ALSA
specifies devices differently, e.g. "hw:0,0" for card 0, device 0. If your
app is wanting to use /dev/dsp, it may not be set up to use ALSA. Either
configure it to use ALSA instead of OSS, or run the program with an ALSA
wrapper, like aoss (man aoss for help).
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
_____________________________________________________________________
This e-mail has been scanned for viruses by MCI's Internet Managed
Scanning Services - powered by MessageLabs. For further information
visit http://www.mci.com
Alliance Bernstein: Winner of Money Management "FUND MANAGER OF THE YEAR 2005" Member of the Global AXA Group ********************************************************************************* Important Note This email (including any attachments) contains information which is confidential and may be subject to legal privilege. If you are not the intended recipient you must not use, distribute or copy this email. If you have received this email in error please notify the sender immediately and delete this email. Any views expressed in this email are not necessarily the views of AXA. Thank you. ********************************************************************************** |
_____________________________________________________________________
This e-mail has been scanned for viruses by MCI's Internet Managed
Scanning Services - powered by MessageLabs. For further information
visit http://www.mci.com
_____________________________________________________________________
This e-mail has been scanned for viruses by MCI's Internet Managed
Scanning Services - powered by MessageLabs. For further information
visit http://www.mci.com
Alliance Bernstein: Winner of Money Management "FUND MANAGER OF THE YEAR 2005" Member of the Global AXA Group ********************************************************************************* Important Note This email (including any attachments) contains information which is confidential and may be subject to legal privilege. If you are not the intended recipient you must not use, distribute or copy this email. If you have received this email in error please notify the sender immediately and delete this email. Any views expressed in this email are not necessarily the views of AXA. Thank you. ********************************************************************************** |