This microphone plugin is obviously haunting me...
I had a perfectly working microphone in my project (as well as in the provided example project). Had to do a system restore (after a HDD crash), new fresh Gideros 2016.8.1 install, and the microphone.dll is in the right place.
Now when running either of the projects in Gideros player I get this: (output from example project)
main.lua:9: attempt to index local 'microphone' (a nil value)
main.lua:9: in main chunk
The lines looks like this:
1 require "microphone"
3 local levelMeter = LevelMeter.new()
7 local microphone = Microphone.new(nil, 22050, 1, 16)
9 microphone:addEventListener(Event.DATA_AVAILABLE, function(event)
The dll and module is obvously loaded, but I think something's gone wrong with Microphone.new(). What's going on?
I don't know what will happen after Android (or IOS) export, I'm not sure if I dare to try...