Skip to content

Conversation

@eric-belhomme
Copy link

I needed to fine-tune the PulseAudio daemon to get the benefits from my hi-res HiFi DAC at 24 bits/192kHz sampling rate.

So I added a daemon object into the JSON file /mnt/data/supervisor/audio/pulse_audio.json:

{
  "debug": false,
  "daemon": {
    "resample-method": "speex-float-10",
    "avoid-resampling": true
  }
}

then I patched the s6 init script /etc/s6-overlay/s6-rc.d/pulseaudio/run to read the JSON file and patch the /etc/pulse/daemon.conf config file accordingly.

It basically read keys in .daemon object and patch the corresponding key in daemon.conf file with sed. So it is generic enough to allow to tune any config directive supported by pulseaudio.

Copy link

@home-assistant home-assistant bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @eric-belhomme

It seems you haven't yet signed a CLA. Please do so here.

Once you do that we will be able to review and accept this pull request.

Thanks!

@home-assistant home-assistant bot marked this pull request as draft December 11, 2025 08:54
@home-assistant
Copy link

Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍

Learn more about our pull request process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant