On 09/04/2015 14:47, Tomáš Klinkovský wrote:
>
> Hi Bill,
>
Hi Tomáš,
>
>
> thank you for your answer. It seems that the problem on the ASUS EEE 
> is somewhere between pulseaudio and WSJT-X, perhaps in some library used.
>
The ASUS EEE hardware is very limited, this may be the problem related 
to some missing feature in the audio sub-system.
>
>
> > > I tried to build wsjtx-1.4.0-rc5 from sources, the build was 
> successful but
>
> > > the execution fails with following message boxes displayed:
> > > - An error opening the audio output device has occurred.
> > > - An error opening the audio input device has occurred.
> > > - Requested output audio format is not supported on device.
>
This error is ultimately coming from the Qt class QAudioDeviceInfo, this 
class is used to enumerate the available audio devices using 
QAudioDeviceInfo::availableDevices(QAudio::AudioOutput) in the case of 
output devices. The resulting list of devices is what you see in 
"Settings->Audio".

For the output device you choose 
QAudioDeviceInfo::isFormatSupported(format) is called using the 
following strategy:

firstly the preferred device format is selected 
(QAudioDeviceInfo::preferredFormat()),
then the following parameters are set:

number of channels = 2 if you select Left or Right or 1 if you select 
Mono - you van only select L/R or Both if at least 2 channels are provided

Codec = "audio/pcm" which is guaranteed by all audio back ends

sample rate = 48000 should be available from your info

sample type = signed int
sample size = 16 bit

This is where the error is occurring, I suspect a missing plugin.

> > There is a 32-bit Debian installer package for WSJT-X v1.4.0-rc5 linked
> > from Joe's WSJT-X web page or you can download it from SourceForge ...
>
>
> I don't need ready-to-use packages, I am able to build any version 
> from the source code, I have the SVN repository content checked out 
> and all dependencies installed so both cmake and make succeed.
>
I understand but at least it is an easy data point to check just in case 
there has been a build issue.
>
>
> > > Is there any difference between 1.1 and 1.4 in the handling of audio
>
> > > devices or the selected sampling frequency?
>
> > Yes, v1.4.0 uses Qt for audio and that in turn uses pulseaudio. If you
> > have followed the instructions on installing dependencies in the User
> > Guide, you should have the necessary components.
> > A good test of the pulseaudio setup is to use pavucontrol utility to
> > check the available devices.
>
>
> The pavucontrol utitity shows nothing strange.
>
>
> > > tomas@eee:~$ grep rates /proc/asound/card0/codec#0
> > > rates [0x560]: 44100 48000 96000 192000
> > > rates [0x560]: 44100 48000 96000 192000
> > > rates [0x560]: 44100 48000 96000 192000
> > > rates [0x5e0]: 44100 48000 88200 96000 192000
> > > rates [0x560]: 44100 48000 96000 192000
> > > rates [0x560]: 44100 48000 96000 192000
> > WSJT-X requires 48 kHz audio streams, your codecs will be fine for that.
>
>
> Exactly. Codecs are available, pulseaudio is OK, the build is 
> successful but the program is unable to open the audio device. 
> Possibly a problem in the QT audio library?
>
I doubt there is an issue with the Qt multimedia library, it is well tested.
>
>
> Please note that the only program working on that ASUS EEE with Ubuntu 
> 14.10 is the WSJT-X 1.1 installed with apt-get. Even the WSJT 
> installed with apt-get doesn't work.
>
>
> I am able to add messages to the source code in order to find more 
> details about the problem. I would just appreciate some hint about 
> what to check and where.
>
The first thing to check is that you have the Qt audio plugin installed, 
this is in the package libqt5multimedia5-plugins .
>
>
> Thank you
>
>
> Tomáš
>
> OK2TKB
>
>
73
Bill
G4WJS.

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to