AudioContext.html 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <!DOCTYPE html>
  2. <html lang="it">
  3. <head>
  4. <meta charset="utf-8" />
  5. <base href="../../../" />
  6. <script src="page.js"></script>
  7. <link type="text/css" rel="stylesheet" href="page.css" />
  8. </head>
  9. <body>
  10. <h1>[name]</h1>
  11. <p class="desc">
  12. Contiene i metodi per impostare un [link:https://developer.mozilla.org/en-US/docs/Web/API/AudioContext AudioContext].<br /><br />
  13. Usato internamente dalle classi [page:AudioListener AudioListener] e [page:AudioLoader AudioLoader].<br /><br />
  14. Utilizza le [link:https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API API Web Audio].
  15. </p>
  16. <h2>Metodi</h2>
  17. <h3>[method:AudioContext getContext]()</h3>
  18. <p>
  19. Restituisce il valore della variabile `context` nell'ambito esterno, se definito,
  20. altrimenti lo imposta in un nuovo [link:https://developer.mozilla.org/en-US/docs/Web/API/AudioContext AudioContext].
  21. </p>
  22. <h3>[method:AudioContext setContext]( [param:AudioContext value] )</h3>
  23. <p>
  24. Imposta la varibile `context` nell'ambito esterno su `value`.
  25. </p>
  26. <h2>Source</h2>
  27. <p>
  28. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  29. </p>
  30. </body>
  31. </html>