Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: lossyWAV can now run on POSIX systems natively (Read 5925 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

lossyWAV can now run on POSIX systems natively

Hello.

I managed to compile and run lossyWAV natively on GNU/Linux.

The small code changes I made should all be C++11-compliant or POSIX-compliant.
So, lossyWAV should theoretically also build successfully in other POSIX environments.

WARNING: I have near-zero experience with C++ and the Windows API. So, I take no responsibility for the code changes I made.

The code changes are available here:
https://github.com/MoSal/lossywav-for-posix


lossyWAV can now run on POSIX systems natively

Reply #2
More like flossyWAV, amirite?

Nice work.
It's only audiophile if it's inconvenient.


lossyWAV can now run on POSIX systems natively

Reply #4
Many thanks, 2012 - your time and effort is much appreciated.

Very glad that you got it to compile and run natively!
lossyWAV -q X -a 4 -s h -A --feedback 2 --limit 15848 --scale 0.5 | FLAC -5 -e -p -b 512 -P=4096 -S- (having set foobar to output 24-bit PCM; scaling by 0.5 gives the ANS headroom to work)

lossyWAV can now run on POSIX systems natively

Reply #5
LossyWAV is available for Arch Linux. https://aur.archlinux.org/packages/lossywav-git/


Cool.

If you add fftw to depends and use the fftw make target. You should get a slightly
faster binary (~6% faster for me with a Core 2 Due powered laptop).

And those changes in the PKGBUILD are already tested. Since I'm a longtime
Arch Linux user myself