HomeSort by relevance Sort by last modified time
    Searched refs:_nchannels (Results 1 - 8 of 8) sorted by null

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/
Audio_mac.py 14 self._nchannels = 1
42 self._nchannels = nchannels
52 nframes = len(data) / self._nchannels / self._sampwidth
53 if len(data) != nframes * self._nchannels * self._sampwidth:
57 self._qsize / self._nchannels / self._sampwidth:
64 self._nchannels,
95 return filled / self._nchannels / self._sampwidth
98 return (self._qsize / self._nchannels / self._sampwidth) - self.getfilled()
  /external/chromium_org/third_party/opus/src/src/
opus_compare.c 54 static size_t read_pcm16(float **_samples,FILE *_fin,int _nchannels){
64 nread=fread(buf,2*_nchannels,1024/(2*_nchannels),_fin);
70 _nchannels*csamples*sizeof(*samples));
74 for(ci=0;ci<_nchannels;ci++){
76 s=buf[2*(xi*_nchannels+ci)+1]<<8|buf[2*(xi*_nchannels+ci)];
78 samples[(nsamples+xi)*_nchannels+ci]=s;
84 _nchannels*nsamples*sizeof(*samples));
89 const float *_in,int _nchannels,size_t _nframes,int _window_sz
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
wave.py 101 _nchannels -- the number of audio channels
191 return self._nchannels
241 nitems = nframes * self._nchannels
256 self._soundpos = self._soundpos + len(data) // (self._nchannels * self._sampwidth)
264 wFormatTag, self._nchannels, self._framerate, dwAvgBytesPerSec, wBlockAlign = struct.unpack('<HHLLH', chunk.read(14))
270 self._framesize = self._nchannels * self._sampwidth
285 _nchannels -- the number of audio channels
315 self._nchannels = 0
335 self._nchannels = nchannels
338 if not self._nchannels
    [all...]
sunau.py 196 self._nchannels = int(_read_u32(file))
197 self._framesize = self._framesize * self._nchannels
211 return self._nchannels
258 data = self._file.read(nframes * self._framesize * self._nchannels)
296 self._nchannels = 0
311 self._nchannels = nchannels
314 if not self._nchannels:
316 return self._nchannels
413 if not self._nchannels:
439 self._framesize = self._framesize * self._nchannels
    [all...]
aifc.py 262 # _nchannels -- the number of audio channels
335 if self._nchannels == 1:
337 elif self._nchannels == 2:
369 return self._nchannels
424 self._soundpos = self._soundpos + len(data) // (self._nchannels * self._sampwidth)
435 return self._decomp.Decompress(len(data) // self._nchannels,
452 self._nchannels = _read_short(chunk)
456 self._framesize = self._nchannels * self._sampwidth
544 # _nchannels -- the number of audio channels
583 self._nchannels =
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
wave.py 101 _nchannels -- the number of audio channels
191 return self._nchannels
241 nitems = nframes * self._nchannels
256 self._soundpos = self._soundpos + len(data) // (self._nchannels * self._sampwidth)
264 wFormatTag, self._nchannels, self._framerate, dwAvgBytesPerSec, wBlockAlign = struct.unpack('<HHLLH', chunk.read(14))
270 self._framesize = self._nchannels * self._sampwidth
285 _nchannels -- the number of audio channels
315 self._nchannels = 0
335 self._nchannels = nchannels
338 if not self._nchannels
    [all...]
sunau.py 196 self._nchannels = int(_read_u32(file))
197 self._framesize = self._framesize * self._nchannels
211 return self._nchannels
258 data = self._file.read(nframes * self._framesize * self._nchannels)
296 self._nchannels = 0
311 self._nchannels = nchannels
314 if not self._nchannels:
316 return self._nchannels
413 if not self._nchannels:
439 self._framesize = self._framesize * self._nchannels
    [all...]
aifc.py 262 # _nchannels -- the number of audio channels
335 if self._nchannels == 1:
337 elif self._nchannels == 2:
369 return self._nchannels
424 self._soundpos = self._soundpos + len(data) // (self._nchannels * self._sampwidth)
435 return self._decomp.Decompress(len(data) // self._nchannels,
452 self._nchannels = _read_short(chunk)
456 self._framesize = self._nchannels * self._sampwidth
544 # _nchannels -- the number of audio channels
583 self._nchannels =
    [all...]

Completed in 66 milliseconds