Le 30/08/2014 13:47, Pierre Labastie a écrit :
> Le 29/08/2014 17:38, Bruce Dubbs a écrit :
>> Pierre Labastie wrote:
>>> Hi all,
>>>
>>> I am almost ready to release the IcedTea-Sound page.
>>> I want to make sure about two things:
>>> - is "XII-Multimedia->39. Multimedia Libraries and Drivers"
>>> the right place to put it, and if not what would you advise
>>> (maybe the Java sub chapter)?
>>
>> Is it a library or a program? If a library, put in 'Multimedia Libraries and
>> Drivers', otherwise put in 'Audio Utilities'.
>>
>>> - is it OK to have it for 7.6 or should I wait?
>>
>> If it's ready now, 7.6 is fine.
>>
>> -- Bruce
> It's a library and a jar file, so I guess Multimedia Libraries and Drivers is
> OK.
>
> Now I need some help. Problem is that the java sound demo from Oracle, and
> applets with sound all give some sound out of the speakers, but I have _not_
> installed icedtea-sound yet (only to DESTDIR).
>
> How could I really test icedtea-sound?
>
> Pierre
>
Made some progress. You have to indicate that you want to use the pulseaudio
provider in ${JAVA_HOME}/jre/lib/sound.properties, by adding:
--------------
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
--------------
But this is not enough. You need to:
-------
mv ${JAVA_HOME}/jre/lib/<arch>/libjsoundalsa.so{.nouse}
ln -s ../../share/icedtea-sound/icedtea-sound.jar ${JAVA_HOME}/jre/lib/ext
ln -s ../libicedtea-sound.so ${JAVA_HOME}/jre/lib/ext
${JAVA_HOME}/jre/lib/<arch>
--------
Not sure yet, because I have a problem with pulseaudio itself (see my message
to support).
Regards
Pierre
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page