From 4fef9c46f85aefd1902b32bfbcf3ba5d7f9938b3 Mon Sep 17 00:00:00 2001 From: dvs1 Date: Wed, 23 Oct 2024 19:23:22 +1000 Subject: If espeak has something to say, it should just speak it. --- aataaj.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'aataaj.lua') diff --git a/aataaj.lua b/aataaj.lua index 655c7ef..f7371cf 100755 --- a/aataaj.lua +++ b/aataaj.lua @@ -175,7 +175,7 @@ for i,l in ipairs(cards.lines) do print("\tFound playback device " .. i - 1 .. " : " .. Cards[l]['name'] .. "\tDEVICE: " .. Cards[l]['playbackDevs'][j] .. ' ' .. n) if 'JACK' ~= args[1] then print('\t\tALSA_CARD=' .. i - 1 .. ' ' .. speaker .. ' "Found playback device ' .. i - 1 .. ' : ' .. Cards[l]['name'] .. ' DEVICE: ' .. Cards[l]['playbackDevs'][j] .. ' ' .. n .. '"') - __('ALSA_CARD=' .. i - 1 .. ' ' .. speaker .. ' "Found playback device ' .. i - 1 .. ' : ' .. Cards[l]['name'] .. ' DEVICE: ' .. Cards[l]['playbackDevs'][j] .. ' ' .. n .. '"'):noErr():Do() + __('ALSA_CARD=' .. i - 1 .. ' ' .. speaker .. ' "Found playback device ' .. i - 1 .. ' : ' .. Cards[l]['name'] .. ' DEVICE: ' .. Cards[l]['playbackDevs'][j] .. ' ' .. n .. '"'):noErr():noOut():Do() __'sleep 1':Do() end end -- cgit v1.1