(self, params)
| 514 | return self._compname |
| 515 | |
| 516 | def setparams(self, params): |
| 517 | nchannels, sampwidth, framerate, nframes, comptype, compname = params |
| 518 | if self._datawritten: |
| 519 | raise Error('cannot change parameters after starting to write') |
| 520 | self.setnchannels(nchannels) |
| 521 | self.setsampwidth(sampwidth) |
| 522 | self.setframerate(framerate) |
| 523 | self.setnframes(nframes) |
| 524 | self.setcomptype(comptype, compname) |
| 525 | |
| 526 | def getparams(self): |
| 527 | if not self._nchannels or not self._sampwidth or not self._framerate: |
nothing calls this directly
no test coverage detected