icedtea-sound and java9
Andrew Hughes
gnu.andrew at redhat.com
Tue Nov 7 22:21:16 UTC 2017
On 7 November 2017 at 22:00, Omair Majid <omajid at redhat.com> wrote:
> * Fridrich Strba <fridrich.strba at suse.com> [2017-11-07 10:42]:
snip...
>
>> Concerning the pulseaudio.properties, it looks like it might have used
>> some icedtea modification/patch. But I didn't find any place it would be
>> parsed in jdk9 or in icedtea-3.6.0. Maybe just my eyes, maybe it is not
>> used.
>
> That sounds right to me too. I don't recall ever implementing a
> pulseaudio.properties. Maybe it came out from the splitting of icedtea6
> (sound.properties) and icedtea-sound?
>
> Thanks,
> Omair
>
> --
> PGP Key: 66484681 (http://pgp.mit.edu/)
> Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F 6648 4681
IcedTea 3.x never carried the pulseaudio provider and I don't know how this
area has changed in OpenJDK 9.
It's still a part of the last IcedTea 1.x release, 1.13.13. A cursory
look suggests
I was right and it was originally a sound.properties patch which
became disembodied
when we moved to IcedTea-Sound.
$ cat ../icedtea6/patches/pulse-soundproperties.patch
--- openjdk/jdk/src/share/lib/sound.properties 2008-08-28
04:15:18.000000000 -0400
+++ openjdk/jdk/src/share/lib/sound.properties 2008-10-03
16:59:21.000000000 -0400
@@ -37,3 +37,13 @@
# Specify the default Receiver by provider and name:
# javax.sound.midi.Receiver=com.sun.media.sound.MidiProvider#SunMIDI1
#
+
+# javax.sound.sampled.Clip=org.classpath.icedtea.pulseaudio.PulseAudioMixerProvider
+# javax.sound.sampled.Port=org.classpath.icedtea.pulseaudio.PulseAudioMixerProvider
+# javax.sound.sampled.SourceDataLine=org.classpath.icedtea.pulseaudio.PulseAudioMixerProvider
+# javax.sound.sampled.TargetDataLine=org.classpath.icedtea.pulseaudio.PulseAudioMixerProvider
+
+javax.sound.sampled.Clip=com.sun.media.sound.DirectAudioDeviceProvider
+javax.sound.sampled.Port=com.sun.media.sound.PortMixerProvider
+javax.sound.sampled.SourceDataLine=com.sun.media.sound.DirectAudioDeviceProvider
+javax.sound.sampled.TargetDataLine=com.sun.media.sound.DirectAudioDeviceProvider
IcedTea-Sound really needs an install phase to handle stuff like that.
As I say, I'll look into that
when I'm not in the middle of a security update :-)
--
Andrew :)
Senior Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Web Site: http://fuseyism.com
Twitter: https://twitter.com/gnu_andrew_java
PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04 C5A0 CFDA 0F9B 3596 4222
More information about the distro-pkg-dev
mailing list