-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
1.4.2
-
x86
-
linux
Name: rmT116609 Date: 03/10/2004
FULL PRODUCT VERSION :
java version "1.4.2_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_02-b03)
Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Linux dave.sipquest.com 2.4.20-19.8 #1 Tue Jul 15 15:25:37 EDT 2003 i686 i686 i386 GNU/Linux
EXTRA RELEVANT SYSTEM CONFIGURATION :
I am using the ALSA drivers for sound, version 0.9.6 as of the writing of this bug report. Also I have as my Linux OS of choice, RedHat 8.0 running Gnome.
A DESCRIPTION OF THE PROBLEM :
When I try to do a capture of mono audio using JavaSound, the capture succeeds, but only silence is actually captured.
I am able to reproduce this every time using the JavaSoundDemo available off the sun website. Simply go to the capture tab and select "mono". Then capture for awhile, and try to play it back.
Note that I have checked native programs on my machine and they can capture and playback mono audio fine.
Also, another datapoint is that this works if I use JDK1.4.1_02, but as of jdk1.4.2 it is broken (for all version of 1.4.2 tried so far).
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1) Install JavaSoundDemo
2) Install JDK 1.4.2
3) Install ALSA Drivers on Linux
4) Run JavaSoundDemo and try to capture with mono selected.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I expect that the audio will be properly captured and I will see a waveform in the JavaSoundDemo that I can subsequently "play".
ACTUAL -
Capture runs fine, but the captured waveform is a straight line (i.e. silence!)
ERROR MESSAGES/STACK TRACES THAT OCCUR :
No error messages
REPRODUCIBILITY :
This bug can be reproduced always.
(Incident Review ID: 227159)
======================================================================
- relates to
-
JDK-5013897 Linux: Only maximum bits and channels in ALSA devices
-
- Resolved
-