Comment 13 for bug 491784

Revision history for this message
Oleksij Rempel (olerem) wrote : Re: [Bug 491784] Re: Sound does not work with openjdk

Am Sonntag, den 03.01.2010, 18:37 +0000 schrieb Mohsen Saboorian:
>
> question: does this problem also happens with .ogg, .mp3 and .spx
> files.
> I want to know if this relates to jlayer API, or other libraries.

Hmm... josm (javaopenstreetmap) accept only wav format and it is
working. this mean this will just send it to SourceDataLine without
decoding. I do not think *SPI make any difference.

This is source of player used by josm:
http://josm.openstreetmap.de/browser/trunk/src/org/openstreetmap/josm/tools/AudioPlayer.java?rev=1865

i noticed thay restrict output format in some way - see lines 287-291:
if (speed * bytesPerSecond > 256000.0) {
 speed = 256000 / bytesPerSecond;
...
may be this is the reason.

Try to get some more info from pulse.
set log-level to debug in /etc/pulse/daemon.conf