Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/env-windows
/ getnchannels
Method
getnchannels
tools/python-3.11.9-amd64/Lib/wave.py:465–468 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
463
self._nchannels = nchannels
464
465
def
getnchannels(self):
466
if
not self._nchannels:
467
raise
Error(
'number of channels not set'
)
468
return
self._nchannels
469
470
def
setsampwidth(self, sampwidth):
471
if
self._datawritten:
Callers
nothing calls this directly
Calls
1
Error
Class · 0.70
Tested by
no test coverage detected