-
Bug
-
Resolution: Fixed
-
P4
-
1.4.2
-
tiger
-
generic
-
generic
Name: dkR10031 Date: 12/16/2002
The J2SE 1.4 Java Sound implementation reports a most mixers independently
of how many soundcards are available. The following test was run on linux
box without soundcards:
------------------------------------------------------------------------
import javax.sound.sampled.*;
public class MyMusic{
public static void main(String args[]){
Mixer.Info[] mixerInfo = AudioSystem.getMixerInfo();
for(int i=0; i<mixerInfo.length; i++){
System.out.println("Mixer #"+i+":"+mixerInfo[i]);
}
}
}
----------------------------------- Logs -------------------------------
Mixer #0:Java Sound Audio Engine, version 1.0
Mixer #1:Linux,dev/dsp,multi threaded, version Unknown Version
------------------------------------------------------------------------
Linux box parameters:
---------------------------------- Logs --------------------------------
Linux linux-19 2.4.18-64GB-SMP #1 SMP Wed May 29 15:37:15 UTC 2002 i686
unknown
linux-19 /tmp/1> /sbin/lsmod
Module Size Used by Not tainted
agpgart 30080 5 (autoclean)
autofs 9572 12 (autoclean)
ipv6 159616 -1 (autoclean)
isa-pnp 27580 0 (unused)
joydev 5792 0 (unused)
evdev 4032 0 (unused)
input 3168 0 [joydev evdev]
usb-uhci 22020 0 (unused)
usbcore 56544 1 [usb-uhci]
3c59x 25960 1
reiserfs 165408 0 (unused)
------------------------------------------------------------------------
This behavior is ambiguos - if there is NO
soundcard installed, how can the implementation
possibly report a format?
======================================================================
- relates to
-
JDK-4794189 SPEC: javax_sound spec does not specify sound devices detecting
- Closed