I’m running HA OS, and I want to use a USB line in audio device (something like this) on my host machine (RPi 4). The idea would be to feed it audio which I could select as a media source in HA or Music Assistant.
Is something like this possible? I know that the Assist Microphone add-on can use a USB mic, and the ffmpeg integration can use a USB camera, so it seems like getting the audio from the USB device should be possible, but I don’t know how I could make this a media source.
I tried setting up a simple rtp stream from ffpmeg on a different computer as a test, but couldn’t get it added to Music Assistant using the Builtin Provider.
Is there another way to get an rtp stream like this working? Or some other method I am not considering for getting USB line in audio setup as a media source?