From 6d47dc9a8860a17a9e630b8662f33df63011bad9 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Thu, 1 Oct 2020 12:53:42 -0400 Subject: fix some of the red introduced in e43726d Change-Id: Id1abb0dd11f8a8e79a80fc54e58a5a22706a03ad --- firmware/drivers/audio/nwzlinux-codec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/drivers/audio') 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) -- cgit v1.2.3