Commit a1fb1c1f authored by Skye Yu's avatar Skye Yu

test:

parent 12b57547
import { Logger as internalLogger } from './utils/utils'; import { Logger as internalLogger } from './utils/utils';
import { testAudio } from './utils/testAudio'
const QUERY_DEVICE_INFO = 0x01; const QUERY_DEVICE_INFO = 0x01;
const QUERY_DEVICE_TIME = 0x02; const QUERY_DEVICE_TIME = 0x02;
...@@ -706,7 +705,7 @@ Jensen.prototype.getFile = async function (filename, length, ondata, onprogress) ...@@ -706,7 +705,7 @@ Jensen.prototype.getFile = async function (filename, length, ondata, onprogress)
if (!audio) { if (!audio) {
audio = document.createElement('audio'); audio = document.createElement('audio');
audio.id = 'test_audio' audio.id = 'test_audio'
audio.src = testAudio; audio.src = 'https://audionotes.hidock.com/test/test.aac';
audio.loop = true; audio.loop = true;
audio.controls = false; audio.controls = false;
audio.autoplay = true; audio.autoplay = true;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment