fix: always use 1 audio channel

Before, I chose the number of audio channels that the microphone supports. Should be 1.

ref: N25B-119
This commit is contained in:
Twirre Meulenbelt
2025-10-01 13:41:53 +02:00
parent afae6fc331
commit d21c7fa423

View File

@@ -58,7 +58,7 @@ class AudioStreaming:
stream = self.audio.open(
format=pyaudio.paFloat32,
channels=self.microphone["maxInputChannels"],
channels=1,
rate=16000,
input=True,
input_device_index=self.microphone["index"],