Bug 20535 - add new audio backend for sndio
Summary: add new audio backend for sndio
Status: ASSIGNED
Alias: None
Product: swfdec
Classification: Unclassified
Component: library (show other bugs)
Version: unspecified
Hardware: All OpenBSD
: medium normal
Assignee: swfdec ml
QA Contact: swfdec ml
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-08 03:08 UTC by Jacob Meuser
Modified: 2009-03-09 07:34 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
two patches and a source file (3.29 KB, application/x-tgz)
2009-03-08 03:11 UTC, Jacob Meuser
Details

Description Jacob Meuser 2009-03-08 03:08:59 UTC
Here are patches and a new file to add support for audio playback through the sndio API as currently used by OpenBSD.

the patches are against 0.8.4, but they are relevant for 0.9.2.  same with the backend file.

let me know if you need more info.  thanks.
Comment 1 Jacob Meuser 2009-03-08 03:11:17 UTC
Created attachment 23652 [details]
two patches and a source file
Comment 2 Benjamin Otte 2009-03-09 07:34:12 UTC
From reading the code (as I cannot test it), the patch looks fine.

I don't want to add this to the Swfdec 0.8 branch, as patches there should be as small as possible and not include new features (I've been getting questions from distros about every patch). So I suggest you keep it as a custom patch in the OpenBSD ports system.

I'm however not really sure how I want to handle audio backends in Swfdec after the experiences I've had with OSS and Pulse. For everyone reading this, the short version of the problem is:
a) There are no core Swfdec developers using the specific backend, so it is not exposed to the same amount of testing.
b) People download Swfdec and compile it with their preferred audio backend. When using it, it crashes, so they conclude Swfdec sucks and don't bother again.

I don't want to lose users (or even distros, as those users in b) have been distro packagers) just because they don't know that the audio backends have different levels of support and assume the experience with their chosen audio backend is an indication of overall Swfdec quality.

On the other hand it's a good idea to support as many audio backends as possible.


So I'm torn between adding audio backends and suggesting that distros maintain their own backend.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.