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/wave.py:477–480 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
475
self._sampwidth = sampwidth
476
477
def
getsampwidth(self):
478
if
not self._sampwidth:
479
raise
Error(
'sample width not set'
)
480
return
self._sampwidth
481
482
def
setframerate(self, framerate):
483
if
self._datawritten:
Callers
nothing calls this directly
Calls
1
Error
Class · 0.70
Tested by
no test coverage detected