SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've run into a very odd problem. I use gnump3d to stream my music to work from my house and it uses sox and oggenc in a pipe to downsample the music to be more bandwidth friendly. This has worked fine until the latest sox upgrade in slackware-current.
More specifically, using the older version of sox that come with Slack (sox-12.17.8) I have no problems. When the downsampling is finished sox exits. I use this pipe in this version of sox:
Those are the three lines in gnump3d.conf that corrispond to the three levels of downsampling. However, when I upgrade to sox-12.18.1 I have to update the pipes to:
These actually work and I get sound, however, sox does not exit when it is finished with a track. I end up with an instance of sox just hanging about in memory for each track I've played and eventually my system grinds to a halt.
I have no idea what the cause is. Google hasn't been much help for me but I may be searching on the wrong terms. Anyone have any suggestions on what I might try to get sox to terminate correctly?
If no one knows the exact answer, that's OK. However, if anyone has a suggestion on what I could try that may lead to more info that would be a good place to start.
Just did a quick test of your commands with a 30 second sample, and everything seems to be working here (running -current too): The downsampled file was succesfuly created and no SoX procces was left running.
Maybe you've hit on a SoX or lib{vorbis,ogg} bug.
My suggestion would be:
Try using oggdec instead of SoX.
EDIT: Now, if you want to try and see what's wrong, you could strace SoX and see if you find any weird behavior (like an endless loop, or SoX waiting for a signal/event).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.