Ok. so I couldn't get it to work. But for my simplistic use of sound, this shim did the trick:


var soundManager =
{
    setup : function(args)
    {
        args.onready();
    },
    
    createSound : function(args)
    {
        var new_sound = document.createElement('audio');
        new_sound.src = args.url;
        new_sound.id = args.id;
        new_sound.preload = true;
        
        if(args.loop != undefined)
        {
            new_sound.loop = args.loop;
        }
        else
            new_sound.loop = false;
        
        new_sound.onfinish = args.onfinish;
        
        new_sound.stop = function()
        {
            this.pause();
        }
        
        return new_sound;
    }
    
};