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

Bug#496509: soundmodem: Tx switching in ALSA mode is broken.



Package: soundmodem
Version: 0.10-5
Severity: important

When soundmodem is configured in ALSA mode returns
"snd_pcm_start: file descriptor in bad state" on TX switching.

RX works fine.

I solved adding snd_pcm_prepare in soundcard/alsaio.c in 
function iotxstart.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages soundmodem depends on:
ii  libasound2          1.0.16-2             ALSA library
ii  libatk1.0-0         1.22.0-1             The ATK accessibility toolkit
ii  libaudiofile0       0.2.6-7              Open-source version of SGI's audio
ii  libc6               2.7-13               GNU C Library: Shared libraries
ii  libcairo2           1.6.4-6              The Cairo 2D vector graphics libra
ii  libglib2.0-0        2.16.4-2             The GLib library of C routines
ii  libgtk2.0-0         2.12.11-3            The GTK+ graphical user interface 
ii  libpango1.0-0       1.20.5-1             Layout and rendering of internatio
ii  libxml2             2.6.32.dfsg-2+lenny1 GNOME XML library

soundmodem recommends no packages.

soundmodem suggests no packages.

-- no debconf information
362c362,364
< 
---
>         if (snd_pcm_prepare(audioio->playback_handle) < 0) {
>                 logprintf(MLOG_ERROR, "Error preparing tx.\n");
>         }

Reply to: