synaesthesia icon indicating copy to clipboard operation
synaesthesia copied to clipboard

Error opening dsp device

Open rogonow opened this issue 2 years ago • 1 comments

sudo padsp synaesthesia cd gives me

ERROR: ld.so: object '/usr/\26357LIB/pulseaudio/libpulsedsp.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
synaesthesia: Error opening dsp device
(reason for error: No such file or directory)

This refers to the same error, but it plays the music thanks to program mpg123 (or mpg321): mpg123 /tmp/a.mp3 | synaesthesia pipe 44100

I want it to find it at /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsedsp.so I searched all the config files but it's not there to edit.

It can't find any dsp device, wich makes the program useless for the moment on my Xubuntu 22.04.

rogonow avatar Nov 02 '22 10:11 rogonow

That error seems to be due to padsp, which is used to make applications designed for old OSS sound use PulseAudio instead: https://linux.die.net/man/1/padsp. The library it is trying to load is probably what redirects OSS sound to PulseAudio.

This version of Synaesthesia here can be built with PortAudio, which allows it to work without need for padsp. Also, there should be no need for sudo.

dreamlayers avatar Nov 11 '22 19:11 dreamlayers