diff -Nru wsjt-9.3.r2792+dfsg/debian/changelog wsjt-9.3.r2792+dfsg/debian/changelog --- wsjt-9.3.r2792+dfsg/debian/changelog 2013-02-05 15:05:10.000000000 +0000 +++ wsjt-9.3.r2792+dfsg/debian/changelog 2013-02-13 20:30:47.000000000 +0000 @@ -1,3 +1,10 @@ +wsjt (9.3.r2792+dfsg-2) unstable; urgency=low + + * Steve AI4QR patch allows 1 channel soundcard + * wsjt.desktop Categories:AudioVideo;Audio;HamRadio; + + -- John T. Nogatch Wed, 13 Feb 2013 12:27:10 -0800 + wsjt (9.3.r2792+dfsg-1) unstable; urgency=low * Update from upstream svn diff -Nru wsjt-9.3.r2792+dfsg/debian/patches/audio_1ch.patch wsjt-9.3.r2792+dfsg/debian/patches/audio_1ch.patch --- wsjt-9.3.r2792+dfsg/debian/patches/audio_1ch.patch 1970-01-01 00:00:00.000000000 +0000 +++ wsjt-9.3.r2792+dfsg/debian/patches/audio_1ch.patch 2013-02-13 20:40:37.000000000 +0000 @@ -0,0 +1,24 @@ +Description: audio 1 channel +Author: Steve Conklin + + Allows for soundcard with only 1 channel + . + +--- + +--- wsjt-9.3.r2792+dfsg.orig/jtaudio.c ++++ wsjt-9.3.r2792+dfsg/jtaudio.c +@@ -253,6 +253,13 @@ int jtaudio_(int *ndevin, int *ndevout, + // Test if this configuration actually works, so we do not run into an ugly assertion + err_open_in = Pa_IsFormatSupported(&inputParameters, NULL, dSampleRate); + ++// A single input channel works also, and some interfaces (Rigblaster Advantage) only have one ++ if (err_open_in) { ++ printf("device %d failed a request for two channels, trying with one channel\n", ndevice_in); ++ inputParameters.channelCount = 1; ++ err_open_in = Pa_IsFormatSupported(&inputParameters, NULL, dSampleRate); ++ } ++ + if (err_open_in == 0) { + err_open_in = Pa_OpenStream( + &instream, //address of stream diff -Nru wsjt-9.3.r2792+dfsg/debian/patches/desktop_categories.patch wsjt-9.3.r2792+dfsg/debian/patches/desktop_categories.patch --- wsjt-9.3.r2792+dfsg/debian/patches/desktop_categories.patch 1970-01-01 00:00:00.000000000 +0000 +++ wsjt-9.3.r2792+dfsg/debian/patches/desktop_categories.patch 2013-02-13 20:39:13.000000000 +0000 @@ -0,0 +1,16 @@ +Description: wsjt.desktop categories +Author: John T. Nogatch + + Changed wsjt.desktop categories to AudioVideo;Audio;HamRadio + . + +--- + +--- wsjt-9.3.r2792+dfsg.orig/wsjt.desktop ++++ wsjt-9.3.r2792+dfsg/wsjt.desktop +@@ -6,4 +6,4 @@ Exec=wsjt + Icon=wsjt + Terminal=true + Type=Application +-Categories=Utility;Application; ++Categories=AudioVideo;Audio;HamRadio; diff -Nru wsjt-9.3.r2792+dfsg/debian/patches/series wsjt-9.3.r2792+dfsg/debian/patches/series --- wsjt-9.3.r2792+dfsg/debian/patches/series 2013-02-05 20:46:25.000000000 +0000 +++ wsjt-9.3.r2792+dfsg/debian/patches/series 2013-02-13 20:37:37.000000000 +0000 @@ -11,3 +11,5 @@ tmoonsub.patch CFLAGS.patch autoconf.patch +audio_1ch.patch +desktop_categories.patch