summaryrefslogtreecommitdiffstats
path: root/firmware/drivers
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-10-01 12:53:42 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-10-01 12:55:52 -0400
commit6d47dc9a8860a17a9e630b8662f33df63011bad9 (patch)
tree53f3a7ad38fa0f739b366b4f98dd40eb90921f4d /firmware/drivers
parente43726df2cd1cb8275234d60b818d417cfe730b5 (diff)
downloadrockbox-6d47dc9a8860a17a9e630b8662f33df63011bad9.tar.gz
rockbox-6d47dc9a8860a17a9e630b8662f33df63011bad9.tar.bz2
rockbox-6d47dc9a8860a17a9e630b8662f33df63011bad9.zip
fix some of the red introduced in e43726d
Change-Id: Id1abb0dd11f8a8e79a80fc54e58a5a22706a03ad
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/audio/nwzlinux-codec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/audio/nwzlinux-codec.c b/firmware/drivers/audio/nwzlinux-codec.c
index 33059d2aec..ca5e274255 100644
--- a/firmware/drivers/audio/nwzlinux-codec.c
+++ b/firmware/drivers/audio/nwzlinux-codec.c
@@ -416,7 +416,7 @@ void audiohw_set_volume(int vol_l, int vol_r)
printf(" set driver volume %d (%d dB)\n", drv_vol, curve->level[drv_vol] / 10);
nwz_set_driver_vol(drv_vol);
printf(" set digital volume %d dB\n", vol / 10);
- pcm_alsa_set_digital_volume(vol / 10);
+ pcm_alsa_set_digital_volume(vol / 10, vol / 10);
}
void audiohw_close(void)