Adapt to changes in WebAudio Platform API.

Reviewed by: Sergio Correia
Adapt to changes in WebAudio Platform API.

Reviewed by: Luciano Wolf