aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordvs12024-10-31 16:03:04 +1000
committerdvs12024-10-31 16:03:04 +1000
commit68955b8d404ed09203f5c1dfe9429c27c083a0c8 (patch)
treeec6109ef3fc258ad0cdedcf6ad4eacd7f6003400
parentMove the espeak stuff into it's own function, might help get it to behave. (diff)
downloadJackOnAllDevices-68955b8d404ed09203f5c1dfe9429c27c083a0c8.zip
JackOnAllDevices-68955b8d404ed09203f5c1dfe9429c27c083a0c8.tar.gz
JackOnAllDevices-68955b8d404ed09203f5c1dfe9429c27c083a0c8.tar.bz2
JackOnAllDevices-68955b8d404ed09203f5c1dfe9429c27c083a0c8.tar.xz
Language cleanup.
-rwxr-xr-xaataaj.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/aataaj.lua b/aataaj.lua
index 59e58f1..99cf9ff 100755
--- a/aataaj.lua
+++ b/aataaj.lua
@@ -191,7 +191,7 @@ local speak = function(card, subdevice, device, words, printIt, forkIt)
191end 191end
192 192
193if 'start' == arg[1] then 193if 'start' == arg[1] then
194 print('Your ' .. cnt .. ' audio devices are ') 194 print('Your ' .. cnt .. ' audio devices are - ')
195 for k,C in pairs(Cards) do 195 for k,C in pairs(Cards) do
196 for j,c in ipairs(C['playbackDevs']) do 196 for j,c in ipairs(C['playbackDevs']) do
197 speak(C.name, C['playbackDevs'][j], C.card - 1, 'Your ' .. cnt .. ' audio devices are - ', false, true) 197 speak(C.name, C['playbackDevs'][j], C.card - 1, 'Your ' .. cnt .. ' audio devices are - ', false, true)
@@ -218,7 +218,7 @@ if 'start' == arg[1] then
218 218
219 for k,C in pairs(Cards) do 219 for k,C in pairs(Cards) do
220 if (C.card - 1) == choice then 220 if (C.card - 1) == choice then
221 print('You choose ' .. choice .. ' ' .. C.name) 221 print('Your choice is ' .. choice .. ' ' .. C.name)
222 ourCard = C.name 222 ourCard = C.name
223 end 223 end
224 end 224 end