Results 1 to 3 of 3

Thread: Sound support

  1. #1

    Default Sound support


    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.



  2. #2
    Join Date
    Mar 2008
    Phuket, Thailand
    Blog Entries

    Default Re: Sound support

    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?

  3. #3

    Default Re: Sound support


    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.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts