From: Ed W <li...@wi...> - 2005-10-04 15:42:15
|
>>I haven't actually tried Ed Wildgoose's plugin yet. >> >> > >i don't remember if Ed sent his patch to the mailing list. i'd like to >commit the jack output plugin, people may then improve it as needed. >or do you think i should wait you and Ed to discuss which plugin >should go to cvs? > > I haven't sent in my new patch, but I was going to port over the code from mplayer. It's very nice code, doesn't have any external dependencies (unlike the bio2jack version I posted before) and it handles multi-channel When I last looked at Chris's code it only handles the case of a two channel audio setup? Anyway, there is no magic here - the mplayer code simply sets up a small ringbuffer and runs a callback to feed the data to jack on the callback. I tuned it a little to add some timer code so that you can get an estimate of the current sample pointer (which improves smoothness of the video in mplayer). The mplayer code only accepts floats as input data and I would add a simple volume control by scaling the samples in Xine. I am snowed under at the moment, but intended to put something out a long while back My suggestion would be to stick in anything which is written right now so that at least we have something. Chris and I can perhaps fight out the details if I produce an alternative library and then it will just be a cut and paste if he agrees that my code looks better in some way... However, better to release something I think. I have had quite a lot of interest in using digital filtering via Brutefir and Jack is the perfect way to implement this. See http://www.duffroomcorrection.com for more details All the best Ed W |