I've just came across a batch of DSF files to convert, so I patched pacpl to accomodate it. The decoder is called sacd, and I obtained it from this Ubuntu PPA. I use it regularly to decode SACD iso files, and have just discovered that it logically also decodes DSF files.
It was a bit tricky to implement support for sacd since it doesn't allow you to choose the name of the output wav file: it always uses the basename of the DSF file with the wav extension. pacpl relies completely on using wav files named "basename.$$.wav", so it couldn't accomodate sacd out-of-the-box. I modified pacpl to check the decoding string: if it contains %o, then use old wav filename "basename.$$.file", but if it doesn't contain %o, it uses simply "basename.wav".
I've attached a patch.
I've appliede the patch and pushed it to git. Have you tested this using one of the gui scripts for gnome/kde?
No. I run pacpl from a bash script, so I never actually tried the GUI scripts.
Come on man :) I love the additions but when adding a new codec we gotta make sure it works.
I ran pacpl on 2 batches of DSF files (coincidentally I had just downloaded 2 CDs that came in this format), and it worked flawlessly. Will it make any difference if run from a script or using the GUI scripts ? The conversion backend (
sub convert) will be the same. no matter the interface, or perhaps I'm missing something.Last edit: Paulo Marcel Coelho Aragão 2018-05-22