* TODO: Buffer fertig abbarbeiten */
| 93 | * TODO: Buffer fertig abbarbeiten |
| 94 | */ |
| 95 | void Recorder::stop() { |
| 96 | if (!_available) return; |
| 97 | device->end(); |
| 98 | target->end(); |
| 99 | _available = false; |
| 100 | } |
| 101 | |
| 102 | void Recorder::setDevice(InputDevice * device) { |
| 103 | this->device = device; |