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