Bug 561262

Summary: padsp should emulate /dev/audio, too
Product: [Fedora] Fedora Reporter: Konstantin Svist <fry.kun>
Component: pulseaudioAssignee: Lennart Poettering <lpoetter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: lkundrak, lpoetter
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: pulseaudio-0.9.21-5.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-23 23:20:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Konstantin Svist 2010-02-03 08:28:42 UTC
Description of problem:
Some old code uses /dev/audio instead of /dev/dsp -- for instance, http://sourceforge.net/projects/max-gpl/

The program kept complaining about missing /dev/audio. After looking at the source (good thing it had one available!) and some googling (would be nice if pulseaudio had better documentation), I found that it works with OSS only and the way to make OSS-only apps work with pulseaudio is to run them through padsp.
When I tried that, it still failed because apparently padsp creates /dev/dsp but doesn't create /dev/audio
I was able to recompile the code with /dev/dsp instead of /dev/audio, but I don't think I should have to. Or rather, if someone has an old OSS-only application without sources and it uses /dev/audio, they should be able to run it with padsp

Comment 1 Lennart Poettering 2010-02-04 23:03:52 UTC
We no longer support the OSS API in Fedora. For a while we will carry a compat kludge which is padsp which supports correctly written OSS devices.

Instead of extending this kludge to /dev/audio I'd much rather see the apps in question being ported to ALSA or suchlike.

Comment 2 Konstantin Svist 2010-02-04 23:10:49 UTC
In this case it can be done because the app is open source, but I'm sure there are some proprietary apps that can't be so easily fixed

Comment 3 Lennart Poettering 2010-02-16 01:05:15 UTC
Fixed upstream, will upload to F12 eventually.

http://git.0pointer.de/?p=pulseaudio.git;a=patch;h=ff2474e5fc9eaa4c7f687e71a39a5bed4f56c259

Comment 4 Fedora Update System 2010-02-23 23:13:03 UTC
pulseaudio-0.9.21-6.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/pulseaudio-0.9.21-6.fc13

Comment 5 Fedora Update System 2010-02-23 23:13:29 UTC
pulseaudio-0.9.21-5.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/pulseaudio-0.9.21-5.fc12

Comment 6 Fedora Update System 2010-03-05 03:41:15 UTC
pulseaudio-0.9.21-6.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2010-03-06 03:42:03 UTC
pulseaudio-0.9.21-5.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.