this post was submitted on 29 Feb 2024
13 points (93.3% liked)

homeassistant

12072 readers
4 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

I've recently migrated from a raspberry pi 4b to a dell Optiplex running Proxmox and I'm having a lot of fun with it.

One of the services I have running is Raspotify, which allowed me to plug my pi into a speaker and run Spotify through it.

I had a quick go passing the audio jack through to my HA VM and it just stopped working completely. Only after removing the pass-through did it work again.

So if anyone has managed it, what do? Do I use SPICE as a driver or none? Which device is it?

Thanks

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 8 months ago (2 children)

Thanks for this, it totally worked although I'm not quite satisfied with the audio quality. There's artifacts in the sound stream, like a clicking, and Ozzy sounds a little strange when I play Bark At The Moon.

But all in all it's better than no audio, so thank you.

I of course tried to pass through the audio device again, don't wanna have to spend money if I don't have to, but it crashed Proxmox again so it was straight to Amazon.

[–] [email protected] 2 points 8 months ago (1 children)

Also, the crackling might be something about the sampling rate. It's been a while since since I poked around with audio, but I vaguely remember changing the default sampling rate and restart pulseaudio or something like that.

[–] [email protected] 1 points 8 months ago

Yeah I turned it down from 320 to 160and it seemed to help

[–] [email protected] 2 points 8 months ago

In my case, I think the onboard audio device is in the same group as the motherboard chipset, which would explain the host crashing when passing through.