<br><br><div class="gmail_quote">2011/9/9 Walt Horat <span dir="ltr"><<a href="mailto:walt@genaudioinc.com">walt@genaudioinc.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I have a module derived from modules/audio_filter/channel_mixer/        simple; it has two controls, a check box and I am having a hard time learning the VLC API (mostly due to lack of time), and I was hoping for a few quick pointers:<br>

<br>
1) I would like to add a popup menu to select ordinal options (i.e. int constants) via a human readable name. I tried emulating another module, and am having a hard time getting it to work. A pointer to a working example describing the bits I need would be greatly helpful<br>
</blockquote><div><br></div><div>var_Change is one way to add items to menus during run-time. But you might also need var_AddCallback and friends. One way to understand this method is to check out e.g. <a href="http://git.videolan.org/?p=vlc.git;a=blob;f=modules/audio_output/directx.c">http://git.videolan.org/?p=vlc.git;a=blob;f=modules/audio_output/directx.c</a> and look lines 439-441 and 561-562</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
2) For testing, there are too many steps to open/drill down to/toggle pref/commit prefs dialog. We really need a way to reduce that to 1 step. Is there a way to bind a hotkey to a module, or am I going to have to hack this behavior in?<br>
</blockquote><div><br></div><div>Command-line switches via .bat or similar are the easiest way to go. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br>
Thanks,<br>
<br>
<br>
Walt Horat<br>
-----<br>
"Much human ingenuity has gone into finding the ultimate Before.<br>
The current state of knowledge can be summarized thus:<br>
In the beginning, there was nothing, which exploded" - Terry Pratchett<br>
<br>
<br>
<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
</blockquote></div><br>