IcedTea-Sound 1.0.0 Released!
Andrew Hughes
gnu.andrew at redhat.com
Wed Jul 30 13:54:06 UTC 2014
----- Original Message -----
> On 28 July 2014 20:32, Andrew Hughes <gnu.andrew at redhat.com> wrote:
> > ----- Original Message -----
> >> On 18 July 2014 23:21, Andrew Hughes <gnu.andrew at redhat.com> wrote:
> >> > We are pleased to announce the inaugural release of IcedTea-Sound. At
> >> > present, IcedTea-Sound contains the PulseAudio provider which was
> >> > removed from IcedTea itself from 2.5.0 onwards. More providers may be
> >> > included in the future.
> >> >
> >> > If you find an issue with the release, please report it to our bug
> >> > database (http://icedtea.classpath.org/bugzilla) under the
> >> > IcedTea-Sound product and the appropriate component. Development
> >> > discussion takes place on the distro-pkg-dev at openjdk.java.net mailing
> >> > list (as with IcedTea) and patches are always welcome.
> >> >
> >> > Full details of the release can be found below.
> >> >
> >> > What's New?
> >> > ===========
> >> > New in release 1.0.0 (2014-07-18):
> >> >
> >> > * PR1741: Break PulseAudio provider out into IcedTea-Sound
> >> > * PR1840: Replace Makefile.am references to PULSE_JAVA with
> >> > ICEDTEA_SOUND
> >> > * PR1842: Linker does not check that symbols can be resolved for
> >> > libpulse-java.so
> >> > * PR1876: The following shared libraries lack a SONAME:
> >> > /usr/lib64/libicedtea-sound.so
> >> >
> >> > The tarballs can be downloaded from:
> >> >
> >> > *
> >> > http://icedtea.classpath.org/download/source/icedtea-sound-1.0.0.tar.gz
> >> > *
> >> > http://icedtea.classpath.org/download/source/icedtea-sound-1.0.0.tar.xz
> >> >
> >> > We provide both gzip and xz tarballs, so that those who are able to
> >> > make use of the smaller tarball produced by xz may do so.
> >> >
> >> > The tarballs are accompanied by digital signatures available at:
> >> >
> >> > *
> >> > http://icedtea.classpath.org/download/source/icedtea-sound-1.0.0.tar.gz.sig
> >> > *
> >> > http://icedtea.classpath.org/download/source/icedtea-sound-1.0.0.tar.xz.sig
> >> >
> >> > These are produced using my public key. See details below.
> >> >
> >> > PGP Key: 248BDC07 (https://keys.indymedia.org/)
> >> > Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07
> >> >
> >> > SHA256 checksums:
> >> >
> >> > 0d09bc9656f9125642f70bb322f8ec92ec0ae28fdd295e83c4ce3c7576e79bd3
> >> > icedtea-sound-1.0.0.tar.gz
> >> > cb47dec753e4853ba8021a3b532631c2b751450d0d9d580c3ddce99fe8b4c7a9
> >> > icedtea-sound-1.0.0.tar.gz.sig
> >> > 29511d271cbb5259eac5dd48867e27d61ce4ce15026dc105277dbf1238333dbb
> >> > icedtea-sound-1.0.0.tar.xz
> >> > c16cb29502d6edb16fb611b3d1ffbda199919f56afc8691a7dceee08b009b528
> >> > icedtea-sound-1.0.0.tar.xz.sig
> >> >
> >> > The checksums can be downloaded from:
> >> >
> >> > *
> >> > http://icedtea.classpath.org/download/source/icedtea-sound-1.0.0.sha256
> >> >
> >> > The following people helped with this release:
> >> >
> >> > * Andrew Hughes (all bug fixes, release management)
> >> >
> >> > We would also like to thank the bug reporters and testers!
> >> >
> >> > To get started:
> >> >
> >> > $ tar xzf icedtea-sound-1.0.0.tar.gz
> >> >
> >> > or:
> >> >
> >> > $ tar x -I xz -f icedtea-sound-1.0.0.tar.xz
> >> >
> >> > then:
> >> >
> >> > $ mkdir its-build
> >> > $ cd its-build
> >> > $ ../icedtea-sound-1.0.0/configure --prefix=${install_location}
> >> > $ make
> >> > $ make install
> >> >
> >> > where ${install_location} should be replaced by the prefix where you
> >> > wish to install IcedTea-Sound (default is /usr/local). Depending on
> >> > the prefix selected, the 'make install' step may need root privileges.
> >> >
> >> > Full build requirements and instructions are available in the INSTALL
> >> > file.
> >> >
> >> > Happy hacking!
> >> > --
> >> > Andrew :)
> >> >
> >> > Free Java Software Engineer
> >> > Red Hat, Inc. (http://www.redhat.com)
> >> >
> >> > PGP Key: 248BDC07 (https://keys.indymedia.org/)
> >> > Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07
> >>
> >> Hello Andrew,
> >>
> >> I can't quite get the relation between icedtea-sound and an OpenJDK
> >> built with Icedtea. It seems I don't need icedtea-sound for my Java
> >> app to play sound: I tried tuxguitar [0] and this Oracle test app [1]
> >> that are able to play sound even though I have an OpenJDK + Icedtea
> >> 2.5.1 but **no** icedtea-sound installed.
> >>
> >> Complete version:
> >>
> >> java version "1.7.0_65"
> >> OpenJDK Runtime Environment (IcedTea 2.5.1) (Arch Linux build
> >> 7.u65_2.5.1-5-x86_64)
> >> OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)
> >>
> >> Could you please let me know what I am missing here?
> >>
> >> [0] http://sourceforge.net/projects/tuxguitar/
> >> [1] http://www.oracle.com/technetwork/java/index-139508.html
> >>
> >> Thanks,
> >>
> >> Guillaume
> >>
> >
> > No, you don't. IcedTea-Sound provides additional plugins (well, plugin
> > at the moment, but more to come in future). It's what was
> > --enable-pulse-java
> > in IcedTea for many years, but we've split it out so there aren't multiple
> > copies being maintained over multiple versions of IcedTea.
> >
> > The PulseAudio provider in IcedTea-Sound uses PulseAudio to play
> > sound rather than ALSA, which is what the OpenJDK plugin does. I think,
> > even back when it was in IcedTea, it would be disabled by default, unless
> > explicitly enabled.
> >
> > Hope that helps,
> > --
> > Andrew :)
> >
> > Free Java Software Engineer
> > Red Hat, Inc. (http://www.redhat.com)
> >
> > PGP Key: 248BDC07 (https://keys.indymedia.org/)
> > Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07
> >
>
> Hello Jon, Hello Andrew,
>
> Thanks for this clarification.
>
> So if I understand correctly, icedtea-sound is available – for
> instance – to applications that would explicitly want to use
> Pulseaudio (or, in the future, any other sound provider à la
> Pulseaudio).
Yes, it's additional support on top of OpenJDK. For example, in future, it
may also include support for additional file formats beyond what OpenJDK provides.
>
> I am still a bit puzzled by why OpenJDK does not use it (totally naïve
> question here)? Is it because it would create a dependency on
> pulseaudio rather than Alsa? Or maybe there is already a way to make
> OpenJDK+IcedTea use IcedTea-Sound?
>
I don't really follow. If you have IcedTea-Sound installed and on your classpath,
it will be used:
$ cat TestSoundProviders.java
import javax.sound.sampled.AudioSystem;
import javax.sound.sampled.Mixer;
public class TestSoundProviders
{
public static void main(String[] args)
{
Mixer.Info[] mixers = AudioSystem.getMixerInfo();
for (Mixer.Info mixerInfo : mixers)
{
System.err.println(mixerInfo.getName());
}
}
}
$ java TestSoundProviders
Intel [default]
Intel [plughw:0,0]
Intel [plughw:0,1]
HDMI [plughw:1,3]
Port Intel [hw:0]
Port HDMI [hw:1]
$ java -cp /usr/share/icedtea-sound/icedtea-sound.jar:. TestSoundProviders
PulseAudio Mixer
Intel [default]
Intel [plughw:0,0]
Intel [plughw:0,1]
HDMI [plughw:1,3]
Port Intel [hw:0]
Port HDMI [hw:1]
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07
More information about the distro-pkg-dev
mailing list