Archive > DCE Router Developers

implement new audio plugin

<< < (2/8) > >>

archived:

--- Quote from: "tinia" ---Since then I've waited for new release and right now I'd be happy if Pluto guys could give some more info on this development.
--- End quote ---


:( I am sorry to say this, but this functionality is still under development and 2.0.40 release doesn't include audio-only capable Xine_Player.

archived:
Hello all,
  It's been over a month and no helpfull responses to my plight :(  Perhapse something a little easier then...  A plugin for JACK.  All I need it to do is start jackd with some commandline options.  I'll even be ok with hardcoded options for the first iteration.  Just need to start and make sure it's always running, and I'll worry about configureing later.  Would like to write this in C++ as a plugin, but if there is an easier/better/more appropriate way to do it then let me know.  Otherwise writing a plugin in C++ documentation would be really helpfull.  Even more helpfull would be a sort of hello world plugin tutorial.  A step by step document that walks a new plugin developer through writing a simple plugin that prints 'hello world' somewhere and logs it to the log file.  Just an idea

Thanks,
Jason

archived:
Hi,

I'm sorry for your feeelings. This is something we're all going through...

I've done changes to Xine player to become audio player twice. I also thought of doing it with Alsaplayer, which also wouldn't be too hard (only downside is that alsaplayer is close to being dead project). My Xine_Audio_Player even worked ok in a proof of concept stage (I remember that slight changes in volume control were on to do list).

The problem lies somewhere else. Even if you write 3rd party audio player, the problem is that currently Pluto doesn't support 3rd party players and it won't appear on Orbiters, so you cannot control it. Dirty workaround I did was to create dummy new MD and then use it's Xine Player ID to run my player. But since MDs are now detected for being in on/off state I'm not sure if this still works... Other way would be to somehow create dummy squeezebox player (they are automatically detected and get new audio room immediately)....

This is what I know about this situation. If you decide to write plugin, I'd be thrilled to read docs about it...

Regards,

Rob.

archived:
OK, so I'm trying to create a device template for Jack.  Can anyone help out?  I've read through the docs but still don't really have any idea.  I want to run this:
  /usr/bin/jackd -R -dalsa -djack40 -r48000 -p1024 -n2 -P -o4
with '-djack40' being configurable in the device settings.  So far I've created a template under 'Sound Cards < Peripherals' and added '#74 Alsa Output Device(string)' under data with jack40 as the default value.  How do I link the two together?  Is this something that can only be done with GSD or C++?  Or can I do it in the command line option with a variable?  If someone could point me in a direction that would be helpfull.

Thanks,
Jason

archived:

--- Quote from: "jspeckman" ---OK, so I'm trying to create a device template for Jack.  Can anyone help out?  I've read through the docs but still don't really have any idea.  I want to run this:
  /usr/bin/jackd -R -dalsa -djack40 -r48000 -p1024 -n2 -P -o4
with '-djack40' being configurable in the device settings.  So far I've created a template under 'Sound Cards < Peripherals' and added '#74 Alsa Output Device(string)' under data with jack40 as the default value.  How do I link the two together?  Is this something that can only be done with GSD or C++?  Or can I do it in the command line option with a variable?  If someone could point me in a direction that would be helpfull.

Thanks,
Jason
--- End quote ---

If you just need to run some binary - there is command line entry where binary is specified. But Pluto adds several parameters to that (like ID and dcerouter) - see Xine_Player template for example...

Also it will run it under screen... But there is nothing preventing you from writing script, that will read those data from database and run jackd. You could also do this in c++ (motion wrapper is example of DCE device that first reads parameters from database and then runs another binary 'motion') . Maybe it is close to what you need...

If you need to act dinamically upon events then you have to connect to DCERouter as proper device and communicate with it....

I'm interested in your work with jackd. I'm still thinking about whole house audio switching/mixing app only in software, but I'm not sure if jack is the right app for that... Although Pluto has many features in this direction...

HTH,

regards,

Rob.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Sitemap 
Go to full version