Board index FlightGear Support Tools OpenRadar

OpenRadar sound

OpenRadar is a standalone radar screen which connects to the FlightGear multiplayer servers. It is currently being developed.

OpenRadar sound

Postby SurferTim » Thu Jan 03, 2019 3:17 pm

I'm not getting any sound in OpenRadar. No chat, contact, nothing.
No FGCom either. I know FGCom is working because I can hear the transmissions on my ORCAM setup. I can use it like that, but I hear my own transmissions, which is a bit disturbing.

I get this message in the terminal window.
Code: Select all
2019-01-03 09:02:14,289 [AWT-EventQueue-0] [[ INFO] SoundManager [AWT-EventQueue-0]] - Problem to init SoundManager!
java.lang.IllegalArgumentException: Invalid format


Ubuntu 18.04
Dell 7010 i7 16GB RAM.
JDK v8

Any idea what to do?

Edit: If you want to help me test it, I am KSFO_TW at San Francisco Intl.

I also filed a ticket on the sourceforge OpenRadar page.
SurferTim
 
Posts: 54
Joined: Sun Dec 09, 2018 5:49 pm
Location: Miramar Beach, FL
Callsign: N2ST
Version: 2018-3-1
OS: Ubuntu 18.04

Re: OpenRadar sound

Postby a-v-o » Sat Jan 05, 2019 4:44 am

You can disable sound processing by icedtea:

Code: Select all
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:
Code: Select all
#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


SurferTim wrote in Thu Jan 03, 2019 3:17 pm:I also filed a ticket on the sourceforge OpenRadar page.

You can find the same answer in your ticket:
https://sourceforge.net/p/openradar/tickets/2/
a-v-o
 
Posts: 29
Joined: Wed Jan 20, 2016 12:34 am

Re: OpenRadar sound

Postby SurferTim » Sat Jan 05, 2019 12:57 pm

@a-v-o: Thanks. I saw the response on my ticket. I'll test it and post the results.

Edit: The notifications now work. Haven't tested FGCom yet.
SurferTim
 
Posts: 54
Joined: Sun Dec 09, 2018 5:49 pm
Location: Miramar Beach, FL
Callsign: N2ST
Version: 2018-3-1
OS: Ubuntu 18.04

Re: OpenRadar sound

Postby wagnerw » Thu Feb 14, 2019 9:51 pm

The sound API seems to have changed. I have implemented a more recent version to play the sounds. The update is on the share:
https://sourceforge.net/projects/openra ... 20release/

Please confirm that your problem is gone. Thanks!
wagnerw
 
Posts: 280
Joined: Tue Nov 06, 2012 8:35 pm
Callsign: D-W794


Return to OpenRadar

Who is online

Users browsing this forum: No registered users and 0 guests