|
From: Giuseppe C. <giu...@un...> - 2017-02-23 16:05:47
|
Instead of installing pavucontrol and abandon OSS, I preferred to fix the bug ;) It was a matter of missing parentheses around a conditional expression in file src/soundcard/sound.cxx See patch below (also in attachment) 73 de iz1qze Giuseppe --- src/soundcard/sound.cxx.orig 2017-02-23 16:08:04.778054980 +0100 +++ src/soundcard/sound.cxx 2017-02-23 16:11:03.336049031 +0100 @@ -765,8 +765,7 @@ src_buffer[i] = ibuff[i] / MAXSC; for (size_t i = 0; i < buffersize; i++) - buffer[i] = src_buffer[2*i + - progdefaults.ReverseRxAudio ? 1 : 0]; + buffer[i] = src_buffer[2*i + (progdefaults.ReverseRxAudio ? 1 : 0)]; #if USE_SNDFILE if (capture) @@ -800,8 +799,7 @@ numread = rx_src_data->output_frames_gen; for (int i = 0; i < numread; i++) - buffer[i] = snd_buffer[2*i + - progdefaults.sig_on_right_channel ? 1 : 0]; + buffer[i] = snd_buffer[2*i + (progdefaults.sig_on_right_channel ? 1 : 0)]; return numread; On Wed, 22 Feb 2017, Giuseppe Ciaccio wrote: > I have also installed FLTK from sources, following instructions at > https://fedorahosted.org/fldigi/wiki/Documentation/HOWTO/BuildOnDebian, > nothing changes. But now I know more about this malfunction. > > The problem depends on the selected software interface to the audio device. > This release of Fldigi works properly when Pulseaudio is selected, whereas it > is broken whith OSS. So it seems to be a bug in the fldigi/OSS interfacing. > > The reason why I prefer OSS is that it's more plug-and-play: when I insert > the additional USB soundcard into my laptop for using with my rig, the > running Pulseaudio server seems to remain unaware of it; but a new device > /dev/dsp1 is instantly created under OSS, and fldigi can select and use it > quickly. Another drawback is that, each time the Pulseaudio server is > started, the Pulseaudio socket is created under a fresh /tmp/pulse-XXXXXX > directory, where XXXXXX is a random string that must be copied each time into > fldigi config. > > > 73 de iz1qze Giuseppe > > On Wed, 22 Feb 2017, Mauri Niininen wrote: > >> >> Does the problem appear only when using CW modem, or with PSK31 and others >> as well? >> >> Br Mauri >> >> >> On Wed, Feb 22, 2017, 10:29 Larry Levesque <ka...@gm...> wrote: >> I believe the instructions call for fltk to be build from >> source. >> I am not pointing to that as your issue, just noting it. >> >> I am compiling that version on my PI3 right now and will let you >> know my results. >> >> On Wed, Feb 22, 2017 at 03:28:46PM +0100, Giuseppe Ciaccio >> wrote: >> > On Wed, 22 Feb 2017, Ed wrote: >> > >> > > On Wed, 22 Feb 2017 14:06:19 +0100 (CET) >> > > Giuseppe Ciaccio <giu...@un...> wrote: >> > > >> > >> Hello again, >> > >> >> > >> I've installed fldigi-3.23.22.8, selected the CW modem, >> turned on the >> > >> receiver, tuned the receiver to a band with some audible cw >> signals. >> > >> But the waterfall fails to show the signals, and instead >> shows a >> > >> exponentially-decaying band of palette colors. See >> attached >> > >> screenshot. With the older release of fldigi (3.20.21), >> however, >> > >> things works as usual. Help will be appreciated... >> > >> >> > >> Thank you, >> > >> >> > >> iz1qze Giuseppe >> > > >> > > You either have the wrong sound card selected, or your CW >> Sweetspot >> > > needs to be set to 2500. >> > > >> > > Did you follow this : >> > > >> > > >> https://fedorahosted.org/fldigi/wiki/Documentation/HOWTO/BuildOnDebian >> > >> > Sound card is selected correctly. I have two ones, and when I >> switch to the other (or when I switch off the receiver) the >> waterfall becomes blank so the program is "hearing" something >> indeed. >> > >> > Setting CW sweet spot to 2500 did not help (and was unneeded >> with fldigi 3.20). >> > >> > I'm using Slackware 14.1. The installation procedure for >> fldigi was as usual: ./configure && make && make install >> > >> > (fltk 1.3 was previously installed as a prebuilt Slackware >> package). >> > >> > > >> > > Ed W3NR >> > > >> > >> >--------------------------------------------------------------------------- >> --- >> > > Check out the vibrant tech community on one of the world's >> most >> > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> > > _______________________________________________ >> > > fldigi-alpha mailing list >> > > fld...@li... >> > > https://lists.sourceforge.net/lists/listinfo/fldigi-alpha >> > > >> > >> >--------------------------------------------------------------------------- >> --- >> > Check out the vibrant tech community on one of the world's >> most >> > engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> > _______________________________________________ >> > fldigi-alpha mailing list >> > fld...@li... >> > https://lists.sourceforge.net/lists/listinfo/fldigi-alpha >> >> -- >> Larry Levesque | Eclipse System Administrator >> Granite City Electric Supply, Co. >> 16 Rose Lane Keene, NH. 03431 >> Direct: 617-221-1551 Cell: 857-753-1407 >> >> --------------------------------------------------------------------------- >> --- >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> fldigi-alpha mailing list >> fld...@li... >> https://lists.sourceforge.net/lists/listinfo/fldigi-alpha >> >> > |