Package: audacity
Version: 1.3.5-1
Severity: important
Tags: patch

If you start Audacity and don't change the project rate, it will display 
what the default is, but actually work at 8000Hz. This affects the 
creation of new tracks, exporting, etc.

As soon as you change the project rate using the combo box at bottom 
left, it works correctly. Using Preferences to change the default 
project rate, changes the displayed value in the combo box but resets it 
internally to 8000Hz.

Patch attached. I have also reported this to upstream.




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

Kernel: Linux 2.6.26-rc2 (PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages audacity depends on:
ii  libasound2                  1.0.16-2     ALSA library
ii  libc6                       2.7-11       GNU C Library: Shared libraries
ii  libexpat1                   1.95.8-4     XML parsing C library - runtime li
ii  libflac++6                  1.2.1-1.2    Free Lossless Audio Codec - C++ ru
ii  libflac8                    1.2.1-1.2    Free Lossless Audio Codec - runtim
ii  libgcc1                     1:4.3.0-4    GCC support library
ii  libglib2.0-0                2.16.3-2     The GLib library of C routines
ii  libgtk2.0-0                 2.12.9-4     The GTK+ graphical user interface 
ii  libid3tag0                  0.15.1b-10   ID3 tag reading library from the M
ii  libjack0                    0.109.2-3    JACK Audio Connection Kit (librari
ii  libmad0                     0.15.1b-3    MPEG audio decoder library
ii  libogg0                     1.1.3-3      Ogg Bitstream Library
ii  libsndfile1                 1.0.17-4     Library for reading/writing audio 
ii  libsoundtouch1c2            1.3.1-2      sound stretching library
ii  libstdc++6                  4.3.0-4      The GNU Standard C++ Library v3
ii  libvorbis0a                 1.2.0.dfsg-3 The Vorbis General Audio Compressi
ii  libvorbisenc2               1.2.0.dfsg-3 The Vorbis General Audio Compressi
ii  libvorbisfile3              1.2.0.dfsg-3 The Vorbis General Audio Compressi
ii  libwxbase2.6-0              2.6.3.2.2-2  wxBase library (runtime) - non-GUI
ii  libwxgtk2.6-0               2.6.3.2.2-2  wxWidgets Cross-platform C++ GUI t

audacity recommends no packages.

-- no debconf information
--- audacity-1.3.5/src/toolbars/SelectionBar.cpp~	2008-05-17 16:49:08.000000000 +0100
+++ audacity-1.3.5/src/toolbars/SelectionBar.cpp	2008-05-17 16:50:08.909032646 +0100
@@ -449,12 +449,8 @@
 
 void SelectionBar::OnRate(wxCommandEvent & WXUNUSED(event))
 {
-   int nSel = mRateBox->GetSelection();
    wxString sValue;
-   if (nSel != -1) // one of the existing choices
-      sValue = mRateBox->GetString(nSel);
-   else
-      sValue = mRateBox->GetValue();
+   sValue = mRateBox->GetValue();
 
    if (sValue.ToDouble(&mRate) && // is a numeric value
          (mRate != 0.0))

Reply via email to