[vlc-commits] Bump vlcpp submodule

Steve Lhomme git at videolan.org
Wed Dec 14 17:15:17 UTC 2022


npapi-vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Dec 14 08:20:43 2022 +0100| [ac609b08a0fc865d420367496a3d686bef88f71a] | committer: Steve Lhomme

Bump vlcpp submodule

Use new audio channel API in 4.0

> https://code.videolan.org/videolan/npapi-vlc/commit/ac609b08a0fc865d420367496a3d686bef88f71a
---

 .gitlab-ci.yml          | 4 ++--
 activex/vlccontrol2.cpp | 4 ++--
 vlcpp                   | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c913fe2..5159715 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,7 +1,7 @@
 variables:
   GIT_SUBMODULE_STRATEGY: normal
-  WIN32_IMAGE: registry.videolan.org/medialibrary-win32:20220728090852
-  WIN64_IMAGE: registry.videolan.org/medialibrary-win64:20220728080707
+  WIN32_IMAGE: registry.videolan.org/medialibrary-win32:20221214164726
+  WIN64_IMAGE: registry.videolan.org/medialibrary-win64:20221214163635
   PKG_CONFIG_LIBDIR: /prefix/lib/pkgconfig
 
 .common_build:
diff --git a/activex/vlccontrol2.cpp b/activex/vlccontrol2.cpp
index 0d770fd..a1d73ea 100644
--- a/activex/vlccontrol2.cpp
+++ b/activex/vlccontrol2.cpp
@@ -533,14 +533,14 @@ STDMETHODIMP VLCAudio::get_channel(long *channel)
     if( NULL == channel )
         return E_POINTER;
 
-    *channel = _plug->get_player().get_mp().channel();
+    *channel = (int)_plug->get_player().get_mp().stereoMode();
 
     return S_OK;
 }
 
 STDMETHODIMP VLCAudio::put_channel(long channel)
 {
-    _plug->get_player().get_mp().setChannel( channel );
+    _plug->get_player().get_mp().setStereoMode( (libvlc_audio_output_stereomode_t) channel );
 
     return S_OK;
 }
diff --git a/vlcpp b/vlcpp
index d077d7e..0116906 160000
--- a/vlcpp
+++ b/vlcpp
@@ -1 +1 @@
-Subproject commit d077d7e9ac3810b4adda123e1d8156bbcd3793b5
+Subproject commit 0116906d78ef4d8a02c38ff51e83cfb48923a017



More information about the vlc-commits mailing list