[RFC] Summer of Code -- OSSv4 audio compatibility

Alexander Leidinger Alexander at Leidinger.net
Wed Aug 23 10:35:27 UTC 2006


Quoting Ryan Beasley <ryanb at FreeBSD.org> (from Tue, 22 Aug 2006  
16:11:24 -0500):

> Hello, current@ & multimedia@!
>
> ====== Summary ======
> I participated in Google's Summer of Code this year, working on adding
> support for 4Front's OSSv4 API.
>
> Unfortunately, more of the API specifications were still under
> construction than I expected, so I focused entirely on the audio
> collection of ioctls and maybe just one or two mixer ioctls.  While
> official documentation isn't yet available, the mixer extensions, which
> are one of the coolest parts of the new API, are my top priority.  (I
> think I now have enough reference material to begin work in that area.)

Clarification: his top priority is not part of the SoC 2006 anymore.  
The patch presented here is the outcome of the Soc. Anything from now  
on (bugfixes and enhancements to this code) is not covered by the SoC  
anymore but purely based upon his interest in improving his work.

> For information on the ioctls, please take a look at
> http://wiki.freebsd.org/RyanBeasley/ioctlref .
>
> ====== Patch Info ======
> A patch against recent -CURRENT is available at
> http://www.leidinger.net/FreeBSD/sound/rbeasley_sound.diff .
>
> Comments, suggestions, etc., would be hugely appreciated!
>
> To apply,
> 	cd /usr/src/sys
> 	patch --quiet < rbeasley_sound.diff
>
> Then rebuild the sound/sound module and whichever modules are
> appropriate for your sound card.  You should also install the new
> sys/soundcard.h.

Building/installing the world and kernel after patching will do this  
(in case you want to test this but don't know how to do this).

> ====== Testing ======
> Please beat down on audio as much as possible.  Note that some
> applications might need to be recompiled in order to access the new
> ioctls (sys/soundcard.h was tweaked).

We are interested in the behavior of the applications without  
recompiling them (ideally there's no change in behavior), and after  
recompiling.

> Two areas that were least tested by me were ioctls intended to be used
> with mmap() (ex: SNDCTL_DSP_CURRENT_OPTR) and recording.  Please keep an
> eye on these.

Bye,
Alexander.

-- 
Love is an ideal thing, marriage a real thing; a confusion of the real
with the ideal never goes unpunished.
		-- Goethe

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137



More information about the freebsd-current mailing list