Home | History | Annotate | Download | only in python2.7

Lines Matching refs:rate

8 - sampling rate (0 if unknown or hard to decode)
17 sampling rate (a frame contains a sample for each channel).
90 rate = f(h[16:20])
103 return type, rate, nchannels, data_size//frame_size, sample_bits
121 rate = 0
124 rate = int(1000000.0 / (256 - ratecode))
125 return 'voc', rate, 1, -1, 8
136 rate = get_long_le(h[24:28])
138 return 'wav', rate, nchannels, -1, sample_bits
155 rate = get_short_le(h[20:22])
156 return 'sndt', rate, 1, nsamples, 8
163 rate = get_short_le(h[2:4])
164 if 4000 <= rate <= 25000:
165 return 'sndr', rate, 1, -1, 8