This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
no sound on opencpn
#1
hi

I try to use opencpn as an anchor alarm with the watch dog plugin.
The plugin works, I can sea the alarm box.

But no sound !

However I have sound on Openplotter (VLC, internet browser...)
Openplotter is up to date, opencpn 5.2.4

on the opencpn option menu / user interface / sound device, I only have : unknow device: 0

if somebody have an idea to fix that I'm interested !!

many thanks by advance

Nicolas
brittany
France
Reply
#2
(2021-06-25, 05:42 PM)Hydranico Wrote: Rpi 4
Reply
#3
hmm... opencpn uses portaudio. I havent tried sound on the pi for a while. Can you confirm that sound output works from other programs like aplay? What does alsamixer show?
Reply
#4
hello

alsamixer shows :

/proc/asound/cards/cards :
0 [b1                    ]: bcm2835_hdmi - bcm2835 HDMI 1
                               bcm2835 HDMI 1
1 [Headphones   ]: bcm2835_headphonbmc2835 Headphones - bcm2835 Headphones
                              bcm2835 Headphones

I have selected the "headphone" soundcard but still no sound on opencpn while it's working on other applications...

But I wonder if the problem doesn't come from the watchdog plugin because when I select a .wav file as an alarm it isn't registered : if I click on ok on the alarm config window and if I edit again the alarm, no sound is selected...

Thanks for your reply !

OK...

the problem was the name of my alarm sound file...
it was rather long and complicated. It have changed it for "Alarm.wav" and it works perfectly.

thanks !!!
Reply
#5
so you are saying having a long complex filename the watchdog cannot play it?

I am the author so what exactly was the filename? I can fix this.
Reply
#6
Hi

I'm sorry but I don't remember the file âme but it was something like a sentence with spaces and maybe spécial letters.

But immediately fixed with a basic file name.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)