iAllow to configure web audio extension to JS. - surf - Surf web browser. Err gopher.r-36.net 70 i Err gopher.r-36.net 70 1Log /scm/surf//log.gph gopher.r-36.net 70 1Files /scm/surf//files.gph gopher.r-36.net 70 1Refs /scm/surf//refs.gph gopher.r-36.net 70 1README /scm/surf//file/README.gph gopher.r-36.net 70 1LICENSE /scm/surf//file/LICENSE.gph gopher.r-36.net 70 i--- Err gopher.r-36.net 70 1commit a7dcfcc817d6ea1747488fcbf8b0172177fd6c26 /scm/surf//commit/a7dcfcc817d6ea1747488fcbf8b0172177fd6c26.gph gopher.r-36.net 70 1parent b4914fedd20acd4b9370821c3e164fa2ebb746f7 /scm/surf//commit/b4914fedd20acd4b9370821c3e164fa2ebb746f7.gph gopher.r-36.net 70 hAuthor: Christoph Lohmann <20h@r-36.net> URL:mailto:20h@r-36.net gopher.r-36.net 70 iDate: Fri, 21 Apr 2017 21:33:08 +0200 Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iAllow to configure web audio extension to JS. Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iDiffstat: Err gopher.r-36.net 70 i config.def.h | 2 ++ Err gopher.r-36.net 70 i surf.c | 2 ++ Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i2 files changed, 4 insertions(+), 0 deletions(-) Err gopher.r-36.net 70 i--- Err gopher.r-36.net 70 1diff --git a/config.def.h b/config.def.h /scm/surf//file/config.def.h.gph gopher.r-36.net 70 i@@ -50,6 +50,8 @@ static Bool enablemediastream = FALSE; /* Allow access to local video Err gopher.r-36.net 70 i * and audio input devices. */ Err gopher.r-36.net 70 i static Bool enablemediasource = FALSE; /* Allow JS to generate media Err gopher.r-36.net 70 i * streams. */ Err gopher.r-36.net 70 i+static Bool enablewebaudio = FALSE; /* Allow JS to generate wav Err gopher.r-36.net 70 i+ * streams. */ Err gopher.r-36.net 70 i static Bool dnsprefetching = FALSE; /* DNS prefetching is insecure, Err gopher.r-36.net 70 i * so disabled. */ Err gopher.r-36.net 70 i static Bool offlineappcache = FALSE; /* Allow offline web application Err gopher.r-36.net 70 1diff --git a/surf.c b/surf.c /scm/surf//file/surf.c.gph gopher.r-36.net 70 i@@ -1092,6 +1092,8 @@ newclient(void) Err gopher.r-36.net 70 i g_object_set(G_OBJECT(settings), Err gopher.r-36.net 70 i "enable-spell-checking", enablespellchecking, NULL); Err gopher.r-36.net 70 i g_object_set(G_OBJECT(settings), Err gopher.r-36.net 70 i+ "enable-webaudio", enablewebaudio, NULL); Err gopher.r-36.net 70 i+ g_object_set(G_OBJECT(settings), Err gopher.r-36.net 70 i "enable-developer-extras", enableinspector, NULL); Err gopher.r-36.net 70 i g_object_set(G_OBJECT(settings), Err gopher.r-36.net 70 i "enable-default-context-menu", kioskmode ^ 1, NULL); Err gopher.r-36.net 70 .