Skip to content

Commit

Permalink
Updated to use new way of getting luacom
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgammon committed Sep 2, 2010
1 parent 5489d89 commit 109b9e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/Lua_Sapi.xml
Expand Up @@ -9,8 +9,8 @@
language="Lua"
purpose="Speaks incoming text using SAPI."
date_written="2010-09-01"
requires="3.45"
version="1.0"
requires="4.60"
version="1.1"
>

<description trim="y">
Expand Down Expand Up @@ -96,7 +96,7 @@ end -- function speak_skip
function OnPluginInstall ()
-- load Lua COM
assert (package.loadlib ("luacom.dll", "luacom_open")) ()
require "luacom"
-- Instantiate a SAPI voice obejct
talk = assert (luacom.CreateObject ("SAPI.SpVoice"), "cannot open SAPI")
Expand Down

0 comments on commit 109b9e6

Please sign in to comment.