Wednesday, May 1, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 5912  / 1 Year ago, wed, march 8, 2023, 10:48:13

Years ago i was able to pipe the kernel to the sound device via



cat /vmlinuz > /dev/dsp


However, i do not have the sound device in Natty 11.04 anymore. Any idea, how i can do this in this new version of Ubuntu?


More From » 11.04

 Answers
6

This, in a terminal:



cat /vmlinuz | padsp tee /dev/dsp > /dev/null


Ubuntu uses PulseAudio as its sound server (before I think ALSA's dmix was used, I believe. I don't remember.)



padsp is a PulseAudio tool that wraps /dev/dsp to PulseAudio.



The oss-compat package, as suggested by MrShunz, enables ALSA's OSS compatibility layer, so it has to go through ALSA to get to PulseAudio which finally uses ALSA to access the sound device. So:



oss-compat: OSS->ALSA->PulseAudio->ALSA
padsp: OSS->PulseAudio->ALSA


padsp is also already installed by default, I think. If it isn't though, bash will tell you which package contains it :)


[#43691] Thursday, March 9, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ronicod

Total Points: 71
Total Questions: 111
Total Answers: 111

Location: Montenegro
Member since Fri, Dec 10, 2021
2 Years ago
;