Hello, and thanks for the help.
I am new to Corona, and I am having trouble getting some background music to play properly; I suspect it may be related to using Windows 10, but I am new, so I can’t be sure.
This is the line of code causing the trouble:
local musicLevel1 = audio.loadStream(“theme.mp3”)
theme.mp3 is just a 416kb music file, when I try to run the code, Corona Simulator crashes at this line without an error.
I also tried a theme.mp4 file, and Corona Simulator works fine and the music plays, but when I run it on a phone, the music is missing.
However, when I try theme.wav, everything works fine, and it plays fine on the Simulator and the phone. theme.wav is the original file, and the mp3 and mp4 versions are both compressed from the wav original. All of the files play fine outside of Corona.
I also tried other music files in various formats, and it’s hit and miss. Sometimes an MP3 will work and sometimes it won’t.
Although there are no errors in Corona, there are errors in the Windows Event Log. I’ll post those errors below. You’ll notice the one error mentions mfmkvsrcsnk.dll which is a Win10 DLL, and that’s why I’m suspicious it may be a Win10 issue, but I’m trying to route out the problem.
I will also attach the MP3 and MP4 files as a ZIP, but the WAV file is over 2MB, so I can’t attach it.
Any help you can provide would be very much appreciated.
Thank you
Here are the two associated Windows Events:
Application Error:
Faulting application name: Corona Simulator.exe, version: 15.0.2646.0, time stamp: 0x55666c74
Faulting module name: mfmkvsrcsnk.dll, version: 10.0.10130.0, time stamp: 0x55602e55
Exception code: 0xc0000005
Fault offset: 0x000103a8
Faulting process id: 0x1f60
Faulting application start time: 0x01d0b34d2d40564e
Faulting application path: C:\Program Files (x86)\Corona Labs\Corona SDK\Corona Simulator.exe
Faulting module path: C:\Windows\System32\mfmkvsrcsnk.dll
Report Id: b43fb378-1963-4a43-836b-1b7f30fa4ad8
Faulting package full name:
Faulting package-relative application ID:
Appcrash Information:
Fault bucket 107375950793, type 1
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: Corona Simulator.exe
P2: 15.0.2646.0
P3: 55666c74
P4: mfmkvsrcsnk.dll
P5: 10.0.10130.0
P6: 55602e55
P7: c0000005
P8: 000103a8
P9:
P10:
Attached files:
C:\Users\duane\AppData\Local\Temp\WER8F6F.tmp.WERInternalMetadata.xml
C:\Users\duane\AppData\Local\Temp\WER91E1.tmp.appcompat.txt
C:\ProgramData\Microsoft\Windows\WER\Temp\WER925F.tmp.hdmp
C:\Users\duane\AppData\Local\Temp\WER9406.tmp.WERDataCollectionFailure.txt
These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_Corona Simulator_d0b5c4b9d048d8c7a66dd69be33fd47867dee083_cc5829a0_179b9432
Analysis symbol:
Rechecking for solution: 0
Report Id: b43fb378-1963-4a43-836b-1b7f30fa4ad8
Report Status: 4104
Hashed bucket: 0811c18d6b9ac17bf9d49639b5ae4486