Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/env-windows
/ getsampwidth
Method
getsampwidth
tools/python-3.11.9-amd64/Lib/sunau.py:366–369 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
364
self._sampwidth = sampwidth
365
366
def
getsampwidth(self):
367
if
not self._framerate:
368
raise
Error(
'sample width not specified'
)
369
return
self._sampwidth
370
371
def
setframerate(self, framerate):
372
if
self._nframeswritten:
Callers
1
getparams
Method · 0.95
Calls
1
Error
Class · 0.70
Tested by
no test coverage detected