Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  line-level output for Sansa e200
« previous next »
  • Print
Pages: 1 [2]

Author Topic: line-level output for Sansa e200  (Read 10090 times)

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: line-level output for Sansa e200
« Reply #15 on: August 13, 2010, 12:51:22 AM »
Quote from: PickupBetty on August 12, 2010, 11:46:54 PM
There are plenty of reasons why dock output should be line level, and I can't think of any why it shouldn't.

As I said before, probably just lack of interest on the part of people who actually have a line out device.  If you want you can try this build:

http://duke.edu/~mgg6/rockbox/rockbox.7z

No idea if it works, I don't have any way to test it.  Heres the code in case someone wants to play with it:

Code: [Select]
Index: firmware/drivers/audio/as3514.c
===================================================================
--- firmware/drivers/audio/as3514.c     (revision 27794)
+++ firmware/drivers/audio/as3514.c     (working copy)
@@ -256,7 +256,7 @@
     ascodec_suppressor_on(false);
 #endif
 
-#if defined(SANSA_E200V2) || defined(SANSA_FUZE)
+#if defined(SANSA_E200) || defined(SANSA_E200V2) || defined(SANSA_FUZE)
     /* Set line out volume to 0dB */
     as3514_write_masked(AS3514_LINE_OUT_R, 0x1b, AS3514_VOL_MASK);
     as3514_write_masked(AS3514_LINE_OUT_L, 0x1b, AS3514_VOL_MASK);


 
Logged

Offline yapper

  • Rockbox Expert
  • Member
  • *
  • Posts: 794
Re: line-level output for Sansa e200
« Reply #16 on: August 13, 2010, 01:17:34 AM »
It doesn't seem to work on a v1 E200 and Griffin powerdock - the volume remains unaltered.

Edit: there is a seller on ebay offering powerdocks for $6.50 at the moment
« Last Edit: August 13, 2010, 01:28:33 AM by yapper »
Logged
G2 iPod 20GB / Sansa c240 v1 + 2GB microSD / Sansa c250 v1 / Sansa e250 v1 + 8GB microSDHC / Sansa Fuze v2 + 32GB microSDHC

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: line-level output for Sansa e200
« Reply #17 on: August 13, 2010, 01:36:46 AM »
Quote from: yapper on August 13, 2010, 01:17:34 AM
It doesn't seem to work on a v1 E200 and Griffin powerdock - the volume remains unaltered.

Edit: there is a seller on ebay offering powerdocks for $6.50 at the moment

unaltered == muted?
Logged

Offline yapper

  • Rockbox Expert
  • Member
  • *
  • Posts: 794
Re: line-level output for Sansa e200
« Reply #18 on: August 13, 2010, 01:40:14 AM »
No, the volume remain unaltered from what it was set to before I connected the DAP to the dock (with Select). I initially had it at +6db and it stayed the same. Next time I set it low (-50-ish) and again it remained unaltered.

Both times the volume varied on the line out if I adjusted the volume.
Logged
G2 iPod 20GB / Sansa c240 v1 + 2GB microSD / Sansa c250 v1 / Sansa e250 v1 + 8GB microSDHC / Sansa Fuze v2 + 32GB microSDHC

Offline mc2739

  • Developer
  • Member
  • *
  • Posts: 262
Re: line-level output for Sansa e200
« Reply #19 on: August 13, 2010, 07:23:35 AM »
The line out on the e200v1 appears to be connected directly to the headphone output.  Adjusting the AS3514 line out level has no effect on the line out volume.  The line out level can only be changed by adjusting the headphone volume.

Adjusting the headphone level automatically could be dangerous in the case where someone is listening through the headphones and connects their dock/charger for the purpose of charging the battery.  The headphone level would be switched to 0db which could potentially cause hearing damage.

With my e200v1, I use a saved config file to switch the volume when I wish to use the line out.  In my opinion, it is easier to load the config file than to manually adjust the volume.
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: line-level output for Sansa e200
« Reply #20 on: August 13, 2010, 07:46:12 AM »
There should be no noticable/measurable effect on battery life from setting the volume to 0dB, by the way. The power consumed by the amplifier on a portable player is miniscule compared to the rest of the device.
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: line-level output for Sansa e200
« Reply #21 on: August 13, 2010, 04:29:43 PM »
Quote from: mc2739 on August 13, 2010, 07:23:35 AM
The line out on the e200v1 appears to be connected directly to the headphone output.  Adjusting the AS3514 line out level has no effect on the line out volume.  The line out level can only be changed by adjusting the headphone volume.

Adjusting the headphone level automatically could be dangerous in the case where someone is listening through the headphones and connects their dock/charger for the purpose of charging the battery.  The headphone level would be switched to 0db which could potentially cause hearing damage.


So it would need to work like on the Fuzev2 where it mutes the HP and maxes the line out?
Logged

Offline soap

  • Member
  • *
  • Posts: 1678
  • Creature of habit.
Re: line-level output for Sansa e200
« Reply #22 on: August 13, 2010, 05:55:16 PM »
Quote from: PickupBetty on August 12, 2010, 11:46:54 PM
I'd prefer not to crank up my volume -- it's a waste of battery <snip>
I rather doubt that.  Without headphones connected there is no power being transferred.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline mc2739

  • Developer
  • Member
  • *
  • Posts: 262
Re: line-level output for Sansa e200
« Reply #23 on: August 13, 2010, 07:19:32 PM »
Quote from: saratoga on August 13, 2010, 04:29:43 PM
So it would need to work like on the Fuzev2 where it mutes the HP and maxes the line out?

It cannot work like the Fuzev2.  The Fuzev2 has a single DAC which is switched to two outputs (headphone & line out).  The e200v1 has two DACs, each with their own outputs, but instead of line out using it's own DAC, it is connected to the headphone DAC.  The line out DAC is unused.

When you adjust the level of the line out DAC, the line out connection stays at the same volume level.  When you adjust the level of the headphone DAC, the volume  level of both the headphones and the line out connection change.
Logged

Offline PickupBetty

  • Member
  • *
  • Posts: 30
Re: line-level output for Sansa e200
« Reply #24 on: September 09, 2010, 12:45:35 AM »
Thanks for the discussion, everyone.  I can rest easy, now that I know it's a matter of "can't" instead of "won't."  Somehow the irritation doesn't exists anymore.
Logged

  • Print
Pages: 1 [2]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  line-level output for Sansa e200
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.103 seconds with 14 queries.