United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4558938 : RFE: Implement Ports

Details
Type:
Enhancement
Submit Date:
2001-12-07
Status:
Closed
Updated Date:
2002-11-20
Project Name:
JDK
Resolved Date:
2002-10-16
Component:
client-libs
OS:
generic,windows_xp
Sub-Component:
javax.sound
CPU:
x86,generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
2.1,1.4.0,1.4.1,5.0
Fixed Versions:
1.4.2 (mantis)

Related Reports
Duplicate:
Duplicate:
Duplicate:
Relates:
Relates:
Relates:

Sub Tasks

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


                                     
2004-06-14
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.
                                     
2004-06-11
PUBLIC COMMENTS

RFE: Implement Ports
                                     
2004-06-10



Hardware and Software, Engineered to Work Together