# Optimizing Squeezelite’s Volume Control

**URL:** <https://dietpi.com/forum/t/optimizing-squeezelite-s-volume-control/1172>\
**Category:** Troubleshooting\
**Created:** [5 April 2017 21:30 UTC](https://dietpi.com/forum/t/optimizing-squeezelite-s-volume-control/1172 "2017-04-05T21:30:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicosea](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/n/5f9b8f/32.png) [@nicosea](https://dietpi.com/forum/u/nicosea)\
**Post date:** [5 April 2017 21:30 UTC](https://dietpi.com/forum/t/optimizing-squeezelite-s-volume-control/1172/1 "2017-04-05T21:30:24Z")

</div>

Generally, with DACs, it is recommend to directly connect the Squeezelite volume control to the hardware control of the DAC (in my case a IQaduIO DAC+). With the standard setting Squeezelite has a software volume control and a fixed hardware volume on the DAC – but this does not improve the audio quality.

It is possible to connect the volume control for Squeezelite directly to the DAC by adding the following Start Parameters:

```nohighlight
-o [Soundcard] -V Digital

```

“Digital” is the DAC’s mixer device.

What do I need to edit to add the above parameters?

I have installed Sqeezelite with Dietpi, but I do not know where the script is, the one which autostarts Squeezelite. I would like to edit it and change the command which starts Squeezelite, more or less like below:

```nohighlight
/usr/bin/squeezelite -o sysdefault:CARD=IQaudIODAC -V Digital -s [IP.Number.LMS]

```

---

<div class="post-metadata">

**Author:** ![Fourdee](https://dietpi.com/forum/user_avatar/dietpi.com/fourdee/32/11_2.png) [@Fourdee](https://dietpi.com/forum/u/Fourdee)\
**Post date:** [6 April 2017 17:23 UTC](https://dietpi.com/forum/t/optimizing-squeezelite-s-volume-control/1172/2 "2017-04-06T17:23:48Z")

</div>

Hi,

SystemD service is located here:

```nohighlight
nano /etc/systemd/system/squeezelite.service

```

Once changes are made to the command line options, reload systemD and restart service with:

```nohighlight
systemctl daemon-reload
dietpi-services restart

```

SqueezeLite will use the default soundcard on system, if /etc/asound.conf matches the DAC (will do if sound card was set in dietpi-config), you may be able to simply use -V Digital

---

<div class="post-metadata">

**Author:** ![nicosea](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/n/5f9b8f/32.png) [@nicosea](https://dietpi.com/forum/u/nicosea)\
**Post date:** [6 April 2017 21:36 UTC](https://dietpi.com/forum/t/optimizing-squeezelite-s-volume-control/1172/3 "2017-04-06T21:36:34Z")

</div>

I added -V Digital and it works!  
Many many thanks 😉

I suggest to add this advice in the description of Squeezelite here:  
[https://dietpi.com/forum/t/dietpi-software-details-for-all-installation-options/22/39](https://dietpi.com/forum/t/dietpi-software-details-for-all-installation-options/22/39)  
So everybody can benefit.

---

<div class="post-metadata">

**Author:** ![Fourdee](https://dietpi.com/forum/user_avatar/dietpi.com/fourdee/32/11_2.png) [@Fourdee](https://dietpi.com/forum/u/Fourdee)\
**Post date:** [7 April 2017 11:42 UTC](https://dietpi.com/forum/t/optimizing-squeezelite-s-volume-control/1172/4 "2017-04-07T11:42:36Z")

</div>

> [@nicosea](#):
>
> I added -V Digital and it works!  
> Many many thanks 😉
> 
> I suggest to add this advice in the description of Squeezelite here:  
> [https://dietpi.com/forum/t/dietpi-software-details-for-all-installation-options/22/39](https://dietpi.com/forum/t/dietpi-software-details-for-all-installation-options/22/39)  
> So everybody can benefit.

Excellent, great to hear.

I’ve updated the doc with info for service/command line options. Thanks 🙂
