Bug#584605: Patch attached allows audacity to run on my system

Dave Witbrodt dawitbro at sbcglobal.net
Sun Jun 27 04:26:10 UTC 2010


Package: audacity
Version: 1.3.12-3+fix04
Severity: normal


(Please ignore the "Version" string above -- it's just my local build.)

The patch attached, small as it is, seems to give me a fully-functional
'audacity' with my troublesome hardware.  At the very least, I think we
have learned that success calling snd_mixer_selem_is_enum_capture() does
not guarantee snd_mixer_selem_get_enum_items() will not fail, and
upstream needs to check return values from library functions before
using those values.

This will be my last unprompted message to this bug report, but if more
information is desired -- either from the Debian team, or from upstream
-- just let me know.  I have run 'reportbug' with options to attach two
files:  the first is the patch that fixes audacity; the second is a 48kB
OGG file with proof that I can capture input from my bass using the EMU
card's inputs and process it with 'audacity'.  (Yessssss!)  If anything
goes wrong with the attachments, I'll try following up using another
method.  (For reference, the patch applies against Debian version
1.3.12-3.)

Since the 'audacity' upstream does not allow individuals to create their
own Bugzilla accounts, and I doubt that I'll be touching much 'audacity'
code in the near future, I was hoping that one of you on the Debian team
could use your own connections with upstream to pass along what I have
learned.  Point them at this bug report, and make it clear that they can
contact me directly if they want to know more about my hardware or my
experience with this bug.


Now that I've looked at some ALSA-related code, I consider this an
opportunity to look into alsalib more.  I want to find out exactly why
audacity 1.3.7 works and 1.3.12 fails.  I'll begin by copying parts of
the code from open_mixer(), where it enumerates the sound elements
discovered by alsalib, but simply have it print what it discovers
instead of saving the info to an array.  But none of that has anything
to do with this bug report....


Thanks, and HTH,
Dave W.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 04-open_mixer-workaround.patch
Type: text/x-c
Size: 1182 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20100627/76830e05/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: success.ogg
Type: application/ogg
Size: 49315 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20100627/76830e05/attachment-0001.ogx>


More information about the pkg-multimedia-maintainers mailing list