Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 274255 - media-sound/lame-3.98.2 does not write/read to stdin/stdout with sndfile USE
Summary: media-sound/lame-3.98.2 does not write/read to stdin/stdout with sndfile USE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
: 277498 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-15 17:16 UTC by Jérôme Poulin
Modified: 2009-07-22 19:02 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild to use the patch (lame-3.98.2-r2.ebuild,2.61 KB, text/plain)
2009-06-16 16:21 UTC, Naohiro Aota
Details
ebuild to use the patch (lame-3.98.2-get_audio.patch,957 bytes, patch)
2009-06-16 16:22 UTC, Naohiro Aota
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jérôme Poulin 2009-06-15 17:16:56 UTC
When trying to read from stdin with a LAME compiled with sndfile USE flag, LAME complains that '-' is not found.

Reproducible: Always

Steps to Reproduce:
1. lame --mp3input -q 3 -b 128 - -
Comment 1 Naohiro Aota gentoo-dev 2009-06-16 16:21:43 UTC
Created attachment 194904 [details]
ebuild to use the patch
Comment 2 Naohiro Aota gentoo-dev 2009-06-16 16:22:11 UTC
Created attachment 194905 [details, diff]
ebuild to use the patch
Comment 3 Naohiro Aota gentoo-dev 2009-06-16 16:27:17 UTC
./configure --help says

>  --with-fileio=lame         Use lame's internal file io routines default
>               =sndfile      Use Erik de Castro Lopo's libsndfile
>                             (no stdin possible currently)

But I believe lame should be able to read from stdin when "--mp3input"
option is specified.

BTW I don't know this is a right way, but it seems the attached ebuild
and patch solve the problem.
Comment 4 Jérôme Poulin 2009-06-17 13:07:23 UTC
I confirm the new ebuild as tested and working!
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2009-07-12 18:06:05 UTC
*** Bug 277498 has been marked as a duplicate of this bug. ***
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2009-07-22 19:02:56 UTC
+*lame-3.98.2-r2 (22 Jul 2009)
+
+  22 Jul 2009; Samuli Suominen <ssuominen@gentoo.org>
+  +lame-3.98.2-r2.ebuild, +files/lame-3.98.2-get_audio.patch:
+  Support stdin and stdout with sndfile wrt #274255, thanks to Naohiro Aota
+  and Jérôme Poulin.