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.
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
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: josm.openstreet map.de/ browser/ trunk/src/ org/openstreetm ap/josm/ tools/AudioPlay er.java? rev=1865
http://
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. daemon. conf
set log-level to debug in /etc/pulse/