synesthesiam/homeassistant-satellite

Windows support

Opened this issue · 6 comments

Hello.

Did you think about implementing a windows support?

I think using just sounddevice or pyaudio instead of arecord/aplay will solve this problem.

I originally used sounddevice, but that caused a whole lot of other problems 😆

I may re-add that as an optional backend once pulseaudio support gets merged.

In #3 someone reports that it works on windows using pulseaudio and WSLg. Maybe this can be a reasonable workaround.

I have a Microsoft Surface Pro that i'm using as a wall mounted controlpanel, besides normal use. Is there any solution for a Windows system?

Correct me if I'm wrong but couldn't you just use ffmpeg -f dshow -i audio="Microphone device name" (ffmpeg on windows works directly with DirectShow) for both recording and streaming, so no need for arecrod?