sm0svx / svxlink

Advanced repeater system software with EchoLink support for Linux including a GUI, Qtel - the Qt EchoLink client
http://svxlink.org/
Other
435 stars 173 forks source link

qtel and pulse audio #28

Open sm0svx opened 10 years ago

sm0svx commented 10 years ago

Reported by forrestw517 on 10 Mar 2012 04:45 UTC trying to use a commercial mic with preamp works fine with all other linux audio programs such as sound recorder, audacity etc. but not correctly with qtel. since qtel wants alsa as the default how can this work with either pulse or oss?

sm0svx commented 10 years ago

Commented by sm0svx on 2 Sep 2012 05:50 UTC Qtel support OSS by specifying the audio device as oss:/dev/dsp. Pulseaudio is not supported at this moment.

KI5JYD commented 5 years ago

@sm0svx this issue has been open for 4+ years. PulseAudio is default on many Linux distros. Why have you not implemented this yet?

Without PulseAudio support, Qtel is useless. Might as well install an Android emulator and get the EchoLink app installed... :(

Only if I knew how to port old OSS/ALSA support to PulseAudio, I would love to submit a patch. But I don't. My only alternative is a Windows VM running the official EchoLink client...

73, KI5JYD

KI5JYD commented 5 years ago

A quick Google helped me here:

#!/bin/bash
# Kinda-sorta PulseAudio compatibility
# source: https://ubuntuforums.org/showthread.php?t=1606849
# 73 KI5JYD
arecord -r 96000 -D pulse -c 1 > /dev/null 2>&1 &
padsp /usr/bin/qtel
killall arecord

Source: https://ubuntuforums.org/showthread.php?t=1606849

This worked like a charm for me. But it's a slight annoyance. It took me 40 minutes to find that answer. I just want to hear W1AW's bulletins! (And since PulseAudio is default in many i386/x86_64 Linux distros now, Raspbian still uses ALSA [Ubuntu MATE Pi uses PulseAudio], such an solution is a difficult one to tackle, even for someone like me.)

73, KI5JYD