|
From: Ralf J. <po...@ra...> - 2015-11-01 10:09:42
|
Hi, > I'm running an up to date Arch Linux system (kernel 4.2.3) with > Alsa/PulseAudio 7.0 (which is working fine). I want to use an old > (commercial) application, that still uses OSS, so I would like to use > the ossd-wrapper, version 097dc7b. Unfortunately, they do not seem to > work. A more precise description of the errors can be found here: > https://bbs.archlinux.org/viewtopic.php?id=203964 > As of writing, there were no replies to my initial question/problem. > > I cloned the git repo and built them, running the tests gave me some > errors: > % make test > gcc -Wall -o osstest osstest.c > test_open@122 test succeeded (mixerfd >= 0) > test_open@131 test failed (ro_fd >= 0): Input/output error > test_open@139 test failed (wo_fd >= 0): Input/output error > test_open@147 test failed (rw_fd >= 0): Input/output error > test_mixer@162 test succeeded (ret >= 0) > Mixer id: OSS Proxy > Name: Mixer > Tests: 3 errors 2 success > Makefile:65: recipe for target 'test' failed > make: *** [test] Error 3 > > Does anyone have an idea what might be going wrong? I would appreciate > any help. I would also happily provide you with more information -- > just ask... Disclaimer: I have little idea about the inner workings of osspd. I just have it working fine here on my machine with PA 7.0. The test suite never worked for me, either. I am testing it like this: > gst-launch-1.0 filesrc location=./filename.ogg ! oggdemux ! vorbisdec ! audioconvert ! audioresample ! osssink So, in principle, osspd *is* compatible with PA 7.0. My first guess for your problem would be that something is wrong with the permissions somewhere. Do you have udev set up to set the permissions of /dev/dsp etc. correctly? > $ ls -lah /dev/dsp /dev/adsp > crw-rw-rw- 1 root root 14, 12 Okt 26 19:04 /dev/adsp > crw-rw-rw- 1 root root 14, 3 Okt 26 19:04 /dev/dsp Is there anything special, non-default about your PA setup? Like, I don't know, using a system daemon or any other changes you made in /etc/pulse or ~/.pulse ? Kind regards, Ralf |