IPB

Welcome Guest ( Log In | Register )

> foobar2000 Development Forum Rules

This forum is for developer discussions only. If you have a problem / bug report / idea / feature request that isn't related to foobar2000 SDK, post it in an appropiate forum instead - tech support questions go to support forum, everything else goes to general forum.
All non-developer posts on this forum will be removed. Continued abuse of this forum will result in admin actions (warnings, account suspension).

 
Reply to this topicStart new topic
DSP and Menu questions
emilles
post Jan 10 2013, 23:39
Post #1





Group: Members
Posts: 11
Joined: 29-March 06
Member No.: 28950



I am currently working on a DSP component for FB2K. The DSP interface seems to be working fine. Now I am trying to add some convenience menus or menu items so that the user does not need to go to Preferences > Playback > DSP Manager, etc. (That's a lot of steps.) When holding Shift, I see a couple nice menu items for getting directly to the DSP prefs and changing the Output device.

1) Is it possible to add a menu item to the Playback menu > DSP settings' submenu? Seemingly that would be the place for all DSPs to attach their extras. If not, should "DSP settings" be a command menu item labeled "DSP Manager" instead that carrys out the command of the submenu's Preferences item?

2) Is it possible to add to the Playback > Device submenu? My component will be sending audio to one or more remote devices. The Device submenu seems like a decent place to add the list of remote devices as a group and allow selection / deselection.

3) I'm trying to make a menu group that is populated dynamically by the remote devices found on the local network. It appears that mainmenu_commands is only queried once when a menu is opened for its length. So if a device appeared or disappeared, I seemingly could not update the menu group live; I would need to wait until the menu was reopened. Does the mainmenu_commands_v2 add this capability? I can't seem to make much sense of the difference or how to create mainmenu_node instances correctly.
Go to the top of the page
+Quote Post
lvqcl
post Jan 11 2013, 15:56
Post #2





Group: Developer
Posts: 3436
Joined: 2-December 07
Member No.: 49183



QUOTE (emilles @ Jan 11 2013, 02:39) *
the Playback menu > DSP settings' submenu? Seemingly that would be the place for all DSPs to attach their extras.


This menu contains all "DSP chain presets".
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th November 2014 - 10:35