Changeset: 2dc218267f9c Author: Greg Lewis <gle...@eyesbeyond.com> Date: 2011-04-03 10:33 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/2dc218267f9c
. Sound support for FreeBSD using the ALSA compatibility library. It looks like NetBSD also has an ALSA compatibility library, but I don't have access to a NetBSD system to test. I don't see any support for ALSA on OpenBSD or MacOS X. Ideally this will eventually be replaced by a version that uses the native sound infrastructure, although doing it this way certainly reduces the maintenance cost. Discussed with Jung-uk Kim who did a similar change for FreeBSD's openjdk6 port, although I didn't end up looking at that (the changes are simple enough that I expect they are similar though). ! make/common/Defs.gmk ! make/javax/sound/Makefile ! make/javax/sound/jsoundalsa/Makefile ! src/share/native/com/sun/media/sound/Platform.c + src/solaris/native/com/sun/media/sound/PLATFORM_API_BsdOS_ALSA_CommonUtils.c + src/solaris/native/com/sun/media/sound/PLATFORM_API_BsdOS_ALSA_CommonUtils.h + src/solaris/native/com/sun/media/sound/PLATFORM_API_BsdOS_ALSA_MidiIn.c + src/solaris/native/com/sun/media/sound/PLATFORM_API_BsdOS_ALSA_MidiOut.c + src/solaris/native/com/sun/media/sound/PLATFORM_API_BsdOS_ALSA_MidiUtils.c + src/solaris/native/com/sun/media/sound/PLATFORM_API_BsdOS_ALSA_MidiUtils.h + src/solaris/native/com/sun/media/sound/PLATFORM_API_BsdOS_ALSA_PCM.c + src/solaris/native/com/sun/media/sound/PLATFORM_API_BsdOS_ALSA_PCMUtils.c + src/solaris/native/com/sun/media/sound/PLATFORM_API_BsdOS_ALSA_PCMUtils.h + src/solaris/native/com/sun/media/sound/PLATFORM_API_BsdOS_ALSA_Ports.c