Archive > DCE Router Developers

implement new audio plugin

<< < (8/8)

archived:
Finally an update.
  After a good while of not looking at the code, I now have a working plugin for jack.  Jack is correctly spawned and tested to be working with the six channels on my audio card.  The plugin currently only has three parameters setable from the plutohome admin interface.  I can add more later, but first I'd like some kind folks who know c++ better than me (which is just about anyone)  to give the code a look over and maybe do some clean up or rearranging.  I borrowed the thread portion from the motion wrapper and added all the parameter setting functions myself.  The only compiler complaints I get are about unused variables.  Just let me know where I can send it.  Maybe next week I can start working on a media player plugin to use the jack server.

archived:

--- Quote from: "jspeckman" ---Finally an update.
  After a good while of not looking at the code, I now have a working plugin for jack.  Jack is correctly spawned and tested to be working with the six channels on my audio card.  The plugin currently only has three parameters setable from the plutohome admin interface.  I can add more later, but first I'd like some kind folks who know c++ better than me (which is just about anyone)  to give the code a look over and maybe do some clean up or rearranging.  I borrowed the thread portion from the motion wrapper and added all the parameter setting functions myself.  The only compiler complaints I get are about unused variables.  Just let me know where I can send it.  Maybe next week I can start working on a media player plugin to use the jack server.
--- End quote ---

Hi,

I'm really interested in your work and would kindly ask if you can open page on Wiki, where we can follow you. I was doing something similar with Xine - Audio only player that outputs only to certain channel on multichannel card (like whole house audio source with 4 stereo channels on Core) - but got stuck with Pluto not supporting any 3rd party players other than squeezeboxes and built in Xine players, so I'm afraid that similar problem waits for you also...

How do you plan to add support for your player under Pluto (so Pluto will be able to recognize it, assign room to it, etc..)?  At the time I did this I used simple workaround - created dummy MD, so all media scenarios are created and then steal Xine player ID to run my Audio-only xine. Maybe this still works....

HTH,

regards,

Rob.

archived:
tiana,
  Thanks for your interest.  Let me know where the best place to start putting pages would be and I'll get started.  I plan on either writing a wrapper for mplayer, or if that is not feasible I'll write something from scratch using the mplayer library and the jack library.  I envision having a device instance for each zone much like adding squeezeboxes.  I think this is doable unless I'm missing something in my understanding of how things work in pluto.  If I'm correct, my device will work with pluto's media infrastructure and just happen to run on the core rather than on a remote device (though in theory jacks architecture allows for that sort of thing).  Setting up zones is simply a matter of assigning jack output channels to an arbitrary zone number/room.   The back end would then connect the output of the mplayer plugin to whatever jack channels are assigned to where you want to here music, including being able to connect all channels to have the same thing playing throughout the house in sync.  That's the plan.

Any help, ideas and or testing would be greatly appreciated.

Thanks,
Jason

archived:

--- Quote from: "jspeckman" ---tiana,
  Thanks for your interest.  Let me know where the best place to start putting pages would be and I'll get started.  I plan on either writing a wrapper for mplayer, or if that is not feasible I'll write something from scratch using the mplayer library and the jack library.  I envision having a device instance for each zone much like adding squeezeboxes.  I think this is doable unless I'm missing something in my understanding of how things work in pluto.  If I'm correct, my device will work with pluto's media infrastructure and just happen to run on the core rather than on a remote device (though in theory jacks architecture allows for that sort of thing).  Setting up zones is simply a matter of assigning jack output channels to an arbitrary zone number/room.   The back end would then connect the output of the mplayer plugin to whatever jack channels are assigned to where you want to here music, including being able to connect all channels to have the same thing playing throughout the house in sync.  That's the plan.

Any help, ideas and or testing would be greatly appreciated.

Thanks,
Jason
--- End quote ---


Hi,

I see that you're doing something similar that I also tried to. Also you're dealing with problems of distributing audio to several zones. That's exactly what my idea is also.

But I more think in a way to add Audio only functionality ot existing Xine player (since a lot of efforts will be put into its development).

AFAIK, Pluto guys (specially Kiril) are working on one to many sync and streaming feature of Xine Pluto wrapper, so I guess this is similar thing, except you do it with Jack (unfortunately I don't know it well - but have always thought about having one audio switcher/mixer for whole house audio implemented in SW and I think your work is pretty close to that).

I hope that I'll be able to work further with Kiril on this feature after 0.43 release.

But for both (me and you), problem of support for 3rd party media players is major pain - it's currently non existant and on lower priority on task lists. So maybe we can join our forces and try to do something useful....

Regards,

Rob.

Navigation

[0] Message Index

[*] Previous page

Sitemap 
Go to full version