Package: multimon Version: 1.0-5 Severity: important Tags: patch As already noted in 'unixinput.c', 16 bit audio input currently 'works only on little endian systems'. The attached patch seems to fix this for me, causing the 'scope' module to correctly display the audio input and making it at least properly decode AFSK12 packets.
-- System Information: Debian Release: 5.0.3 APT prefers stable APT policy: (500, 'stable') Architecture: powerpc (ppc) Kernel: Linux 2.6.26-local Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages multimon depends on: ii libc6 2.7-18 GNU C Library: Shared libraries ii libx11-6 2:1.1.5-2 X11 client-side library ii sox 14.0.1-2+b1 Swiss army knife of sound processi multimon recommends no packages. multimon suggests no packages. -- no debconf information *** /usr/src/multimon-endian.patch --- ./unixinput.c.orig 2002-12-03 18:49:16.000000000 -0800 +++ ./unixinput.c 2009-10-23 10:04:06.000000000 -0700 @@ -182,13 +182,12 @@ perror("open"); exit (10); } - sndparam = AFMT_S16_LE; /* we want 16 bits/sample signed */ - /* little endian; works only on little endian systems! */ + sndparam = AFMT_S16_NE; /* we want 16 bits/sample signed */ if (ioctl(fd, SNDCTL_DSP_SETFMT, &sndparam) == -1) { perror("ioctl: SNDCTL_DSP_SETFMT"); exit (10); } - if (sndparam != AFMT_S16_LE) { + if (sndparam != AFMT_S16_NE) { fmt = 1; sndparam = AFMT_U8; if (ioctl(fd, SNDCTL_DSP_SETFMT, &sndparam) == -1) { -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org