UNPKG

crossbrowdy

Version:

A Multimedia JavaScript framework to create real cross-platform and hybrid game engines, games, emulators, multimedia libraries and apps.

1 lines 2.97 MB
angular.module("search").constant("SEARCH_DATA", {"src":["C:\\AppServ\\www\\CrossBrowdy\\CrossBrowdy"],"data":[{"comment":"/**\r\n * @file Audio formats and audio APIs support detection. Contains the {@link CB_AudioDetector} static class.\r\n * @author Joan Alba Maldonado <workindalian@gmail.com>\r\n */","meta":{"filename":"CB_AudioDetector.js","lineno":1,"columnno":0,"path":"C:\\AppServ\\www\\CrossBrowdy\\CrossBrowdy\\CrossBase\\audiovisual\\audio","code":{}},"name":"CrossBase/audiovisual/audio/CB_AudioDetector.js","kind":"file","description":"<p>Audio formats and audio APIs support detection. Contains the {@link CB_AudioDetector} static class.</p>","preserveName":true,"author":["Joan Alba Maldonado <workindalian@gmail.com>"],"longname":"CrossBase/audiovisual/audio/CB_AudioDetector.js","scope":"global"},{"comment":"/**\r\n * Static class to detect audio API and formats supported. Possible audio APIs are \"WAAPI\" ([HTML5 Web Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API}), \"SM2\" ([SoundManager 2]{@link http://schillmania.com/projects/soundmanager2/}), \"ACMP\" ([Apache Cordova Media Plugin]{@link https://github.com/apache/cordova-plugin-media}) or \"AAPI\" ([HTML5 Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio}). It will return itself if it is tried to be instantiated.\r\n * @namespace\r\n */","meta":{"range":[731,789],"filename":"CB_AudioDetector.js","lineno":11,"columnno":4,"path":"C:\\AppServ\\www\\CrossBrowdy\\CrossBrowdy\\CrossBase\\audiovisual\\audio","code":{"id":"astnode100000003","name":"CB_AudioDetector","type":"FunctionExpression"}},"description":"<p>Static class to detect audio API and formats supported. Possible audio APIs are &quot;WAAPI&quot; ([HTML5 Web Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API}), &quot;SM2&quot; ([SoundManager 2]{@link http://schillmania.com/projects/soundmanager2/}), &quot;ACMP&quot; ([Apache Cordova Media Plugin]{@link https://github.com/apache/cordova-plugin-media}) or &quot;AAPI&quot; ([HTML5 Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio}). It will return itself if it is tried to be instantiated.</p>","kind":"namespace","name":"CB_AudioDetector","longname":"CB_AudioDetector","scope":"global","params":[]},{"comment":"/**\r\n\t * Returns an array of strings with the audio formats that are supported (from an array if it is given) by the current client and ordered by support level. Uses the {@link CB_AudioDetector.isAudioFormatSupported} function internally.\r\n\t * @function\r\n\t * @param {array} [audioFormats=CB_Configuration.CrossBase.CB_AudioFileCache_PREFERRED_AUDIO_FORMATS] - An array of strings with the audio format or audio formats (they can include just the format as 'audio/ogg' or also the codec as for example 'audio/ogg; codecs=\"vorbis\"') that we want to check.\r\n\t * @param {array} [supportLevels=['probably', 'maybe']] - An array with the support level or support levels allowed. Two possible levels: \"probably\" and \"maybe\". The \"probably\" audio formats are more likely to be supported than the \"maybe\" ones.\r\n\t * @param {boolean} [dataURI=false] - Specifies whether we want to check the support for data URI audios or just for normal audio files.\r\n\t * @returns {array} Returns an array of strings with the audio formats that are supported (from an array if it is given) and ordered by support level.\r\n\t */","meta":{"range":[2362,5097],"filename":"CB_AudioDetector.js","lineno":39,"columnno":1,"path":"C:\\AppServ\\www\\CrossBrowdy\\CrossBrowdy\\CrossBase\\audiovisual\\audio","code":{"id":"astnode100000045","name":"CB_AudioDetector.getSupportedAudioFormats","type":"FunctionExpression","paramnames":["audioFormats","supportLevels","dataURI"]},"vars":{"audioFormats":"CB_AudioDetector.getSupportedAudioFormats~audioFormats","supportLevels":"CB_AudioDetector.getSupportedAudioFormats~supportLevels","supportedAudioFormats":"CB_AudioDetector.getSupportedAudioFormats~supportedAudioFormats","audioFormatsLength":"CB_AudioDetector.getSupportedAudioFormats~audioFormatsLength","supportLevelsLength":"CB_AudioDetector.getSupportedAudioFormats~supportLevelsLength","y":"CB_AudioDetector.getSupportedAudioFormats~y","x":"CB_AudioDetector.getSupportedAudioFormats~x","supportedAudioFormats[undefined]":"CB_AudioDetector.getSupportedAudioFormats~supportedAudioFormats.undefined]","CB_AudioDetector._getSupportedAudioFormatsReturnCache[undefined]":"CB_AudioDetector._getSupportedAudioFormatsReturnCache[undefined]","CB_AudioDetector._getSupportedAudioFormatsReturnCache[undefined][undefined]":"CB_AudioDetector._getSupportedAudioFormatsReturnCache[undefined][undefined]","CB_AudioDetector._getSupportedAudioFormatsReturnCache[undefined][undefined][undefined]":"CB_AudioDetector._getSupportedAudioFormatsReturnCache[undefined][undefined][undefined]"}},"description":"<p>Returns an array of strings with the audio formats that are supported (from an array if it is given) by the current client and ordered by support level. Uses the {@link CB_AudioDetector.isAudioFormatSupported} function internally.</p>","kind":"function","params":[{"type":{"names":["array"]},"optional":true,"defaultvalue":"CB_Configuration.CrossBase.CB_AudioFileCache_PREFERRED_AUDIO_FORMATS","description":"<p>An array of strings with the audio format or audio formats (they can include just the format as 'audio/ogg' or also the codec as for example 'audio/ogg; codecs=&quot;vorbis&quot;') that we want to check.</p>","name":"audioFormats"},{"type":{"names":["array"]},"optional":true,"defaultvalue":"['probably', 'maybe']","description":"<p>An array with the support level or support levels allowed. Two possible levels: &quot;probably&quot; and &quot;maybe&quot;. The &quot;probably&quot; audio formats are more likely to be supported than the &quot;maybe&quot; ones.</p>","name":"supportLevels"},{"type":{"names":["boolean"]},"optional":true,"defaultvalue":false,"description":"<p>Specifies whether we want to check the support for data URI audios or just for normal audio files.</p>","name":"dataURI"}],"returns":[{"type":{"names":["array"]},"description":"<p>Returns an array of strings with the audio formats that are supported (from an array if it is given) and ordered by support level.</p>"}],"name":"getSupportedAudioFormats","longname":"CB_AudioDetector.getSupportedAudioFormats","memberof":"CB_AudioDetector","scope":"static"},{"comment":"/**\r\n\t * Returns the support level of a given audio format by the current client.\r\n\t * @function\r\n\t * @param {string} audioFormat - The audio format (it can include just the format as 'audio/ogg' or also the codec as for example 'audio/ogg; codecs=\"vorbis\"') that we want to check.\r\n\t * @param {boolean} [dataURI=false] - Specifies whether we want to check the support for data URI audios or just for normal audio files.\r\n\t * @returns {string} Returns the support level of the given audio format (it will return \"probably\", \"maybe\" or an empty string which means not supported). The \"probably\" audio formats are more likely to be supported than the \"maybe\" ones.\r\n\t * @todo Think about using MediaSource.isTypeSupported().\r\n\t * @todo Some web clients does not support data URIs for Audio element so we should take this into account.\r\n\t * @todo Take into account that data URIs may not be supported when WAAPI is being emulated.\r\n\t */","meta":{"range":[6149,8176],"filename":"CB_AudioDetector.js","lineno":107,"columnno":1,"path":"C:\\AppServ\\www\\CrossBrowdy\\CrossBrowdy\\CrossBase\\audiovisual\\audio","code":{"id":"astnode100000307","name":"CB_AudioDetector.isAudioFormatSupported","type":"FunctionExpression","paramnames":["audioFormat","dataURI"]},"vars":{"audioFormat":"CB_AudioDetector.isAudioFormatSupported~audioFormat","isSupported":"CB_AudioDetector.isAudioFormatSupported~isSupported","CB_AudioDetector._audioObject":"CB_AudioDetector._audioObject","CB_AudioDetector._isAudioFormatSupportedReturnCache[undefined]":"CB_AudioDetector._isAudioFormatSupportedReturnCache[undefined]","CB_AudioDetector._isAudioFormatSupportedReturnCache[undefined][undefined]":"CB_AudioDetector._isAudioFormatSupportedReturnCache[undefined][undefined]"}},"description":"<p>Returns the support level of a given audio format by the current client.</p>","kind":"function","params":[{"type":{"names":["string"]},"description":"<p>The audio format (it can include just the format as 'audio/ogg' or also the codec as for example 'audio/ogg; codecs=&quot;vorbis&quot;') that we want to check.</p>","name":"audioFormat"},{"type":{"names":["boolean"]},"optional":true,"defaultvalue":false,"description":"<p>Specifies whether we want to check the support for data URI audios or just for normal audio files.</p>","name":"dataURI"}],"returns":[{"type":{"names":["string"]},"description":"<p>Returns the support level of the given audio format (it will return &quot;probably&quot;, &quot;maybe&quot; or an empty string which means not supported). The &quot;probably&quot; audio formats are more likely to be supported than the &quot;maybe&quot; ones.</p>"}],"todo":["Think about using MediaSource.isTypeSupported().","Some web clients does not support data URIs for Audio element so we should take this into account.","Take into account that data URIs may not be supported when WAAPI is being emulated."],"name":"isAudioFormatSupported","longname":"CB_AudioDetector.isAudioFormatSupported","memberof":"CB_AudioDetector","scope":"static"},{"comment":"/**\r\n\t * Returns whether a given audio API exists or not (without keeping into account whether it is supported or not). All existing ones are defined in {@link CB_Configuration.CrossBase.CB_AudioFileCache_PREFERRED_AUDIO_APIS}.\r\n\t * @function\r\n\t * @param {string} audioAPI - The audio API that we want to check. All existing ones are defined in {@link CB_Configuration.CrossBase.CB_AudioFileCache_PREFERRED_AUDIO_APIS}. For example: \"WAAPI\" ([HTML5 Web Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API}), \"SM2\" ([SoundManager 2]{@link http://schillmania.com/projects/soundmanager2/}), \"ACMP\" ([Apache Cordova Media Plugin]{@link https://github.com/apache/cordova-plugin-media}) or \"AAPI\" ([HTML5 Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio}).\r\n\t * @param {boolean} [sanitize=true] - If set to true, the \"audioAPI\" given will be trimmed and converted to upper case.\r\n\t * @returns {boolean} Returns whether the given audio API exists or not (without keeping into account whether it is supported or not).\r\n\t */","meta":{"range":[9267,9592],"filename":"CB_AudioDetector.js","lineno":163,"columnno":1,"path":"C:\\AppServ\\www\\CrossBrowdy\\CrossBrowdy\\CrossBase\\audiovisual\\audio","code":{"id":"astnode100000490","name":"CB_AudioDetector.APIExists","type":"FunctionExpression","paramnames":["audioAPI","sanitize"]},"vars":{"sanitize":"CB_AudioDetector.APIExists~sanitize","audioAPI":"CB_AudioDetector.APIExists~audioAPI"}},"description":"<p>Returns whether a given audio API exists or not (without keeping into account whether it is supported or not). All existing ones are defined in {@link CB_Configuration.CrossBase.CB_AudioFileCache_PREFERRED_AUDIO_APIS}.</p>","kind":"function","params":[{"type":{"names":["string"]},"description":"<p>The audio API that we want to check. All existing ones are defined in {@link CB_Configuration.CrossBase.CB_AudioFileCache_PREFERRED_AUDIO_APIS}. For example: &quot;WAAPI&quot; ([HTML5 Web Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API}), &quot;SM2&quot; ([SoundManager 2]{@link http://schillmania.com/projects/soundmanager2/}), &quot;ACMP&quot; ([Apache Cordova Media Plugin]{@link https://github.com/apache/cordova-plugin-media}) or &quot;AAPI&quot; ([HTML5 Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio}).</p>","name":"audioAPI"},{"type":{"names":["boolean"]},"optional":true,"defaultvalue":true,"description":"<p>If set to true, the &quot;audioAPI&quot; given will be trimmed and converted to upper case.</p>","name":"sanitize"}],"returns":[{"type":{"names":["boolean"]},"description":"<p>Returns whether the given audio API exists or not (without keeping into account whether it is supported or not).</p>"}],"name":"APIExists","longname":"CB_AudioDetector.APIExists","memberof":"CB_AudioDetector","scope":"static"},{"comment":"/**\r\n\t * Calculates and returns the preferred audio API (from an array if it is given) for the current client, if any.\r\n\t * @function\r\n\t * @param {array} [audioAPIs=CB_Configuration.CrossBase.CB_AudioFileCache_PREFERRED_AUDIO_APIS] - An array of strings with the audio APIs that we want to check, in order of preference. All existing ones are defined in {@link CB_Configuration.CrossBase.CB_AudioFileCache_PREFERRED_AUDIO_APIS}. For example: \"WAAPI\" ([HTML5 Web Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API}), \"SM2\" ([SoundManager 2]{@link http://schillmania.com/projects/soundmanager2/}), \"ACMP\" ([Apache Cordova Media Plugin]{@link https://github.com/apache/cordova-plugin-media}) or \"AAPI\" ([HTML5 Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio}).\r\n\t * @param {boolean} [allowEmulation=!!CB_Configuration[CB_BASE_NAME].CB_AudioDetector_allowEmulation_DEFAULT] - If set to true, it will also detect as supported emulated audio APIs (as \"WAAPI\" using [waapisim.js]{@link https://github.com/g200kg/WAAPISim} instead of supported natively).\r\n\t * @param {boolean} [returnOnEmpty=undefined] - If set to true and no audio API is supported, it will return the value of this parameter instead of null.\r\n\t * @returns {string|*} Returns a string with the preferred audio API (from an array if it is given) for the current client, if any. If no audio API is supported, it will return the value set in the \"returnOnEmpty\" parameter.\r\n\t */","meta":{"range":[11159,12587],"filename":"CB_AudioDetector.js","lineno":180,"columnno":1,"path":"C:\\AppServ\\www\\CrossBrowdy\\CrossBrowdy\\CrossBase\\audiovisual\\audio","code":{"id":"astnode100000543","name":"CB_AudioDetector.getPreferredAPI","type":"FunctionExpression","paramnames":["audioAPIs","allowEmulation","returnOnEmpty"]},"vars":{"audioAPIs":"CB_AudioDetector.getPreferredAPI~audioAPIs","allowEmulation":"CB_AudioDetector.getPreferredAPI~allowEmulation","CB_AudioDetector._getPreferredAPIReturnCache[undefined]":"CB_AudioDetector._getPreferredAPIReturnCache[undefined]","preferredAPI":"CB_AudioDetector.getPreferredAPI~preferredAPI","CB_AudioDetector._getPreferredAPIReturnCache[undefined][undefined]":"CB_AudioDetector._getPreferredAPIReturnCache[undefined][undefined]"}},"description":"<p>Calculates and returns the preferred audio API (from an array if it is given) for the current client, if any.</p>","kind":"function","params":[{"type":{"names":["array"]},"optional":true,"defaultvalue":"CB_Configuration.CrossBase.CB_AudioFileCache_PREFERRED_AUDIO_APIS","description":"<p>An array of strings with the audio APIs that we want to check, in order of preference. All existing ones are defined in {@link CB_Configuration.CrossBase.CB_AudioFileCache_PREFERRED_AUDIO_APIS}. For example: &quot;WAAPI&quot; ([HTML5 Web Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API}), &quot;SM2&quot; ([SoundManager 2]{@link http://schillmania.com/projects/soundmanager2/}), &quot;ACMP&quot; ([Apache Cordova Media Plugin]{@link https://github.com/apache/cordova-plugin-media}) or &quot;AAPI&quot; ([HTML5 Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio}).</p>","name":"audioAPIs"},{"type":{"names":["boolean"]},"optional":true,"defaultvalue":"!!CB_Configuration[CB_BASE_NAME].CB_AudioDetector_allowEmulation_DEFAULT","description":"<p>If set to true, it will also detect as supported emulated audio APIs (as &quot;WAAPI&quot; using [waapisim.js]{@link https://github.com/g200kg/WAAPISim} instead of supported natively).</p>","name":"allowEmulation"},{"type":{"names":["boolean"]},"optional":true,"description":"<p>If set to true and no audio API is supported, it will return the value of this parameter instead of null.</p>","name":"returnOnEmpty"}],"returns":[{"type":{"names":["string","*"]},"description":"<p>Returns a string with the preferred audio API (from an array if it is given) for the current client, if any. If no audio API is supported, it will return the value set in the &quot;returnOnEmpty&quot; parameter.</p>"}],"name":"getPreferredAPI","longname":"CB_AudioDetector.getPreferredAPI","memberof":"CB_AudioDetector","scope":"static"},{"comment":"/**\r\n\t * Calculates and returns an array with the audio APIs supported (from an array if it is given) for the current client, if any.\r\n\t * @function\r\n\t * @param {array} [audioAPIs=CB_Configuration.CrossBase.CB_AudioFileCache_PREFERRED_AUDIO_APIS] - An array of strings with the audio APIs that we want to check. All existing ones are defined in {@link CB_Configuration.CrossBase.CB_AudioFileCache_PREFERRED_AUDIO_APIS}. For example: \"WAAPI\" ([HTML5 Web Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API}), \"SM2\" ([SoundManager 2]{@link http://schillmania.com/projects/soundmanager2/}), \"ACMP\" ([Apache Cordova Media Plugin]{@link https://github.com/apache/cordova-plugin-media}) or \"AAPI\" ([HTML5 Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio}).\r\n\t * @param {boolean} [allowEmulation=!!CB_Configuration[CB_BASE_NAME].CB_AudioDetector_allowEmulation_DEFAULT] - If set to true, it will also detect as supported emulated audio APIs (as \"WAAPI\" using [waapisim.js]{@link https://github.com/g200kg/WAAPISim} instead of supported natively).\r\n\t * @returns {array} Returns an array with the audio APIs supported (from an array if it is given) for the current client, if any. If no audio API is supported, an empty array will be returned.\r\n\t */","meta":{"range":[13957,15633],"filename":"CB_AudioDetector.js","lineno":224,"columnno":1,"path":"C:\\AppServ\\www\\CrossBrowdy\\CrossBrowdy\\CrossBase\\audiovisual\\audio","code":{"id":"astnode100000695","name":"CB_AudioDetector.getSupportedAPIs","type":"FunctionExpression","paramnames":["audioAPIs","allowEmulation"]},"vars":{"audioAPIs":"CB_AudioDetector.getSupportedAPIs~audioAPIs","allowEmulation":"CB_AudioDetector.getSupportedAPIs~allowEmulation","CB_AudioDetector._getSupportedAPIsReturnCache[undefined]":"CB_AudioDetector._getSupportedAPIsReturnCache[undefined]","supportedAudioAPIs":"CB_AudioDetector.getSupportedAPIs~supportedAudioAPIs","audioAPIsLength":"CB_AudioDetector.getSupportedAPIs~audioAPIsLength","x":"CB_AudioDetector.getSupportedAPIs~x","supportedAudioAPIs[undefined]":"CB_AudioDetector.getSupportedAPIs~supportedAudioAPIs.undefined]","CB_AudioDetector._getSupportedAPIsReturnCache[undefined][undefined]":"CB_AudioDetector._getSupportedAPIsReturnCache[undefined][undefined]"}},"description":"<p>Calculates and returns an array with the audio APIs supported (from an array if it is given) for the current client, if any.</p>","kind":"function","params":[{"type":{"names":["array"]},"optional":true,"defaultvalue":"CB_Configuration.CrossBase.CB_AudioFileCache_PREFERRED_AUDIO_APIS","description":"<p>An array of strings with the audio APIs that we want to check. All existing ones are defined in {@link CB_Configuration.CrossBase.CB_AudioFileCache_PREFERRED_AUDIO_APIS}. For example: &quot;WAAPI&quot; ([HTML5 Web Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API}), &quot;SM2&quot; ([SoundManager 2]{@link http://schillmania.com/projects/soundmanager2/}), &quot;ACMP&quot; ([Apache Cordova Media Plugin]{@link https://github.com/apache/cordova-plugin-media}) or &quot;AAPI&quot; ([HTML5 Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio}).</p>","name":"audioAPIs"},{"type":{"names":["boolean"]},"optional":true,"defaultvalue":"!!CB_Configuration[CB_BASE_NAME].CB_AudioDetector_allowEmulation_DEFAULT","description":"<p>If set to true, it will also detect as supported emulated audio APIs (as &quot;WAAPI&quot; using [waapisim.js]{@link https://github.com/g200kg/WAAPISim} instead of supported natively).</p>","name":"allowEmulation"}],"returns":[{"type":{"names":["array"]},"description":"<p>Returns an array with the audio APIs supported (from an array if it is given) for the current client, if any. If no audio API is supported, an empty array will be returned.</p>"}],"name":"getSupportedAPIs","longname":"CB_AudioDetector.getSupportedAPIs","memberof":"CB_AudioDetector","scope":"static"},{"comment":"/**\r\n\t * Tells whether a given audio API is supported or not by the current client.\r\n\t * @function\r\n\t * @param {string} audioAPI - The audio API that we want to check. All existing ones are defined in {@link CB_Configuration.CrossBase.CB_AudioFileCache_PREFERRED_AUDIO_APIS}. For example: \"WAAPI\" ([HTML5 Web Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API}), \"SM2\" ([SoundManager 2]{@link http://schillmania.com/projects/soundmanager2/}), \"ACMP\" ([Apache Cordova Media Plugin]{@link https://github.com/apache/cordova-plugin-media}) or \"AAPI\" ([HTML5 Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio}).\r\n\t * @param {boolean} [allowEmulation=!!CB_Configuration[CB_BASE_NAME].CB_AudioDetector_allowEmulation_DEFAULT] - If set to true, it will detect as supported also emulated audio APIs (as \"WAAPI\" using [waapisim.js]{@link https://github.com/g200kg/WAAPISim} instead of supported natively).\r\n\t * @returns {boolean} Returns whether the given audio API is supported or not.\r\n\t * @todo Have into account allowEmulation and detect whether emulation is being used if so (for example, detect whether [waapisim.js]{@link https://github.com/g200kg/WAAPISim} is being used).\r\n\t */","meta":{"range":[16938,18985],"filename":"CB_AudioDetector.js","lineno":275,"columnno":1,"path":"C:\\AppServ\\www\\CrossBrowdy\\CrossBrowdy\\CrossBase\\audiovisual\\audio","code":{"id":"astnode100000873","name":"CB_AudioDetector.isAPISupported","type":"FunctionExpression","paramnames":["audioAPI","allowEmulation"]},"vars":{"audioAPI":"CB_AudioDetector.isAPISupported~audioAPI","allowEmulation":"CB_AudioDetector.isAPISupported~allowEmulation","CB_AudioDetector._isAPISupportedReturnCache[undefined]":"CB_AudioDetector._isAPISupportedReturnCache[undefined]","isSupported":"CB_AudioDetector.isAPISupported~isSupported","CB_AudioDetector._isAPISupportedReturnCache[undefined][undefined]":"CB_AudioDetector._isAPISupportedReturnCache[undefined][undefined]"}},"description":"<p>Tells whether a given audio API is supported or not by the current client.</p>","kind":"function","params":[{"type":{"names":["string"]},"description":"<p>The audio API that we want to check. All existing ones are defined in {@link CB_Configuration.CrossBase.CB_AudioFileCache_PREFERRED_AUDIO_APIS}. For example: &quot;WAAPI&quot; ([HTML5 Web Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API}), &quot;SM2&quot; ([SoundManager 2]{@link http://schillmania.com/projects/soundmanager2/}), &quot;ACMP&quot; ([Apache Cordova Media Plugin]{@link https://github.com/apache/cordova-plugin-media}) or &quot;AAPI&quot; ([HTML5 Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio}).</p>","name":"audioAPI"},{"type":{"names":["boolean"]},"optional":true,"defaultvalue":"!!CB_Configuration[CB_BASE_NAME].CB_AudioDetector_allowEmulation_DEFAULT","description":"<p>If set to true, it will detect as supported also emulated audio APIs (as &quot;WAAPI&quot; using [waapisim.js]{@link https://github.com/g200kg/WAAPISim} instead of supported natively).</p>","name":"allowEmulation"}],"returns":[{"type":{"names":["boolean"]},"description":"<p>Returns whether the given audio API is supported or not.</p>"}],"todo":["Have into account allowEmulation and detect whether emulation is being used if so (for example, detect whether [waapisim.js]{@link https://github.com/g200kg/WAAPISim} is being used)."],"name":"isAPISupported","longname":"CB_AudioDetector.isAPISupported","memberof":"CB_AudioDetector","scope":"static"},{"comment":"/**\r\n\t * Tells whether \"WAAPI\" ([HTML5 Web Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API}) is using emulation (through [WAAPISim]{@link https://github.com/g200kg/WAAPISim}) or not.\r\n\t * @function\r\n\t * @returns {boolean} Returns whether \"WAAPI\" ([HTML5 Web Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API}) is using emulation (through [WAAPISim]{@link https://github.com/g200kg/WAAPISim}) or not.\r\n\t */","meta":{"range":[19465,19580],"filename":"CB_AudioDetector.js","lineno":329,"columnno":1,"path":"C:\\AppServ\\www\\CrossBrowdy\\CrossBrowdy\\CrossBase\\audiovisual\\audio","code":{"id":"astnode100001064","name":"CB_AudioDetector.isWAAPIUsingEmulation","type":"FunctionExpression","paramnames":[]}},"description":"<p>Tells whether &quot;WAAPI&quot; ([HTML5 Web Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API}) is using emulation (through [WAAPISim]{@link https://github.com/g200kg/WAAPISim}) or not.</p>","kind":"function","returns":[{"type":{"names":["boolean"]},"description":"<p>Returns whether &quot;WAAPI&quot; ([HTML5 Web Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API}) is using emulation (through [WAAPISim]{@link https://github.com/g200kg/WAAPISim}) or not.</p>"}],"name":"isWAAPIUsingEmulation","longname":"CB_AudioDetector.isWAAPIUsingEmulation","memberof":"CB_AudioDetector","scope":"static"},{"comment":"/**\r\n\t * Tells whether [SoundManager 2]{@link http://schillmania.com/projects/soundmanager2/} is using [Adobe Flash (formerly Macromedia Flash)]{@link https://en.wikipedia.org/wiki/Adobe_Flash_Player} to emulate sound or not.\r\n\t * @function\r\n\t * @returns {boolean} Returns whether [SoundManager 2]{@link http://schillmania.com/projects/soundmanager2/} is using [Adobe Flash (formerly Macromedia Flash)]{@link https://en.wikipedia.org/wiki/Adobe_Flash_Player} to emulate sound or not.\r\n\t */","meta":{"range":[20083,20321],"filename":"CB_AudioDetector.js","lineno":340,"columnno":1,"path":"C:\\AppServ\\www\\CrossBrowdy\\CrossBrowdy\\CrossBase\\audiovisual\\audio","code":{"id":"astnode100001077","name":"CB_AudioDetector.isSM2UsingFlash","type":"FunctionExpression","paramnames":[]}},"description":"<p>Tells whether [SoundManager 2]{@link http://schillmania.com/projects/soundmanager2/} is using [Adobe Flash (formerly Macromedia Flash)]{@link https://en.wikipedia.org/wiki/Adobe_Flash_Player} to emulate sound or not.</p>","kind":"function","returns":[{"type":{"names":["boolean"]},"description":"<p>Returns whether [SoundManager 2]{@link http://schillmania.com/projects/soundmanager2/} is using [Adobe Flash (formerly Macromedia Flash)]{@link https://en.wikipedia.org/wiki/Adobe_Flash_Player} to emulate sound or not.</p>"}],"name":"isSM2UsingFlash","longname":"CB_AudioDetector.isSM2UsingFlash","memberof":"CB_AudioDetector","scope":"static"},{"comment":"/**\r\n * @file Audio files management, including abstraction for different audio APIs. Possible audio APIs are \"WAAPI\" ([HTML5 Web Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API}), \"SM2\" ([SoundManager 2]{@link http://schillmania.com/projects/soundmanager2/}), \"ACMP\" ([Apache Cordova Media Plugin]{@link https://github.com/apache/cordova-plugin-media}) or \"AAPI\" ([HTML5 Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio}). Contains the {@link CB_AudioFile} class.\r\n * @author Joan Alba Maldonado <workindalian@gmail.com>\r\n */","meta":{"filename":"CB_AudioFile.js","lineno":1,"columnno":0,"path":"C:\\AppServ\\www\\CrossBrowdy\\CrossBrowdy\\CrossBase\\audiovisual\\audio","code":{}},"name":"CrossBase/audiovisual/audio/CB_AudioFile.js","kind":"file","description":"<p>Audio files management, including abstraction for different audio APIs. Possible audio APIs are &quot;WAAPI&quot; ([HTML5 Web Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API}), &quot;SM2&quot; ([SoundManager 2]{@link http://schillmania.com/projects/soundmanager2/}), &quot;ACMP&quot; ([Apache Cordova Media Plugin]{@link https://github.com/apache/cordova-plugin-media}) or &quot;AAPI&quot; ([HTML5 Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio}). Contains the {@link CB_AudioFile} class.</p>","preserveName":true,"author":["Joan Alba Maldonado <workindalian@gmail.com>"],"longname":"CrossBase/audiovisual/audio/CB_AudioFile.js","scope":"global"},{"comment":"/**\r\n * The constructor is recommended to be called through a user-driven event (as onClick, onTouch, etc.) if the \"autoPlay\" option is set to true, as some clients may need this at least the first time in order to be able to play the audio.\r\n * @class\r\n * @classdesc Class to manage an audio file. Internally, it uses one audio API object which belongs to the audio API being used (when the audio API is changed, it keeps the old audio API objects just in case they are needed in the future when the audio API is changed again). Possible internal audio API objects are {@link CB_AudioFile_API.WAAPI} object for \"WAAPI\" ([HTML5 Web Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API}), {@link CB_AudioFile_API.SM2} object for \"SM2\" ([SoundManager 2]{@link http://schillmania.com/projects/soundmanager2/}), {@link CB_AudioFile_API.ACMP} object for \"ACMP\" ([Apache Cordova Media Plugin]{@link https://github.com/apache/cordova-plugin-media}) or {@link CB_AudioFile_API.AAPI} object for \"AAPI\" ([HTML5 Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio}).\r\n * @param {string} filePath - The path of the audio file or a data URI. NOTE: Only some clients with some audio APIs will support data URIs.\r\n * @param {string} [audioId='CB_AudioFile_' + CB_AudioFile._idUnique++] - Desired identifier for the audio object (can be a different element depending on the audio API used). If not provided, an automatic unique ID will be calculated. Note that it is not case sensitive and it should be unique for each object.\r\n * @param {CB_AudioFile.OPTIONS} [options={@link CB_AudioFile#DEFAULT_OPTIONS}] - Object with the desired options.\r\n * @param {string} [audioAPI=CB_AudioDetector.getPreferredAPI(undefined, false, null) || CB_AudioDetector.getPreferredAPI(undefined, true, null)] - The desired audio API to be used. If not provided, it will try to calculate the best one for the current client by calling the {@link CB_AudioDetector.getPreferredAPI} function internally. Audio API support will depend on the current client being used. All possible ones are defined in {@link CB_Configuration.CrossBase.CB_AudioFileCache_PREFERRED_AUDIO_APIS}. For example: \"WAAPI\" ([HTML5 Web Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API}), \"SM2\" ([SoundManager 2]{@link http://schillmania.com/projects/soundmanager2/}), \"ACMP\" ([Apache Cordova Media Plugin]{@link https://github.com/apache/cordova-plugin-media}) or \"AAPI\" ([HTML5 Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio}).\r\n * @param {function} [callbackOk] - Function with no parameters to be called when the audio has been loaded successfully, being \"this\" the {@link CB_AudioFile} object itself.\r\n * @param {function} [callbackError] - Function to be called if the audio has not been loaded successfully. The first and unique parameter will be a string describing the error found (if it could be determined), being \"this\" the {@link CB_AudioFile} object itself.\r\n * @returns {CB_AudioFile} Returns a new {@link CB_AudioFile} object.\r\n * @todo Do not allow to create one object with an \"id\" which has already been used (unless the value is undefined, null...). Note that the \"id\" is not case sensitive and it should be unique for each object.\r\n * @todo Send the {@link CB_AudioFile} object itself as a parameter when calling both \"callbackOk\" and \"callbackError\".\r\n * @todo Think about allowing to define 'useXHR' and 'useCache' options (used by {@link CB_AudioFile_API.WAAPI} objects).\r\n * @todo Method getCopy and static method filterProperties (similar to the ones from {@link CB_GraphicSprites} and {@link CB_GraphicSpritesScene}).\r\n */","meta":{"range":[4320,14150],"filename":"CB_AudioFile.js","lineno":23,"columnno":4,"path":"C:\\AppServ\\www\\CrossBrowdy\\CrossBrowdy\\CrossBase\\audiovisual\\audio","code":{"id":"astnode100001114","name":"CB_AudioFile","type":"FunctionExpression"},"vars":{"CB_AudioFile.prototype.DEFAULT_VOLUME":"CB_AudioFile#DEFAULT_VOLUME","CB_AudioFile.prototype.DEFAULT_OPTIONS":"CB_AudioFile#DEFAULT_OPTIONS","this.loop":"CB_AudioFile#loop","this.volume":"CB_AudioFile#volume","this.id":"CB_AudioFile#id","this.filePath":"CB_AudioFile#filePath","this.audioAPI":"CB_AudioFile#audioAPI","this._onStopFunction":"CB_AudioFile#_onStopFunction","that":"CB_AudioFile~that","CB_AudioFile._audioFileObject_prototype":"CB_AudioFile._audioFileObject_prototype","":null,"CB_AudioFile._audioFileObject_prototype.volume":"CB_AudioFile._audioFileObject_prototype.volume","CB_AudioFile._audioFileObject_prototype.volumeBeforeMute":"CB_AudioFile._audioFileObject_prototype.volumeBeforeMute","this.audioFileObjects":"CB_AudioFile#audioFileObjects","this.audioFileObject":"CB_AudioFile#audioFileObject","this.audioFileObjectLast":"CB_AudioFile#audioFileObjectLast","this._loadingAudioFileObject":"CB_AudioFile#_loadingAudioFileObject","this._avoidDelayedPlayLast":"CB_AudioFile#_avoidDelayedPlayLast","this._allowedRecursiveDelayLast":"CB_AudioFile#_allowedRecursiveDelayLast","this._onLoadErrorLast":"CB_AudioFile#_onLoadErrorLast"}},"description":"<p>The constructor is recommended to be called through a user-driven event (as onClick, onTouch, etc.) if the &quot;autoPlay&quot; option is set to true, as some clients may need this at least the first time in order to be able to play the audio.</p>","kind":"class","classdesc":"<p>Class to manage an audio file. Internally, it uses one audio API object which belongs to the audio API being used (when the audio API is changed, it keeps the old audio API objects just in case they are needed in the future when the audio API is changed again). Possible internal audio API objects are {@link CB_AudioFile_API.WAAPI} object for &quot;WAAPI&quot; ([HTML5 Web Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API}), {@link CB_AudioFile_API.SM2} object for &quot;SM2&quot; ([SoundManager 2]{@link http://schillmania.com/projects/soundmanager2/}), {@link CB_AudioFile_API.ACMP} object for &quot;ACMP&quot; ([Apache Cordova Media Plugin]{@link https://github.com/apache/cordova-plugin-media}) or {@link CB_AudioFile_API.AAPI} object for &quot;AAPI&quot; ([HTML5 Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio}).</p>","params":[{"type":{"names":["string"]},"description":"<p>The path of the audio file or a data URI. NOTE: Only some clients with some audio APIs will support data URIs.</p>","name":"filePath"},{"type":{"names":["string"]},"optional":true,"defaultvalue":"'CB_AudioFile_' + CB_AudioFile._idUnique++","description":"<p>Desired identifier for the audio object (can be a different element depending on the audio API used). If not provided, an automatic unique ID will be calculated. Note that it is not case sensitive and it should be unique for each object.</p>","name":"audioId"},{"type":{"names":["CB_AudioFile.OPTIONS"]},"optional":true,"defaultvalue":"{@link CB_AudioFile#DEFAULT_OPTIONS}","description":"<p>Object with the desired options.</p>","name":"options"},{"type":{"names":["string"]},"optional":true,"defaultvalue":"CB_AudioDetector.getPreferredAPI(undefined, false, null) || CB_AudioDetector.getPreferredAPI(undefined, true, null)","description":"<p>The desired audio API to be used. If not provided, it will try to calculate the best one for the current client by calling the {@link CB_AudioDetector.getPreferredAPI} function internally. Audio API support will depend on the current client being used. All possible ones are defined in {@link CB_Configuration.CrossBase.CB_AudioFileCache_PREFERRED_AUDIO_APIS}. For example: &quot;WAAPI&quot; ([HTML5 Web Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API}), &quot;SM2&quot; ([SoundManager 2]{@link http://schillmania.com/projects/soundmanager2/}), &quot;ACMP&quot; ([Apache Cordova Media Plugin]{@link https://github.com/apache/cordova-plugin-media}) or &quot;AAPI&quot; ([HTML5 Audio API]{@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio}).</p>","name":"audioAPI"},{"type":{"names":["function"]},"optional":true,"description":"<p>Function with no parameters to be called when the audio has been loaded successfully, being &quot;this&quot; the {@link CB_AudioFile} object itself.</p>","name":"callbackOk"},{"type":{"names":["function"]},"optional":true,"description":"<p>Function to be called if the audio has not been loaded successfully. The first and unique parameter will be a string describing the error found (if it could be determined), being &quot;this&quot; the {@link CB_AudioFile} object itself.</p>","name":"callbackError"}],"returns":[{"type":{"names":["CB_AudioFile"]},"description":"<p>Returns a new {@link CB_AudioFile} object.</p>"}],"todo":["Do not allow to create one object with an \"id\" which has already been used (unless the value is undefined, null...). Note that the \"id\" is not case sensitive and it should be unique for each object.","Send the {@link CB_AudioFile} object itself as a parameter when calling both \"callbackOk\" and \"callbackError\".","Think about allowing to define 'useXHR' and 'useCache' options (used by {@link CB_AudioFile_API.WAAPI} objects).","Method getCopy and static method filterProperties (similar to the ones from {@link CB_GraphicSprites} and {@link CB_GraphicSpritesScene})."],"name":"CB_AudioFile","longname":"CB_AudioFile","scope":"global"},{"comment":"/**\r\n\t * Keeps the default volume. If the {@link CB_Configuration.CrossBase.CB_AudioFile_AudioFileCache_USE_SPEAKER_VOLUME_AS_DEFAULT} property is true, this will keep the result of calling the {@link CB_Speaker.getVolume} function. Otherwise, it will use the value of the {@link CB_Configuration.CrossBase.CB_Speaker_DEFAULT_VOLUME} variable.\r\n\t *\t@constant\r\n\t * @type {number}\r\n\t * @default CB_Configuration.CrossBase.CB_AudioFile_AudioFileCache_USE_SPEAKER_VOLUME_AS_DEFAULT ? CB_Speaker.getVolume() : CB_Configuration.CrossBase.CB_Speaker_DEFAULT_VOLUME\r\n\t */","meta":{"range":[5270,5482],"filename":"CB_AudioFile.js","lineno":35,"columnno":1,"path":"C:\\AppServ\\www\\CrossBrowdy\\CrossBrowdy\\CrossBase\\audiovisual\\audio","code":{"id":"astnode100001144","name":"CB_AudioFile.prototype.DEFAULT_VOLUME","type":"ConditionalExpression","value":"","paramnames":[]}},"description":"<p>Keeps the default volume. If the {@link CB_Configuration.CrossBase.CB_AudioFile_AudioFileCache_USE_SPEAKER_VOLUME_AS_DEFAULT} property is true, this will keep the result of calling the {@link CB_Speaker.getVolume} function. Otherwise, it will use the value of the {@link CB_Configuration.CrossBase.CB_Speaker_DEFAULT_VOLUME} variable.</p>","kind":"constant","type":{"names":["number"]},"defaultvalue":"CB_Configuration.CrossBase.CB_AudioFile_AudioFileCache_USE_SPEAKER_VOLUME_AS_DEFAULT ? CB_Speaker.getVolume() : CB_Configuration.CrossBase.CB_Speaker_DEFAULT_VOLUME","name":"DEFAULT_VOLUME","longname":"CB_AudioFile#DEFAULT_VOLUME","memberof":"CB_AudioFile","scope":"instance"},{"comment":"/**\r\n\t * Keeps the default options when an object is created. Format: { autoLoad: boolean, autoPlay: boolean, loop: boolean, volume: number }.\r\n\t *\t@constant\r\n\t * @type {CB_AudioFile.OPTIONS}\r\n\t * @default { autoLoad: true, autoPlay: false, loop: false, volume: [CB_AudioFile.prototype.DEFAULT_VOLUME]{@link CB_AudioFile#DEFAULT_VOLUME} }\r\n\t */","meta":{"range":[5838,5974],"filename":"CB_AudioFile.js","lineno":43,"columnno":1,"path":"C:\\AppServ\\www\\CrossBrowdy\\CrossBrowdy\\CrossBase\\audiovisual\\audio","code":{"id":"astnode100001166","name":"CB_AudioFile.prototype.DEFAULT_OPTIONS","type":"ObjectExpression","value":"{\"autoLoad\":true,\"autoPlay\":false,\"loop\":false,\"volume\":\"\"}","paramnames":[]}},"description":"<p>Keeps the default options when an object is created. Format: { autoLoad: boolean, autoPlay: boolean, loop: boolean, volume: number }.</p>","kind":"constant","type":{"names":["CB_AudioFile.OPTIONS"]},"defaultvalue":"{ autoLoad: true, autoPlay: false, loop: false, volume: [CB_AudioFile.prototype.DEFAULT_VOLUME]{@link CB_AudioFile#DEFAULT_VOLUME} }","name":"DEFAULT_OPTIONS","longname":"CB_AudioFile#DEFAULT_OPTIONS","memberof":"CB_AudioFile","scope":"instance"},{"comment":"/**\r\n * Object with the options for an audio file. The format is the following one: { autoLoad: boolean, autoPlay: boolean, loop: boolean, volume: number }.\r\n * @memberof CB_AudioFile\r\n * @typedef {Object} CB_AudioFile.OPTIONS\r\n * @property {boolean} [autoLoad={@link CB_AudioFile#DEFAULT_OPTIONS}.autoLoad] - Value which will be used as the \"autoLoad\" parameter when calling the {@link CB_AudioFile#setAudioAPI} method internally (when the constructor is called).\r\n * @property {boolean} [autoPlay={@link CB_AudioFile#DEFAULT_OPTIONS}.autoPlay] - Value which will be used as the \"autoPlay\" parameter when calling the {@link CB_AudioFile#setAudioAPI} method internally (when the constructor is called).\r\n * @property {boolean} [loop={@link CB_AudioFile#DEFAULT_OPTIONS}.loop] - Value that will be used for the {@link CB_AudioFile#loop} property.\r\n * @property {number} [volume={@link CB_AudioFile#DEFAULT_OPTIONS}.volume] - The desired volume (from 0 to the maximum value, where the maximum value will be the returning value of calling the {@link CB_Speaker.getVolume} function if the {@link CB_Configuration.CrossBase.CB_AudioFile_AudioFileCache_USE_SPEAKER_VOLUME_AS_MAXIMUM} property is set to true or it will be 100 otherwise) that will be used for the {@link CB_AudioFile#volume} property.\r\n */","meta":{"filename":"CB_AudioFile.js","lineno":185,"columnno":0,"path":"C:\\AppServ\\www\\CrossBrowdy\\CrossBrowdy\\CrossBase\\audiovisual\\audio","code":{}},"description":"<p>Object with the options for an audio file. The format is the following one: { autoLoad: boolean, autoPlay: boolean, loop: boolean, volume: number }.</p>","memberof":"CB_AudioFile","kind":"typedef","name":"OPTIONS","type":{"names":["Object"]},"properties":[{"type":{"names":["boolean"]},"optional":true,"defaultvalue":"{@link CB_AudioFile#DEFAULT_OPTIONS}.autoLoad","description":"<p>Value which will be used as the &quot;autoLoad&quot; parameter when calling the {@link CB_AudioFile#setAudioAPI} method internally (when the constructor is called).</p>","name":"autoLoad"},{"type":{"names":["boolean"]},"optional":true,"defaultvalue":"{@link CB_AudioFile#DEFAULT_OPTIONS}.autoPlay","description":"<p>Value which will be used as the &quot;autoPlay&quot; parameter when calling the {@link CB_AudioFile#setAudioAPI} method internally (when the constructor is called).</p>","name":"autoPlay"},{"type":{"names":["boolean"]},"optional":true,"defaultvalue":"{@link CB_AudioFile#DEFAULT_OPTIONS}.loop","description":"<p>Value that will be used for the {@link CB_AudioFile#loop} property.</p>","name":"loop"},{"type":{"names":["number"]},"optional":true,"defaultvalue":"{@link CB_AudioFile#DEFAULT_OPTIONS}.volume","description":"<p>The desired volume (from 0 to the maximum value, where the maximum value will be the returning value of calling the {@link CB_Speaker.getVolume} function if the {@link CB_Configuration.CrossBase.CB_AudioFile_AudioFileCache_USE_SPEAKER_VOLUME_AS_MAXIMUM} property is set to true or it will be 100 otherwise) that will be used for the {@link CB_AudioFile#volume} property.</p>","name":"volume"}],"longname":"CB_AudioFile.OPTIONS","scope":"static"},{"comment":"/**\r\n * Status value for an audio file which is unloaded. Can be used to compare the value returned by the {@link CB_AudioFile#getStatus} method. Recommended for internal usage only.\r\n *\t@constant\r\n * @type {integer}\r\n * @default 0\r\n */","meta":{"range":[15807,15832],"filename":"CB_AudioFile.js","lineno":205,"columnno":0,"path":"C:\\AppServ\\www\\CrossBrowdy\\CrossBrowdy\\CrossBase\\audiovisual\\audio","code":{"id":"astnode100001494","name":"CB_AudioFile.UNLOADED","type":"Literal","value":0,"paramnames":[]}},"description":"<p>Status value for an audio file which is unloaded. Can be used to compare the value returned by the {@link CB_AudioFile#getStatus} method. Recommended for internal usage only.</p>","kind":"constant","type":{"names":["integer"]},"defaultvalue":"0","name":"UNLOADED","longname":"CB_AudioFile.UNLOADED","memberof":"CB_AudioFile","scope":"static"},{"comment":"/**\r\n * Status value for an audio file which is loading. Can be used to compare the value returned by the {@link CB_AudioFile#getStatus} method. Recommended for internal usage only.\r\n *\t@constant\r\n * @type {integer}\r\n * @default\r\n */","meta":{"range":[16074,16098],"filename":"CB_AudioFile.js","lineno":213,"columnno":0,"path":"C:\\AppServ\\www\\CrossBrowdy\\CrossBrowdy\\CrossBase\\audiovisual\\audio","code":{"id":"astnode100001500","name":"CB_AudioFile.LOADING","type":"Literal","value":1,"paramnames":[]}},"description":"<p>Status value for an audio file which is loading. Can be used to compare the value returned by the {@link CB_AudioFile#getStatus} method. Recommended for internal usage only.</p>","kind":"constant","type":{"names":["integer"]},"defaultvalue":1,"name":"LOADING","longname":"CB_AudioFile.LOADING","memberof":"CB_AudioFile","scope":"static"},{"comment":"/**\r\n * Status value for an audio file which has been not checked yet. Can be used to compare the value returned by the {@link CB_AudioFile#getStatus} method. Recommended for internal usage only.\r\n *\t@constant\r\n * @type {integer}\r\n * @default\r\n */","meta":{"range":[16354,16380],"filename":"CB_AudioFile.js","lineno":221,"columnno":0,"path":"C:\\AppServ\\www\\CrossBrowdy\\CrossBrowdy\\CrossBase\\audiovisual\\audio","code":{"id":"astnode100001506","name":"CB_AudioFile.UNCHECKED","type":"Literal","value":2,"paramnames":[]}},"description":"<p>Status value for an audio file which has been not checked yet. Can be used to compare the value returned by the {@link CB_AudioFile#getStatus} method. Recommended for internal usage only.</p>","kind":"constant","type":{"names":["integer"]},"defaultvalue":2,"name":"UNCHECKED","longname":"CB_AudioFile.UNCHECKED","memberof":"CB_AudioFile","scope":"static"},{"comment":"/**\r\n * Status value for an audio file which is being checked currently. Can be used to compare the value returned by the {@link CB_AudioFile#getStatus} method. Recommended for internal usage only.\r\n *\t@constant\r\n * @type {integer}\r\n * @default\r\n */","meta":{"range":[16638,16663],"filename":"CB_AudioFile.js","lineno":229,"columnno":0,"path":"C:\\AppServ\\www\\CrossBrowdy\\CrossBrowdy\\CrossBase\\audiovisual\\audio","code":{"id":"astnode100001512","name":"CB_AudioFile.CHECKING","type":"Literal","value":3,"paramnames":[]}},"description":"<p>Status value for an audio file which is being checked currently. Can be used to compare the value returned by the {@link CB_AudioFile#getStatus} method. Recommended for internal usage only.</p>","kind":"constant","type":{"names":["integer"]},"defaultvalue":3,"name":"CHECKING","longname":"CB_AudioFile.CHECKING","memberof":"CB_AudioFile","scope":"static"},{"comment":"/**\r\n * Status value for an audio file which has been loaded. Can be used to compare the value returned by the {@link CB_AudioFile#getStatus} method. Recommended for internal usage only.\r\n *\t@constant\r\n * @type {integer}\r\n * @default\r\n */","meta":{"range":[16910,16933],"filename":"CB_AudioFile.js","lineno":237,"columnno":0,"path":"C:\\AppServ\\www\\CrossBrowdy\\CrossBrowdy\\CrossBase\\audiovisual\\audio","code":{"id":"astnode100001518","name":"CB_AudioFile.LOADED","type":"Literal","value":4,"paramnames":[]}},"description":"<p>Status value for an audio file which has been loaded. Can be used to compare the value returned by the {@link CB_AudioFile#getStatus} method. Recommended for internal usage only.</p>","kind":"constant","type":{"names":["integer"]},"defaultvalue":4,"name":"LOADED","longname":"CB_AudioFile.LOADED","memberof":"CB_AudioFile","scope":"static"},{"comment":"/**\r\n * Status value for an audio file which failed to be loaded or failed for any other reason. Can be used to compare the value returned by the {@link CB_AudioFile#getStatus} method. Recommended for internal usage only.\r\n *\t@constant\r\n * @type {integer}\r\n * @default\r\n */","meta":{"range":[17215,17238],"filename":"CB_AudioFile.js","lineno":245,"columnno":0,"path":"C:\\AppServ\\www\\CrossBrowdy\\CrossBrowdy\\CrossBase\\audiovisual\\audio","code":{"id":"astnode100001524","name":"CB_AudioFile.FAILED","type":"Literal","value":5,"paramnames":[]}},"description":"<p>Status value for an audio file which failed to be loaded or failed for any other reason. Can be used to compare the value returned by the {@link CB_AudioFile#getStatus} method. Recommended for internal usage only.</p>","kind":"constant","type":{"names":["integer"]},"defaultvalue":5,"name":"FAILED","longname":"CB_AudioFile.FAILED","memberof":"CB_AudioFile","scope":"static"},{"comment":"/**\r\n * Status value for an audio file which has been aborted. This will happen when t