diff --git a/README.adoc b/README.adoc index 68610bb..69dbf9a 100644 --- a/README.adoc +++ b/README.adoc @@ -48,7 +48,7 @@ local pulseaudio = require("lua_libpulse_glib") local ppretty = require("pl.pretty") local pa = pulseaudio.new() -local ctx = pa:context() +local ctx = pa:context("My Test App") local loop = lgi.GLib.MainLoop.new() diff --git a/doc/config.ld b/doc/config.ld index 028a5d3..cdfeb49 100644 --- a/doc/config.ld +++ b/doc/config.ld @@ -20,7 +20,7 @@ indices will be off by one. local ppretty = require("pl.pretty") local pa = pulseaudio.new() - local ctx = pa:context() + local ctx = pa:context("My Test App") local loop = lgi.GLib.MainLoop.new()