Summary: | media-sound/audacity-1.3.4-r1 fails at alsa recording/playback due to broken internal portaudio snapshot | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexandre Rostovtsev (RETIRED) <tetromino> |
Component: | Current packages | Assignee: | Professional Audio Applications Maintainers <proaudio> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo, jakub |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=458206 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 210415 | ||
Attachments: |
Ebuild with newer portaudio snapshot
portaudio-cvs-rev1.7.patch (for above ebuild) |
Description
Alexandre Rostovtsev (RETIRED)
2008-02-10 06:15:58 UTC
Created attachment 143093 [details]
Ebuild with newer portaudio snapshot
To fix the bug, here's an ebuild that uses the 20071207 portaudio-v19 snapshot.
Created attachment 143095 [details, diff]
portaudio-cvs-rev1.7.patch (for above ebuild)
Patch from audacity CVS, modifications to portaudio-v19 required for audacity to compile. Used by the above ebuild.
Erm... This should use system portaudio libs, not any bundled nonsense. Until portaudio-19 gets unmasked, the functionality should be just hard disabled. (In reply to comment #3) > Erm... This should use system portaudio libs, not any bundled nonsense. Until > portaudio-19 gets unmasked, the functionality should be just hard disabled. 1. Audacity-1.3 has ZERO functionality without portaudio (because it uses portaudio for all sound I/O). 2. Audacity-1.3 cannot use external portaudio-18, because -18 and -19 have different APIs and feature sets. 3. (this is the fun part) Audacity-1.3 CANNOT use an external portaudio-19 either! This is because it actually uses a custom-patched CVS snapshot of portaudio-19, and those patches have apparently not been taken by portaudio upstream. So in this case, I recommend doing what Audacity upstream recommends, and using their bundled patched internal portaudio snapshot. (In reply to comment #4) > Audacity-1.3 CANNOT use an external portaudio-19 > either! This is because it actually uses a custom-patched CVS snapshot of > portaudio-19, and those patches have apparently not been taken by portaudio > upstream. Yeah, this is just wonderful strategy. Shipping (broken as a bonus) custom-patched bundled libs is definitely the way to go... should be employed more widely for complete PITA maintainer experience. In a similar way, this also bundles its own allegro and links it in statically so that in case of vulnerability users can enjoy that permanently. (In reply to comment #2) > Created an attachment (id=143095) [edit] > portaudio-cvs-rev1.7.patch (for above ebuild) > > Patch from audacity CVS, modifications to portaudio-v19 required for audacity > to compile. Used by the above ebuild. > hmm the patch doesn't apply here against 1.3.4 :( (In reply to comment #6) > hmm the patch doesn't apply here against 1.3.4 :( Of course not. Look at what the attached ebuild does. The patch is not applied to audacity-1.3.4; instead it is applied to the portaudio v19_20071207 snapshot (which the ebuild uses to replace audacity-1.3.4's broken portaudio snapshot) (In reply to comment #7) > (In reply to comment #6) > > hmm the patch doesn't apply here against 1.3.4 :( > > Of course not. Look at what the attached ebuild does. The patch is not applied > to audacity-1.3.4; instead it is applied to the portaudio v19_20071207 snapshot > (which the ebuild uses to replace audacity-1.3.4's broken portaudio snapshot) > ha ! I didnt see that, thanks ! Indeed, it seems to improve alsa playback (which happened to not work at all recently here while it used to work if using a specific frequency rate iirc). Any reason to use pa_stable from dec. 2007 while audacity cvs uses one from jan. 2008 ? (In reply to comment #8) > Any reason to use pa_stable from dec. 2007 while audacity cvs uses one from > jan. 2008 ? No reason, it's just that while googling for how to fix the bug, I've read many reports that Dec. 2007 portaudio snapshots are known to work well, and I know that audacity used to have the 20071207 snapshot in their CVS version (although I guess they have upgraded to a newer snapshot by now). updated in r2, thanks a lot ! If audacity 1.3.4-r1 is known to not work because of this issue, should it be (hard)masked? It still shows as stable. |