(self)
| 14 | self.channels = 1 |
| 15 | |
| 16 | def start(self): |
| 17 | print("start recording!") |
| 18 | self.stream = self.audio.open( |
| 19 | format= self.audio_format, |
| 20 | channels= self.channels, |
| 21 | rate=self.rate, |
| 22 | input=True, |
| 23 | frames_per_buffer=1280 |
| 24 | ) |
| 25 | self.chunks = [] |
| 26 | |
| 27 | def stop(self): |
| 28 | print("stop recording!") |
no outgoing calls
no test coverage detected