FS#14 - Line in + Playback mixing

Attached to Project: Rockbox
Opened by Anonymous Submitter - Monday, 11 February 2002, 08:10 GMT
Last edited by Marc Guay (Marc_Guay) - Thursday, 17 April 2008, 19:20 GMT
Task Type Feature Requests
Category Drivers
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


can both the decoded stream's DAC input and the "Line-In"
input be selected as on to mix the 2? be nice to listen
to music + other things like voice/game noises/etc
This task depends upon

Closed by  Bj√∂rn Stenberg (zagor)
Thursday, 17 April 2008, 19:20 GMT
Reason for closing:  Duplicate
Additional comments about closing:  Closing all feature requests.
Comment by Jason Tye (tracktheripper) - Monday, 13 January 2003, 21:56 GMT

I believe the Player can do this.
Comment by Anonymous Submitter - Friday, 17 January 2003, 21:04 GMT

Or for Dj use.
Comment by Thomas Kobler (kobler) - Monday, 20 June 2005, 18:58 GMT

I'll second this. After looking into the MAS datasheet it
seems possible to me, but I might have looked not thoroughly

It would be *very* helpfull, to have a configuration
possibility in e.g. F1/Sound Settings; maybe 'Line-In
Volume'? With this, one could plug a second archos and mix
them by their volumes or plug a PDA with speech output from
a navigation software.

All what would probably be necessary is to change the two
registers for the mixing volumes from default:

/* ADC scale 0%, DSP scale 100% */
mas_codec_writereg(6, 0x0000);
mas_codec_writereg(7, 0x4000);

to user selectable value(s):

0x0000 off
0x2000 50% (6 dB gain)
0x4000 100% (0 dB gain)
0x7F00 200% (+6 dB gain)

To make the decoder volume changeable too, might even help
for badly scaled mp3 files.

Unfortunately, I've got no working compiler setup to try it
and the ajbrec.ajz is not plain binary, otherwise I just
would have patched it :-)

Thank you!
Comment by Thomas Kobler (kobler) - Wednesday, 04 January 2006, 15:21 GMT

patch 1396804 added