Subject: [linux-audio-dev] [PATCH, ANN] LinuxPPC Dmasound backport to 2.2.17pre7/10 patch
From: Iain Sandoe (iain_AT_sandoe.co.uk)
Date: Sat Jul 08 2000 - 02:09:59 EEST
hello all,
I have done a backport of Geert's split-up dmasound stuff to 2.2.17pre7.
Thanks to Geert for helpful suggestions in doing this.
The patch is at: http://quimby.gnus.org/circus/dmasound_backport.patch.bz2
Thanks to Lars Magne Ingebrigtsen (larsi_AT_gnus.org) for the slot.
It is against linuxcare linux-pmac-stable and OK against linux-pmac-benh as
well.
WHAT IT DOES:
there's a new drivers/sound/dmasound this contains a split-up version of
the multi-platform dmasound.c
It *should* add sound input to the Pmac - but that doesn't work reliably yet
(I suspect weirdness with the mixer abstraction - see below). No crash but,
then, no recorded sound either. I'll be on this a bit later on.
WHAT I'VE TESTED:
G3 AWACS Rev 3 with/without build as modules.
I will do G3/Lombard (IIRC has the burgundy AWACS).
I will do G4 just as soon as I get to setting it up :-)
WHAT I DIDN'T DO:
The other platforms Atari,Amiga,Q40 etc. - if it is not obvious what is
needed - (add call to dmasound_???_init() into drivers/char/mem.c and fix up
the module/no module stuff in drivers/sound/dmasound_????.c) then e-mail me
off list and I'll have a go. BUT I've got no h'ware other than Pmac to test
on.
TO DO:
Sort out mixer abstraction weirdness - there's definitely some funny
behaviour using kmixer - sometimes the stereo attribute is recognised -
sometimes not.
Sort out what is slowing things down when the buffer size is reduced:
we should be able to achieve 11ms output latency with Pmac AWACS - not RME
(which, incidentally, is reported to be not completely 'there' on PPC yet) -
but not too shabby.
Please test & comment (but send flames to /dev/null - this is my first
backport ;-)
Once this is sorted out I will feel a bit more comfortable with:
(a) Starting Latency Testing on the LinuxPPC kernel
(b) Doing an ALSA port of the dmasound driver.
ciao,
Iain.
This archive was generated by hypermail 2b28 : Sat Jul 08 2000 - 02:29:34 EEST