JDK-4558938 : RFE: Implement Ports
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: javax.sound
  • Affected Version: 2.1,1.4.0,1.4.1,5.0
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic,windows_xp
  • CPU: generic,x86
  • Submitted: 2001-12-07
  • Updated: 2002-11-20
  • Resolved: 2002-10-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.2 mantisFixed
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
Name: fb126949			Date: 12/07/2001

It is impossible to get instances of Port in javax.sound.sampled.*

======================================================================

###@###.### 2002-03-29
Sound Test: test013 & test014 failing in Hopper build 06 on all platforms. Shell script details are below. 

#!/bin/ksh

PATH=/net/sqesvr.sfbay/export/st1/jdk141/beta/b06/solsparc/bin:
JAVAC=/net/sqesvr.sfbay/export/st1/jdk141/beta/b06/solsparc/bin/javac
CLASSPATH=/net/sqesvr.sfbay/export/st1/sound/hopper/sound_tonga/testrun/SunOS-5.9-grus-jdk141betab06-03.29-09.42-ALL/smitha.Solaris.sparc/test013:/net/sqesvr.sfbay/export/st1/Alan/sound/tonga/classes:/net/sqesvr.sfbay/export/st1/sound/hopper/sound_tonga/testbase/classes
DISPLAY=grus:0.0
JAVA=/net/sqesvr.sfbay/export/st1/jdk141/beta/b06/solsparc/bin/java

while [ $# -gt 0 ];
do
  if [ $1 = "-jdk" ]; then
	shift 1
	PATH=${1}/bin:${PATH}
	shift 1
  else
	if [ $1 = "-d" ]; then
	  shift 1
	  if [ $# -gt 0  ]; then
		DISPLAY=$1
		shift 1
	  else
		DISPLAY=:0.0
	  fi
	fi
  fi
done

export PATH
export JAVAC
export CLASSPATH
export DISPLAY
export JAVA
/net/sqesvr.sfbay/export/st1/jdk141/beta/b06/solsparc/bin/javac -d /net/sqesvr.sfbay/export/st1/sound/hopper/sound_tonga/testrun/SunOS-5.9-grus-jdk141betab06-03.29-09.42-ALL/smitha.Solaris.sparc/test013/ /net/sqesvr.sfbay/export/st1/sound/hopper/sound_tonga/testrun/SunOS-5.9-grus-jdk141betab06-03.29-09.42-ALL/smitha.Solaris.sparc/test013/*.java
##Exit status of Java compilation=0


#Note: /net/sqesvr.sfbay/export/st1/sound/hopper/sound_tonga/testbase/classes/TestPrefs.java uses or overrides a deprecated API.
#Note: Recompile with -deprecation for details.

PATH=/net/sqesvr.sfbay/export/st1/jdk141/beta/b06/solsparc/bin:
JAVAC=/net/sqesvr.sfbay/export/st1/jdk141/beta/b06/solsparc/bin/javac
CLASSPATH=/net/sqesvr.sfbay/export/st1/sound/hopper/sound_tonga/testrun/SunOS-5.9-grus-jdk141betab06-03.29-09.42-ALL/smitha.Solaris.sparc/test013:/net/sqesvr.sfbay/export/st1/Alan/sound/tonga/classes:/net/sqesvr.sfbay/export/st1/sound/hopper/sound_tonga/testbase/classes
DISPLAY=grus:0.0
JAVA=/net/sqesvr.sfbay/export/st1/jdk141/beta/b06/solsparc/bin/java

while [ $# -gt 0 ];
do
  if [ $1 = "-jdk" ]; then
	shift 1
	PATH=${1}/bin:${PATH}
	shift 1
  else
	if [ $1 = "-d" ]; then
	  shift 1
	  if [ $# -gt 0  ]; then
		DISPLAY=$1
		shift 1
	  else
		DISPLAY=:0.0
	  fi
	fi
  fi
done

export PATH
export JAVAC
export CLASSPATH
export DISPLAY
export JAVA
/net/sqesvr.sfbay/export/st1/jdk141/beta/b06/solsparc/bin/java -Ddata.dir=/net/sqesvr.sfbay/export/st1/sound/hopper/sound_tonga/testbase test013
##Exit status of execution step=1
##!checkExitCode

#
#Port.Info.MICROPHONE: Not Supported, see BugID 4384401
#Port.Info.LINE_IN: Not Supported, see BugID 4384401
#Port.Info.COMPACT_DISC: Not Supported, see BugID 4384401
#Port.Info.SPEAKER: Not Supported, see BugID 4384401
#Port.Info.HEADPHONE: Not Supported, see BugID 4384401
#Port.Info.LINE_OUT: Not Supported, see BugID 4384401

======================================================================


Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mantis FIXED IN: mantis INTEGRATED IN: mantis VERIFIED IN: mantis
14-06-2004

EVALUATION ###@###.### 2002-02-26 Missing in reference implementation. ###@###.### 2002-11-05 Regarding the JDC comments: 1) A bug appears closed/fixed if it is internally fixed. The fix will be available with the next public release of Java. 2) Recording from line in or any other port is well possible in Java Sound even without implemented ports. The only difference is that you cannot choose the port you are recording from - Java uses the one selected with a native program like Windows Mixer, Solaris audiocontrol, Linux aumix.
11-06-2004

PUBLIC COMMENTS RFE: Implement Ports
10-06-2004