The WamParameterInfo objects returned by getParameterInfo are missing the valueString and normalize methods. As a result, they do not conform to the API.
This issue can be observed using the following JavaScript snippet:
(async()=>{
const audioContext = new AudioContext();
const { default: initializeWamHost } = await import("https://www.webaudiomodules.com/sdk/2.0.0-alpha.6/src/initializeWamHost.js");
const [group] = await initializeWamHost(audioContext, "example");
const factory = (await import("https://jempasam.github.io/cardboardwam/dist/index.mjs")).default;
const wam = await factory.createInstance(group, audioContext);
console.log(await wam.audioNode.getParameterInfo());
})();
This script demonstrates that the WAM instance correctly uses the SDK, yet the returned WamParameterInfo objects do not fully implement the expected API.
The WamParameterInfo objects returned by getParameterInfo are missing the valueString and normalize methods. As a result, they do not conform to the API.
This issue can be observed using the following JavaScript snippet:
This script demonstrates that the WAM instance correctly uses the SDK, yet the returned WamParameterInfo objects do not fully implement the expected API.