[libbluray-devel] Enabled sound effects when menu selection is changed with mouse

hpi1 git at videolan.org
Wed Dec 7 15:18:31 CET 2011


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Wed Dec  7 16:16:40 2011 +0200| [857d0e3a9970f83b04e37593ea24ab55e7ce36ea] | committer: hpi1

Enabled sound effects when menu selection is changed with mouse

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=857d0e3a9970f83b04e37593ea24ab55e7ce36ea
---

 src/libbluray/decoders/graphics_controller.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/libbluray/decoders/graphics_controller.c b/src/libbluray/decoders/graphics_controller.c
index dc40545..118c5ac 100644
--- a/src/libbluray/decoders/graphics_controller.c
+++ b/src/libbluray/decoders/graphics_controller.c
@@ -1057,6 +1057,11 @@ static int _mouse_move(GRAPHICS_CONTROLLER *gc, unsigned x, unsigned y, GC_NAV_C
         }
 
         new_btn_id = button->id;
+
+        if (cmds) {
+            cmds->sound_id_ref = button->selected_sound_id_ref;
+        }
+
         break;
     }
 



More information about the libbluray-devel mailing list