diff options
Diffstat (limited to 'firmware/drivers/audio')
-rw-r--r-- | firmware/drivers/audio/wm8751.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/drivers/audio/wm8751.c b/firmware/drivers/audio/wm8751.c index 7b6a2712e5..1b4af3eca8 100644 --- a/firmware/drivers/audio/wm8751.c +++ b/firmware/drivers/audio/wm8751.c | |||
@@ -385,7 +385,8 @@ void audiohw_set_frequency(int fsel) | |||
385 | 385 | ||
386 | #ifdef HAVE_WM8750 | 386 | #ifdef HAVE_WM8750 |
387 | #ifdef AUDIOHW_HAVE_DEPTH_3D | 387 | #ifdef AUDIOHW_HAVE_DEPTH_3D |
388 | /* Set the depth of the 3D effect */ | 388 | /* Set the depth of the 3D effect |
389 | * value in 0 .. 15, corresponds to 0% .. 100% in 6.66% steps */ | ||
389 | void audiohw_set_depth_3d(int val) | 390 | void audiohw_set_depth_3d(int val) |
390 | { | 391 | { |
391 | if (val > 0) | 392 | if (val > 0) |
@@ -631,6 +632,7 @@ static int pga_gain2hw(int value) | |||
631 | return ((4 * value) / 300) + 23; | 632 | return ((4 * value) / 300) + 23; |
632 | } | 633 | } |
633 | 634 | ||
635 | /* volume in hundredth of dB in -1725 .. 6000 */ | ||
634 | void audiohw_set_recvol(int vol_l, int vol_r, int type) | 636 | void audiohw_set_recvol(int vol_l, int vol_r, int type) |
635 | { | 637 | { |
636 | int d_vol_l = 0; | 638 | int d_vol_l = 0; |