This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#10082 - Full range volume control for WM8758 (iPod 5G)
Attached to Project:
Rockbox
Opened by Andree Buschmann (Buschel) - Wednesday, 01 April 2009, 00:02 GMT+2
Last edited by Andree Buschmann (Buschel) - Saturday, 23 January 2010, 20:35 GMT+2
Opened by Andree Buschmann (Buschel) - Wednesday, 01 April 2009, 00:02 GMT+2
Last edited by Andree Buschmann (Buschel) - Saturday, 23 January 2010, 20:35 GMT+2
|
DetailsThis patch enables volume control for headphones from -90..+6 dB when using a WM8758 Wolfson Codec (e.g. iPod 5G). The advantage is that users may lower the volume even below svn's -57dB limitation -- at least I find it helpful as I mostly listen to music via my iPod at night.
The full range control is achieved through separating volume control into two 4 steps: 1) all max (>=+6 dB) 2) amplifier output is controlled, DAC output is max (for better snr) (-57..+6 dB) 3) amplifier output is min but not muted, DAC output is controlled (-89..-58 dB) 4) all muted (<=-90 dB) When lowering the volume below -57dB the lineout is also affected. |
This task depends upon
Closed by Andree Buschmann (Buschel)
Saturday, 23 January 2010, 20:35 GMT+2
Reason for closing: Accepted
Additional comments about closing: Commited with r24318
Saturday, 23 January 2010, 20:35 GMT+2
Reason for closing: Accepted
Additional comments about closing: Commited with r24318
I did not have a look into analog input or recording yet (as I do and did not use it).
Edit1: Added some more thoughts.
Edit2: Corrected numbers...
1. Does changing both DAC and OUTVOL at the same time lead to fuzzy output volume? (e.g. lowering DAC by 3dB and raising OUTVOL by 2dB at the same time)
2. From the signal flow diagrams of the WM8758 I see that the ADCBOOST is done before ADC conversion. Isn't the rec volume affected by this?
3. For the iPod 5.5G the lineout also has to be taken care of. As described above I see no way of keeping it stable over the full volume range.
1. Volume control is quite smooth actually. These adjustment happen quickly enough that there isn't time to hear anything and the adjustments are not large which helps to mask it.
2. Gigabeat S needs to use the +20dB gain for the FM and so things have to be routed there. It's using the MIC inputs as single ended and so the PGA control there doesn't really work properly (otherwise it could have alot of signal boost but I could only manage +8dB by keeping PGA constant using other gain stages).
3. True, Line Out will need handling to compensate the strange DAC adjustments. DAC volume will affect Line Out and I see no way around that.
I worked it out for Gigabeat S in a particular way but other schemes could possibly be done. Gigabeat S needs alot of attenuation because it's so loud.
I think it can be committed in trunk.