Lines Matching refs:read

72         if ((stream.read(15) & 0x7FFF) !== 0x7FFC)
75 var isVarSize = stream.read(1), // variable block size stream code
76 bsCode = stream.read(4), // block size
77 srCode = stream.read(4), // sample rate code
78 chMode = stream.read(4), // channel mode
79 bpsCode = stream.read(3); // bits per sample
110 while (stream.read(1) === 1)
113 var frame_or_sample_num = stream.read(7 - ones);
116 frame_or_sample_num = (frame_or_sample_num << 6) | stream.read(6);
123 this.blockSize = stream.read(8) + 1;
125 this.blockSize = stream.read(16) + 1;
134 sampleRate = stream.read(8) * 1000;
136 sampleRate = stream.read(16);
138 sampleRate = stream.read(16) * 10;
217 if (stream.read(1))
220 var type = stream.read(6);
222 if (stream.read(1)) {
224 while (!stream.read(1))
234 var tmp = stream.read(this.curr_bps, true);
241 decoded[channel][i] = stream.read(bps, true);
266 decoded[i] = stream.read(bps, true);
320 decoded[i] = stream.read(bps, true);
323 var coeff_prec = stream.read(4) + 1;
327 var qlevel = stream.read(5, true);
333 coeffs[i] = stream.read(coeff_prec, true);
436 method_type = stream.read(2);
441 var rice_order = stream.read(4),
452 var tmp = stream.read(method_type === 0 ? 4 : 5);
455 tmp = stream.read(5);
457 decoded[sample++] = stream.read(tmp, true);
486 for (var i = 0; data.read(1) === 0; i++)
491 buf = data.read(k);
498 buf = data.read(esc_len);
630 minBlockSize: bitstream.read(16),
631 maxBlockSize: bitstream.read(16),
632 minFrameSize: bitstream.read(24),
633 maxFrameSize: bitstream.read(24)
638 sampleRate: bitstream.read(20),
639 channelsPerFrame: bitstream.read(3) + 1,
640 bitsPerChannel: bitstream.read(5) + 1
646 var sampleCount = bitstream.read(36);