[vlc-commits] aout/ios: Fix missing add_sw_gain macro

Marvin Scholz git at videolan.org
Thu Jun 13 11:31:42 CEST 2019


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Thu Jun 13 11:20:19 2019 +0200| [160fc87269f61334bfaf0d328b5bb2e585015f92] | committer: Marvin Scholz

aout/ios: Fix missing add_sw_gain macro

Without that, the gain option would be missing, causing an assertion
when calling var_InheritFloat in aout_SoftVolumeInit.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=160fc87269f61334bfaf0d328b5bb2e585015f92
---

 modules/audio_output/audiounit_ios.m | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/audio_output/audiounit_ios.m b/modules/audio_output/audiounit_ios.m
index b4f10bef2a..bea6af2091 100644
--- a/modules/audio_output/audiounit_ios.m
+++ b/modules/audio_output/audiounit_ios.m
@@ -642,5 +642,6 @@ vlc_module_begin ()
     set_capability("audio output", 101)
     set_category(CAT_AUDIO)
     set_subcategory(SUBCAT_AUDIO_AOUT)
+    add_sw_gain()
     set_callbacks(Open, Close)
 vlc_module_end ()



More information about the vlc-commits mailing list