No such device /dev/dsp CPC++ emulator

Started by blackdalek, 14:21, 21 January 18

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

blackdalek

Thought I'd give CPC++ emulator a go...
"Computer says no..."

It draws up an empty black window, then promptly aborts with the following output in the terminal:

[LinuxPsg] Cannot open /dev/dsp (No such file or directory)
cpcpp: dynamic-link.h:57: elf_get_dynamic_info: Assertion `! "bad dynamic tag"' failed.
Signal caught [6]...cleaning up
Aborted (core dumped)


Any clues how to fix this?
Running on an Ubuntu Linux system.
CPC6128 modded with ABBA switch. External 5.25" floppy drive with side switch and Multiface 2. Now also sporting a joystick splitter and M4 WiFi board.

arnoldemu

Quote from: blackdalek on 14:21, 21 January 18
Thought I'd give CPC++ emulator a go...
"Computer says no..."

It draws up an empty black window, then promptly aborts with the following output in the terminal:

[LinuxPsg] Cannot open /dev/dsp (No such file or directory)
cpcpp: dynamic-link.h:57: elf_get_dynamic_info: Assertion `! "bad dynamic tag"' failed.
Signal caught [6]...cleaning up
Aborted (core dumped)


Any clues how to fix this?
Running on an Ubuntu Linux system.
It's trying to enable audio.

I'm not sure which audio system it needs. Perhaps pulseaudio needs installung.


My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

blackdalek

Apparently that's an OSS error.

CPC++ must want to use OSS but Ubuntu ditched OSS for ALSA :(

I think I have to use padsp (redirects OSS audio devices to PulseAudio) to launch cpcpp... but I'm not sure how to use it correctly in this case.
CPC6128 modded with ABBA switch. External 5.25" floppy drive with side switch and Multiface 2. Now also sporting a joystick splitter and M4 WiFi board.

mahlemiut

ALSA does have OSS emulation.  On Arch, you can install the alsa-oss package, and load the snd-seq-oss, snd-pcm-oss and snd-mixer-oss kernel modules via modprobe.
- Barry Rodewald

Powered by SMFPacks Menu Editor Mod