gqrx with ALSA (NO pulseaudio!) Please help

1,138 views
Skip to first unread message

Gabriele Zaverio

unread,
Jan 22, 2017, 4:53:17 PM1/22/17
to Gqrx SDR
Hi there,

there's a lot of people out there that don't want any pulseaudio *£&! on his system, doing everything fine under ALSA without any problem at all :

So, here comes gqrx - I remember using it smoothly on my ALSA box - and now I see the recent version don't support ALSA anymore out of the box :(

So I'm trying to recompile it without pulseaudio support, and I obtain this weird error:

pa_simple_new() failed: Connection refused

that lock it forever. 

Any help? 

PS please reconsider supporting ALSA again; it was working! Why remove it? :( 


Alexandru Csete

unread,
Jan 22, 2017, 5:43:19 PM1/22/17
to gq...@googlegroups.com
On Sun, Jan 22, 2017 at 10:53 PM, Gabriele Zaverio <asb...@gmail.com> wrote:
> Hi there,
>
> there's a lot of people out there that don't want any pulseaudio *£&! on his
> system, doing everything fine under ALSA without any problem at all :
>
> So, here comes gqrx - I remember using it smoothly on my ALSA box - and now
> I see the recent version don't support ALSA anymore out of the box :(

I'm not sure what you mean with "out of the box" - it has never been
an "out of the box" option, it has been as compile time option.

> So I'm trying to recompile it without pulseaudio support, and I obtain this
> weird error:
>
> pa_simple_new() failed: Connection refused
>
> that lock it forever.

There is nothing weird about that. It says it failed to connect to the
pulseaudio server. So, apparently you didn't compile without
pulseaudio support.

> Any help?
>
> PS please reconsider supporting ALSA again; it was working! Why remove it?
> :(

Nothing has been removed, on the contrary.

If you look in the news.txt you see it even says "Allow user to enter
ALSA device name" so if anything, ALSA support has been improved in
the latest version, not removed. In addition to that, we now also
support Portaudio, so you can also use ALSA through that.

To select audio backend add
-DLINUX_AUDIO_BACKEND=Portaudio

or
-DLINUX_AUDIO_BACKEND=Gr-audio

to the cmake command line.

Alex

Gabriele Zaverio

unread,
Jan 23, 2017, 1:57:17 AM1/23/17
to Gqrx SDR

I'm not sure what you mean with "out of the box" - it has never been
an "out of the box" option, it has been as compile time option.


I remember some precompiled build that worked very fine under ALSA :)

> pa_simple_new() failed: Connection refused
 
There is nothing weird about that. It says it failed to connect to the
pulseaudio server. So, apparently you didn't compile without
pulseaudio support.


weird, I compiled it following some advices about commenting out a line into gqrx.pro :(
 
|If you look in the news.txt you see it even says "Allow user to enter
|ALSA device name" so if anything, ALSA support has been improved in
|the latest version, not removed. In addition to that, we now also 
|support Portaudio, so you can also use ALSA through that.

|To select audio backend add
|-DLINUX_AUDIO_BACKEND=Portaudio
|or
|-DLINUX_AUDIO_BACKEND=Gr-audio
|to the cmake command line. 

AH!
This is not in the readme, so I've not found it! Thank you, I think this solved :D 


Gabriele Zaverio

unread,
Jan 23, 2017, 2:00:21 AM1/23/17
to Gqrx SDR

On Monday, January 23, 2017 at 7:57:17 AM UTC+1, Gabriele Zaverio wrote:

 
|If you look in the news.txt you see it even says "Allow user to enter
|ALSA device name" so if anything, ALSA support has been improved in


also, I had to use "find" to search for news.txt, as is unclear where it is :) maybe putting it on gqrx root dir or adding compiling info in the readme will be better? :)
 
Reply all
Reply to author
Forward
0 new messages