Serious audio problem in Build 2189

I am using the newest release 2189 on Windows 7 SP1

I have a problem  with audio.loadSound even when running a sample code.

Whatever uses
local sound = audio.loadsound(…)
(even only once)
Causes
Warning: audio error: Already initializedWarning: audio.loadSound: failed to create sound (sound.wav)

And everytime audio.play(sound) causes the same warning

Is it a system related problem?

Hi @alex608,

Please post some more code which produces the error. I’m not aware of any issues with this API, and we haven’t made any changes to the audio library since the previous public build.

Brent

Getting the same error.

local coin = audio.loadSound(“coin.ogg”)

audio.play(coin)

Warning: audio error: Already initializedWarning: audio.loadStream: failed to cr
eate sound (coin.ogg)

However, thats only in the simulator. Guess some windows issues. :slight_smile:

I wonder if Windows has a decoder for .oog files.

Hello,

I found that if I don’t have a real audio output for my system(win7),

Every time audio.loadsound() and  audio.play() causes Warning.

I can fix it by inserting earphones.

Ok, that’s new!

Which would not happen in build 2100.

I don’t think it’s  intentionally, at least the warning text doesn’t fit the real issue.

Just wanted to say that with the latest windows update the problem got solved here.
Just reboot and let it install.

My windows update doesn’t fix that.

Windows 7 SP1 with everything updated.

I still need a real audio output to prevent that warning.

Hi @alex608,

Please post some more code which produces the error. I’m not aware of any issues with this API, and we haven’t made any changes to the audio library since the previous public build.

Brent

Getting the same error.

local coin = audio.loadSound(“coin.ogg”)

audio.play(coin)

Warning: audio error: Already initializedWarning: audio.loadStream: failed to cr
eate sound (coin.ogg)

However, thats only in the simulator. Guess some windows issues. :slight_smile:

I wonder if Windows has a decoder for .oog files.

Hello,

I found that if I don’t have a real audio output for my system(win7),

Every time audio.loadsound() and  audio.play() causes Warning.

I can fix it by inserting earphones.

Ok, that’s new!

Which would not happen in build 2100.

I don’t think it’s  intentionally, at least the warning text doesn’t fit the real issue.

Just wanted to say that with the latest windows update the problem got solved here.
Just reboot and let it install.

My windows update doesn’t fix that.

Windows 7 SP1 with everything updated.

I still need a real audio output to prevent that warning.