Mercurial > hg > webaudioevaluationtool
comparison interfaces/blank.js @ 2113:d2abe3b139d2
Interfaces report error if audio cannot be loaded/decoded/played
author | Nicholas Jillings <nickjillings@users.noreply.github.com> |
---|---|
date | Mon, 22 Feb 2016 15:48:28 +0000 |
parents | c277da1e89ca |
children | 124e6c702845 |
comparison
equal
deleted
inserted
replaced
2112:705025e30784 | 2113:d2abe3b139d2 |
---|---|
55 // If there is no value node (such as outside reference), return null | 55 // If there is no value node (such as outside reference), return null |
56 // If there are multiple value nodes (such as multiple scale / 2D scales), return an array of nodes with each value node having an 'interfaceName' attribute | 56 // If there are multiple value nodes (such as multiple scale / 2D scales), return an array of nodes with each value node having an 'interfaceName' attribute |
57 // Use storage.document.createElement('value'); to generate the XML node. | 57 // Use storage.document.createElement('value'); to generate the XML node. |
58 | 58 |
59 }; | 59 }; |
60 this.error = function() { | |
61 // If there is an error with the audioObject, this will be called to indicate a failure | |
62 } | |
60 }; | 63 }; |
61 | 64 |
62 function resizeWindow(event) | 65 function resizeWindow(event) |
63 { | 66 { |
64 // Called on every window resize event, use this to scale your page properly | 67 // Called on every window resize event, use this to scale your page properly |