just so everyone does not submit a zillion bugs here is one I just submitted
CASE # 16562
Runtime error
Passed unexpected parameter type to audio.stop()
This worked flawlessly as of build 868 - but when I loaded 878 ( windows and mac - confirmed ) audio.stop Crashes
this is the line I get the error on -
if musicHandle ~= nil then audio.stop(musicHandle) end
I get this Error
stack traceback:
[C]: ?
[C]: in function ‘stop’
…corona-mobile\beta - projects\MyApp\SomeFile.LUA.lua:971: in function
'_list
Steps to reproduce
musicHandle = audio.loadStream(_G.audioDir … musicfile )
audio.play(musicHandle,{ loops=-1 })
–the music loads and plays fine. but when you do an audio.stop passing the handle - it crashes
if musicHandle ~= nil then audio.stop(musicHandle) end
the code works flawlessly in 868 - reinstalled - but 878 - bombs
Larry
DoubleSlashDesign.com
[import]uid: 11860 topic_id: 29813 reply_id: 329813[/import]