- Status Closed
- Percent Complete
- Task Type Patches
- Category User Interface
- Assigned To No-one
- Operating System All players
- Severity Low
- Priority Very Low
- Reported Version Daily build (which?)
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Opened by Stephane Doyon - 2007-08-09
Last edited by Steve Bavin - 2007-10-09
FS#7563 - Speak dynamic equalizer setting menus
Dynamic menus use a callback function to provide the text of each menu
item. That’s how the “Simple EQ Settings” menu is able to display a
configurable frequency in a menu item name, and it’s also used in the
“Advanced EQ Settings” menu to avoid repetitive lang entries for Peak
Filter 1, 2 and 3. Those menu items are not spoken however.
What I did is simply to add a voice callback to dynamic menus, along side
the text_callback. The voice_callback goes ahead and speaks the item,
rather than returning lang IDs. It’s called from the talk_menu_item()
function that speaks constant items.
And I implemented such callbacks for the two eq menus, of course.
The menu system macros are a bit painful to follow, but my modifications
are straightforward.
2007-10-09 07:41
Reason for closing: Accepted
Additional comments about closing:
Speak to Bagder or Zagor on IRC… :)
interesting patch. don’t know why it hasn’t been implmented since the other sounds settings are voiced.