This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#8602 - Remove audiohw_set_lineout_vol call from sound.c
Attached to Project:
Rockbox
Opened by Christian Gmeiner (ChristianGmeiner) - Tuesday, 12 February 2008, 19:12 GMT+2
Opened by Christian Gmeiner (ChristianGmeiner) - Tuesday, 12 February 2008, 19:12 GMT+2
|
DetailsHi all.
I have found a funny thing, which should get fixed. In set_prescaled_volume there is this call: audiohw_set_lineout_vol(tenthdb2master(0), tenthdb2master(0)); As far as I can see this call is not needed here. So this patch removes it, but as I own only a sansa e280 I can not test this change. I hope to commit this soon. If this call is needed... do we need it every time audio changes or only once at init? Thanks, AustrianCOder |
This task depends upon
I make now use of audiohw_postinit to set lineout volume. Maybe we should check datasheet if we
need to set linout volume - maybe default value is okay?
- wm8751 - http://www.wolfsonmicro.com/uploads/documents/en/WM8751.pdf --> 0db default -> see page 26
for wm8975 and wm8758 I found no datasheet. But I think that they have all 0db as default.