[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#284488: marked as done (linpsk: Doesn't open audio device with fixed sampling rate)



Your message dated Wed, 26 Dec 2007 11:17:04 +0000
with message-id <E1J7UG0-0006MF-Bx@ries.debian.org>
and subject line Bug#284488: fixed in linpsk 0.8.1-4
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: linpsk
Version: 0.6.2-3
Severity: normal
Tags: patch

I have a Sony VAIO R505EL laptop with an AC97 (snd_intel8x0) audio device.
This was a fixed sample rate of 48K.  When 'linpsk' is configured to take
audio input in real-time, it fails when the 'Rx' button is clicked with
a pop-up window saying "Not enough memory for requested Fragmentsize".

It would be nice if 'linpsk' could choose a suitable sampling rate by
itself.  The attached patches (for 0.6.2 and 0.7.1) allows this to be done
manually via the environmental variable "AUDIORATE" (or whatever else is
customarily used for this.
				-- KD6PAG

-- System Information:
Debian Release: 3.1
  APT prefers experimental
  APT policy: (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-rc3
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages linpsk depends on:
ii  libc6                     2.3.2.ds1-19   GNU C Library: Shared libraries an
ii  libqt2                    3:2.3.1-22     Qt GUI Library (runtime version).
ii  libstdc++2.10-glibc2.2    1:2.95.4-22    The GNU stdc++ library
ii  xlibs                     4.3.0.dfsg.1-8 X Window System client libraries m

-- no debconf information
-------------------------------------------------------------------------------
--- csound.cpp.orig	2001-12-03 13:40:50.000000000 -0800
+++ csound.cpp	2004-12-06 09:21:49.000000000 -0800
@@ -22,8 +22,9 @@
 {
 audioformat=AFMT_S16_LE; // 16 Bit little Endian
 //audioformat=AFMT_U8;
+char *ratestr = getenv("AUDIORATE");
 mode=0;	//Mono
-speed=11025;
+speed=(ratestr ? atoi(ratestr) : 11025);
 fragsize=BUF_SIZE;
 started=FALSE;
 
-------------------------------------------------------------------------------
--- linpsk-0.7.1/linpsk/csound.cpp.orig	2003-05-02 09:48:11.000000000 -0700
+++ linpsk-0.7.1/linpsk/csound.cpp	2004-12-06 10:02:11.000000000 -0800
@@ -25,6 +25,7 @@
 
 CSound::CSound(int ptt = -1):Input(ptt)
 {
+char *ratestr = getenv("AUDIORATE");
 #ifdef LINPSK_FOR_MAC
 audioformat=ESD_BITS16; // 16 Bit little Endian
 mode=ESD_MONO;	//Mono
@@ -32,7 +33,7 @@
 audioformat=AFMT_S16_LE; // 16 Bit little Endian
 mode=0;	//Mono
 #endif
-speed=11025;
+speed=(ratestr ? atoi(ratestr) : 11025);
 fragsize=BUF_SIZE;
 started=FALSE;
 audio_buffer=0;
===============================================================================


--- End Message ---
--- Begin Message ---
Source: linpsk
Source-Version: 0.8.1-4

We believe that the bug you reported is fixed in the latest version of
linpsk, which is due to be installed in the Debian FTP archive:

linpsk_0.8.1-4.diff.gz
  to pool/main/l/linpsk/linpsk_0.8.1-4.diff.gz
linpsk_0.8.1-4.dsc
  to pool/main/l/linpsk/linpsk_0.8.1-4.dsc
linpsk_0.8.1-4_i386.deb
  to pool/main/l/linpsk/linpsk_0.8.1-4_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 284488@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joop Stakenborg <pa3aba@debian.org> (supplier of updated linpsk package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 26 Dec 2007 11:50:04 +0100
Source: linpsk
Binary: linpsk
Architecture: source i386
Version: 0.8.1-4
Distribution: unstable
Urgency: low
Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
Changed-By: Joop Stakenborg <pa3aba@debian.org>
Description: 
 linpsk     - Program for operating PSK31/RTTY modes with X GUI
Closes: 284488 389051
Changes: 
 linpsk (0.8.1-4) unstable; urgency=low
 .
   * Make aptitude render the description nicely. Closes: #389051.
   * Looking at #284488 I found that the source has changed to much
     to be able to apply the supplied patch. Please re-submit against
     recent source code or contact upstream. Closes: #284488.
   * Menu transition.
   * Update standards version.
   * Lintian fixes.
   * Change build dependencies to include libfftw3-dev, not fftw3-dev.
Files: 
 8cca4c850aa21e228c44ec645f9963da 775 hamradio optional linpsk_0.8.1-4.dsc
 029d3e6acd2a6172b19a566a12598c1e 26832 hamradio optional linpsk_0.8.1-4.diff.gz
 532678b23b148a0f22de6560d0a7a4ed 173036 hamradio optional linpsk_0.8.1-4_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHcjMw/CqtjGLxpX8RAnWwAJ42IFaXccNiJIhWdAOqWYfr/ZGlBgCdFsJU
SOYPyd5VKseCBWC5nEhtAJI=
=ppBa
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: