aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorace20022 <ace20022@ymail.com>2016-03-24 18:34:37 +0100
committerace20022 <ace20022@ymail.com>2017-03-16 15:23:14 +0100
commit730c07d5675fcdf68dddbc2656438dc85d13731c (patch)
tree82c81c3c632ad994b18b07ff933bd1cb39a51d67 /lib
parent40da01b0cde488f6b5be56fcba83fda7901c7d89 (diff)
[bluray] Add sound effect retrieval. Currently it's not processed any further.
Diffstat (limited to 'lib')
-rw-r--r--lib/DllLibbluray.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/DllLibbluray.h b/lib/DllLibbluray.h
index f5a337fe19..88506984b2 100644
--- a/lib/DllLibbluray.h
+++ b/lib/DllLibbluray.h
@@ -80,6 +80,7 @@ public:
#endif
virtual int bd_menu_call (BLURAY *bd, int64_t pts)=0;
virtual int bd_mouse_select (BLURAY *bd, int64_t pts, uint16_t x, uint16_t y)=0;
+ virtual int bd_get_sound_effect (BLURAY *bd, unsigned sound_id, struct bd_sound_effect *effect)=0;
};
class DllLibbluray : public DllDynamic, DllLibblurayInterface
@@ -128,6 +129,7 @@ class DllLibbluray : public DllDynamic, DllLibblurayInterface
#endif
DEFINE_METHOD2(int, bd_menu_call, (BLURAY *p1, int64_t p2))
DEFINE_METHOD4(int, bd_mouse_select, (BLURAY *p1, int64_t p2, uint16_t p3, uint16_t p4))
+ DEFINE_METHOD3(int, bd_get_sound_effect, (BLURAY *p1, unsigned p2, struct bd_sound_effect* p3))
BEGIN_METHOD_RESOLVE()
RESOLVE_METHOD(bd_get_titles)
@@ -172,6 +174,7 @@ class DllLibbluray : public DllDynamic, DllLibblurayInterface
#endif
RESOLVE_METHOD(bd_menu_call)
RESOLVE_METHOD(bd_mouse_select)
+ RESOLVE_METHOD(bd_get_sound_effect)
END_METHOD_RESOLVE()
public: