fix(app): Recorder-Stop vor Ersatz + create_monitor in Tests mocken
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -103,6 +103,8 @@ class App:
|
||||
from whisper_local.tray._notification import notify
|
||||
device_name = self._config.microphone or "Mikrofon"
|
||||
logger.warning("Konfiguriertes Mikrofon '%s' nicht gefunden, nutze Standard", device_name)
|
||||
if self.recorder.is_recording:
|
||||
self.recorder.stop()
|
||||
self.recorder = Recorder(
|
||||
sample_rate=self._config.sample_rate,
|
||||
channels=self._config.channels,
|
||||
|
||||
Reference in New Issue
Block a user