sound not loading

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Kazaroth
Posts: 9
Joined: Tue Nov 15, 2011 11:29 pm

sound not loading

#1 Post by Kazaroth » Mon Nov 21, 2011 2:37 pm

MM verson 1.02 loaded

Code: Select all

	soundresource = soundLoad(getExecutionPath() .. "/alarm.wav");
	if( soundresource == nil ) then
		warning("Failed to load sound file " .. getExecutionPath() .. "/alarm.wav");
	end
I have put the file in the directory printed by the warning. In the cmd window, I copied the path and placed it into Internet Explorer and it played fine. I run the script and the warning occurs. the sound is not loaded.

I am running Windows 7. Could it be that the function is not compatible with W7?

I also placed wav file in multiple areas and it will not load. I have also used a path "C:\micromacro\alarm.wav", "/micromacro/alarm.wav", "C:/micromacro/alarm.wav". None worked when the files was in the main folder. Any thoughts?

User avatar
Administrator
Site Admin
Posts: 5331
Joined: Sat Jan 05, 2008 4:21 pm

Re: sound not loading

#2 Post by Administrator » Mon Nov 21, 2011 4:52 pm

Install OpenAL.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Semrush [Bot] and 1 guest