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/sunau.py:354–357 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
352
self._nchannels = nchannels
353
354
def
getnchannels(self):
355
if
not self._nchannels:
356
raise
Error(
'number of channels not set'
)
357
return
self._nchannels
358
359
def
setsampwidth(self, sampwidth):
360
if
self._nframeswritten:
Callers
1
getparams
Method · 0.95
Calls
1
Error
Class · 0.70
Tested by
no test coverage detected