OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:_sampwidth
(Results
1 - 7
of
7
) sorted by null
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
wave.py
105
_sampwidth
-- the number of bytes per audio sample
197
return self.
_sampwidth
234
if self.
_sampwidth
> 1 and big_endian:
240
data = array.array(_array_fmts[self.
_sampwidth
])
242
if nitems * self.
_sampwidth
> chunk.chunksize - chunk.size_read:
243
nitems = (chunk.chunksize - chunk.size_read) / self.
_sampwidth
246
chunk.size_read = chunk.size_read + nitems * self.
_sampwidth
249
chunk.size_read = chunk.size_read + nitems * self.
_sampwidth
256
self._soundpos = self._soundpos + len(data) // (self._nchannels * self.
_sampwidth
)
267
self.
_sampwidth
= (sampwidth + 7) //
[
all
...]
sunau.py
183
self.
_sampwidth
= 2
186
self._framesize = self.
_sampwidth
= 1
188
self._framesize = self.
_sampwidth
= 2
190
self._framesize = self.
_sampwidth
= 3
192
self._framesize = self.
_sampwidth
= 4
214
return self.
_sampwidth
261
data = audioop.ulaw2lin(data, self.
_sampwidth
)
297
self.
_sampwidth
= 0
323
self.
_sampwidth
= sampwidth
328
return self.
_sampwidth
[
all
...]
aifc.py
266
#
_sampwidth
-- the number of bytes per audio sample
333
cl.BITS_PER_COMPONENT, self.
_sampwidth
* 8,
375
return self.
_sampwidth
424
self._soundpos = self._soundpos + len(data) // (self._nchannels * self.
_sampwidth
)
454
self.
_sampwidth
= (_read_short(chunk) + 7) // 8
456
self._framesize = self._nchannels * self.
_sampwidth
546
#
_sampwidth
-- the number of bytes per audio sample
584
self.
_sampwidth
= 0
628
self.
_sampwidth
= sampwidth
631
if not self.
_sampwidth
[
all
...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/
wave.py
105
_sampwidth
-- the number of bytes per audio sample
197
return self.
_sampwidth
234
if self.
_sampwidth
> 1 and big_endian:
240
data = array.array(_array_fmts[self.
_sampwidth
])
242
if nitems * self.
_sampwidth
> chunk.chunksize - chunk.size_read:
243
nitems = (chunk.chunksize - chunk.size_read) / self.
_sampwidth
246
chunk.size_read = chunk.size_read + nitems * self.
_sampwidth
249
chunk.size_read = chunk.size_read + nitems * self.
_sampwidth
256
self._soundpos = self._soundpos + len(data) // (self._nchannels * self.
_sampwidth
)
267
self.
_sampwidth
= (sampwidth + 7) //
[
all
...]
sunau.py
183
self.
_sampwidth
= 2
186
self._framesize = self.
_sampwidth
= 1
188
self._framesize = self.
_sampwidth
= 2
190
self._framesize = self.
_sampwidth
= 3
192
self._framesize = self.
_sampwidth
= 4
214
return self.
_sampwidth
261
data = audioop.ulaw2lin(data, self.
_sampwidth
)
297
self.
_sampwidth
= 0
323
self.
_sampwidth
= sampwidth
328
return self.
_sampwidth
[
all
...]
aifc.py
266
#
_sampwidth
-- the number of bytes per audio sample
333
cl.BITS_PER_COMPONENT, self.
_sampwidth
* 8,
375
return self.
_sampwidth
424
self._soundpos = self._soundpos + len(data) // (self._nchannels * self.
_sampwidth
)
454
self.
_sampwidth
= (_read_short(chunk) + 7) // 8
456
self._framesize = self._nchannels * self.
_sampwidth
546
#
_sampwidth
-- the number of bytes per audio sample
584
self.
_sampwidth
= 0
628
self.
_sampwidth
= sampwidth
631
if not self.
_sampwidth
[
all
...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/
Audio_mac.py
13
self.
_sampwidth
= 1
39
self.
_sampwidth
= sampwidth
52
nframes = len(data) / self._nchannels / self.
_sampwidth
53
if len(data) != nframes * self._nchannels * self.
_sampwidth
:
57
self._qsize / self._nchannels / self.
_sampwidth
:
59
if self.
_sampwidth
== 1:
73
self.
_sampwidth
*8,
95
return filled / self._nchannels / self.
_sampwidth
98
return (self._qsize / self._nchannels / self.
_sampwidth
) - self.getfilled()
Completed in 32 milliseconds