> > Error in Soundin
> > Failed to start audio stream
> >
> > Error in Soundin
> > PortAudio says requested soundcard format not supported
Are you starting wsjtx from a terminal window? Are you observing the
"...SetApproximateSampleRate..." message?
wsjtx tries to open the sound input device with sampleRate=48000. If
the device does not support that rate, then error messages are
produced. For example, if I try to use device hw:1,0 directly, then I
see these messages in the terminal window:
I was able to make this device work by creating ~/.asoundrc with
this entry in it, and then telling wsjtx to use device "p148k":
pcm.p148k {
type plug
slave {
pcm "hw:1,0"
format S16_LE
channels 1
rate 48000
}
}
Note that the entry is specific for audio device "hw:1,0". It creates
a new virtual audio device, based on hw:1,0 but supporting the desired
sample rate. You can see the id number of all audio devices by running
alsamixer and hitting function key F6. Use the hw number for your
particular device.
> > Error in Soundin
> > Failed to start audio stream
> >
> > Error in Soundin
> > PortAudio says requested soundcard format not supported
Are you starting wsjtx from a terminal window? Are you observing the ateSampleRate. .." message?
"...SetApproxim
wsjtx tries to open the sound input device with sampleRate=48000. If
the device does not support that rate, then error messages are
produced. For example, if I try to use device hw:1,0 directly, then I
see these messages in the terminal window:
Expression 'SetApproximate SampleRate( pcm, hwParams, sr )' failed in alsa/pa_ linux_alsa. c', line: 1968 mponent_ InitialConfigur e( &self->capture, alsa/pa_ linux_alsa. c', line: 2643 Configure( stream, inputParameters, alsa/pa_ linux_alsa. c', line: 2767
'src/hostapi/
Expression 'PaAlsaStreamCo
inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in
'src/h
ostapi/
Expression 'PaAlsaStream_
outputParameters, sampleRate, framesPerBuffer, &inputLatency,
&outputLatency, &ho
stBufferSizeMode )' failed in 'src/hostapi/
I was able to make this device work by creating ~/.asoundrc with
this entry in it, and then telling wsjtx to use device "p148k":
pcm.p148k {
type plug
slave {
pcm "hw:1,0"
format S16_LE
channels 1
rate 48000
}
}
Note that the entry is specific for audio device "hw:1,0". It creates
a new virtual audio device, based on hw:1,0 but supporting the desired
sample rate. You can see the id number of all audio devices by running
alsamixer and hitting function key F6. Use the hw number for your
particular device.
I hope that this helps you.
-John AC6SL