Date: Sun, 11 Jan 2004 13:30:04 -0500 From: Mathew Kanner <mat@cnd.mcgill.ca> To: Cameron Grant <cg@ijcg.net> Cc: shoesoft@gmx.net Subject: Re: sound/pcm/* bugs (was: Re: page fault panic tracked down (selwakeuppri()) - really sound/pcm/*) Message-ID: <20040111183004.GC38657@cnd.mcgill.ca> In-Reply-To: <202210218.1073800218@[10.1.0.2]> References: <20040108171215.GE38657@cnd.mcgill.ca> <200401082055.i08Kth7E020781@gw.catspoiler.org> <20040110183955.GW38657@cnd.mcgill.ca> <202210218.1073800218@[10.1.0.2]>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 11, Cameron Grant wrote: > > Perhaps a heavy handed approach but until someone can untangle > >and own this problem... > > if and when real life stops getting in my way, i'll resume working on it. > > > Whimsically, I wish some super-hacker could wrestle, unify, > >unifdef and de-kobj the sound code so I could eventually comprehend > >it. > > there really are very few ifdefs in it. in 5.x most of them are > unnecessary. > > de-kobjification would be absolutely stupid. completely the wrong > direction. > > i don't know what you mean by 'unify'. I'd hoped the "whimsical" beginning of my sentence conveyed its desperate and non-literal tone. I don't want anybody to wrestle code. I've seen it before and the bruises are ugly. But since you seem to be interested in my opinion I'll explain a little more. I'm not suggested dropping kobj's from the hardware/pcm relationship. I would like to see the vchans and format conversion either dropped or integrated completely. I would like to unifdef anything possible. Drop the use of snd_mutex_*, and general just assume that the code base is at least 5.x (the code is already moving in that direction, though not deliberately). The feeder/mixer/vchan concepts are difficult for me and I believe that de-kobj'ing would benefit the next generation of sound hacker to come. Or maybe a few lines of comments would clear everything up, it's hard to tell. Finally, the original statement was a plea for help. Anybody?... --Mat > > -cg -- We peer so suspiciously at each other that we cannot see that we Canadians are standing on the mountaintop of human wealth, freedom and privilege. - Pierre Elliott Trudeau
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040111183004.GC38657>