Hi
Couldn't play sound from java applet.
Environment:
1) esd - nobeeps -as 2 -d /dev/adsp
2) I can play sound by running following commands.This makes sure
sound is working in both esd and dsp.
a) cat /usr/share/sounds/errror.wav > /dev/dsp
b) esdplay /usr/share/sounds/error.wav
3) fuser -v /dev/dsp -- no one is using dsp
4) fuser -v /dev/adsp -- no one is uing adsp
5) Opened Netscape 6.1 Browser. Coulnd't play sounds from java applet.
6) fuser -v /dev/adsp -- no one is using adsp
7) fuser -v /dev/dsp --
USER PID ACCESS COMMAND
/dev/dsp 1705 java
...... java
1731 java
I see around 15 to 20 java process trying to use dev/dsp
This confirms java applet is trying to use /dev/dsp to play sound. But
I couldn't hear anything.
8)Still I can play sound by running esdplay
/usr/share/sounds/error.wav
9)But It waits if i type cat /usr/share/sounds/errror.wav > /dev/dsp
This makes sense because dsp is locked by java.
Driver Details:
alsa-driver-0.5.9b-4
alsa-lib-0.5.9-1
alsa-utils-0.5.9a-1
Redhat - 6.2
Any ideas?
Thanks for your help
Ram
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user