Menu

#2 OpenRadar sound

closed
nobody
sound (1)
2020-10-17
2019-01-04
Tim Dicus
No

I'm having problems with OpenRadar sound. When I start OpenRadar, I get this in the terminal:

2019-01-04 07:16:02,395 [AWT-EventQueue-0] [[ INFO] SoundManager [AWT-EventQueue-0]] - Problem to init SoundManager!
java.lang.IllegalArgumentException: Invalid format
    at org.classpath.icedtea.pulseaudio.PulseAudioDataLine.createStream(PulseAudioDataLine.java:142)
    at org.classpath.icedtea.pulseaudio.PulseAudioDataLine.open(PulseAudioDataLine.java:99)

...and on and on.
I use Ubuntu 18.04 with openjdk-8. Flightgear sound works great. OpenRadar has no sound (alerts or FGcom).

Discussion

  • Andreas Vogel

    Andreas Vogel - 2019-01-05

    You can disable sound processing by icedtea:

    sudo bash
    nano /etc/java-8-openjdk/sound.properties
    

    comment out lines with icedtea
    remove comment character from lines with com.sun.media.sound
    Your file should then look like:

    #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
    
    javax.sound.sampled.Clip=com.sun.media.sound.DirectAudioDeviceProvider
    javax.sound.sampled.Port=com.sun.media.sound.PortMixerProvider
    javax.sound.sampled.SourceDataLine=com.sun.media.sound.DirectAudioDeviceProvider
    javax.sound.sampled.TargetDataLine=com.sun.media.sound.DirectAudioDeviceProvider
    
     

    Last edit: Andreas Vogel 2019-01-05
  • Tim Dicus

    Tim Dicus - 2019-01-05

    Thanks! That cured the notifications. I haven't tested FGCom yet.

     
  • Wolfram Wagner

    Wolfram Wagner - 2019-02-20

    The latest update fixed this issue. Reason behind was a changed sound api. Please replace your JAR, if you have it installed already.

     
  • Wolfram Wagner

    Wolfram Wagner - 2020-10-17
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB