Sound support

Hello,

I’m running a java app that plays music on two systems, both running openSUSE 10.2

The problem I have is that one of the two occasionally gives me the following message, before aborting:

Error: javax.sound.sampled.LineUnavailableException: line with format PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not supported.

The audio format is reported as:
PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian

In the other system everything works fine.

I don’t know what the difference between the two systems is, but I suspect that either my sound card is not set up correctly or there is some setting I can change throught software.

If anyone can point me in the right direction I would be very grateful.

Thanks,

Abe

I know nothing about java. …

What you could do is compare rpms between the two PCs. Copy and paste into a gnome-terminal / konsole in each PC:
rpm -q amarok vlc xvid w32codec-all
rpm -qa | grep java
rpm -qa | grep xine
rpm -qa | grep layer
rpm -qa | grep ffmpeg
rpm -qa | grep gstreamer

and compare the results of the two pcs … any differences?

Hi,

Thanks for the pointer. I can see several differences between the two machines but they are mostly minor differences in version and I doubt that these are the reason for the exception I am getting.

I had thought that there was a way to configure the sound card, through YaST for example, so that it would allow little-endian sound files. Apparently I was wrong, so I will try my luck with the Java folk.

Thanks,

Abe