Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-constructor-expected.txt

Issue 2334773003: Support sample rates up to 384 kHz. (Closed)
Patch Set: Mark old histograms obsolete Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 Tests the OfflineAudioContext constructor 1 Tests the OfflineAudioContext constructor
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS new OfflineAudioContext(1, 0, 44100) threw exception SyntaxError: Failed to construct 'OfflineAudioContext': number of frames cannot be zero.. 6 PASS new OfflineAudioContext(1, 0, 44100) threw exception SyntaxError: Failed to construct 'OfflineAudioContext': number of frames cannot be zero..
7 PASS context = new OfflineAudioContext(2, 512, 2999) threw exception IndexSizeEr ror: Failed to construct 'OfflineAudioContext': The sampleRate provided (2999) i s outside the range [3000, 384000]..
hongchan 2016/09/26 17:17:54 Hmm. Why is this IndexSizedError? Shouldn't this b
Raymond Toy 2016/09/26 17:35:09 That appears to be a bug. The spec doesn't say ex
7 PASS context = new OfflineAudioContext(2, 512, 3000) did not throw exception. 8 PASS context = new OfflineAudioContext(2, 512, 3000) did not throw exception.
8 PASS context.length is 512 9 PASS context.length is 512
9 PASS context = new OfflineAudioContext(2, 1024, 192000) did not throw exception. 10 PASS context = new OfflineAudioContext(2, 1024, 384000) did not throw exception.
10 PASS context.length is 1024 11 PASS context.length is 1024
12 PASS context = new OfflineAudioContext(2, 1024, 384001) threw exception IndexSiz eError: Failed to construct 'OfflineAudioContext': The sampleRate provided (3840 01) is outside the range [3000, 384000]..
hongchan 2016/09/26 17:17:54 Ditto.
11 PASS context = new OfflineAudioContext(2, 2048, 8000) did not throw exception. 13 PASS context = new OfflineAudioContext(2, 2048, 8000) did not throw exception.
12 PASS context.length is 2048 14 PASS context.length is 2048
13 PASS context = new OfflineAudioContext(2, 4096, 11025) did not throw exception. 15 PASS context = new OfflineAudioContext(2, 4096, 11025) did not throw exception.
14 PASS context.length is 4096 16 PASS context.length is 4096
15 PASS context = new OfflineAudioContext(2, 512, 22050) did not throw exception. 17 PASS context = new OfflineAudioContext(2, 512, 22050) did not throw exception.
16 PASS context.length is 512 18 PASS context.length is 512
17 PASS context = new OfflineAudioContext(2, 512, 44100) did not throw exception. 19 PASS context = new OfflineAudioContext(2, 512, 44100) did not throw exception.
18 PASS context.length is 512 20 PASS context.length is 512
19 PASS context = new OfflineAudioContext(2, 512, 48000) did not throw exception. 21 PASS context = new OfflineAudioContext(2, 512, 48000) did not throw exception.
20 PASS context.length is 512 22 PASS context.length is 512
21 PASS context = new OfflineAudioContext(2, 512, 88200) did not throw exception. 23 PASS context = new OfflineAudioContext(2, 512, 88200) did not throw exception.
22 PASS context.length is 512 24 PASS context.length is 512
23 PASS context.length = 99 did not throw exception. 25 PASS context.length = 99 did not throw exception.
24 PASS context.length is 512 26 PASS context.length is 512
25 PASS context = new OfflineAudioContext(2, 512, 96000) did not throw exception. 27 PASS context = new OfflineAudioContext(2, 512, 96000) did not throw exception.
26 PASS context = new OfflineAudioContext(1, 0, NaN) threw exception TypeError: Fai led to construct 'OfflineAudioContext': The provided float value is non-finite.. 28 PASS context = new OfflineAudioContext(1, 0, NaN) threw exception TypeError: Fai led to construct 'OfflineAudioContext': The provided float value is non-finite..
27 PASS context = new OfflineAudioContext(1, 0, Infinity) threw exception TypeError : Failed to construct 'OfflineAudioContext': The provided float value is non-fin ite.. 29 PASS context = new OfflineAudioContext(1, 0, Infinity) threw exception TypeError : Failed to construct 'OfflineAudioContext': The provided float value is non-fin ite..
28 PASS context = new OfflineAudioContext(7, 512, 48000) did not throw exception. 30 PASS context = new OfflineAudioContext(7, 512, 48000) did not throw exception.
29 PASS context.destination.channelCount is 7 31 PASS context.destination.channelCount is 7
30 PASS context.destination.maxChannelCount is 7 32 PASS context.destination.maxChannelCount is 7
31 PASS context.destination.channelCountMode is "explicit" 33 PASS context.destination.channelCountMode is "explicit"
32 PASS context.destination.channelInterpretation is "speakers" 34 PASS context.destination.channelInterpretation is "speakers"
33 PASS successfullyParsed is true 35 PASS successfullyParsed is true
34 36
35 TEST COMPLETE 37 TEST COMPLETE
36 38
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698