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




Rockbox Technical Forums


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

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Clip+ DC offset
« previous next »
  • Print
Pages: 1 [2]

Author Topic: Clip+ DC offset  (Read 3250 times)

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 6285
Re: Clip+ DC offset
« Reply #15 on: January 03, 2011, 05:50:44 PM »
Quote from: Carson Dyle on January 03, 2011, 05:44:34 PM
I just noticed on my Fuze that when it's paused adjusting the volume level results in a distinct clicking sound that can be heard at each volume increment at the upper levels. 

If you have a DC offset and you change it, thats will produce a click sound. 
Logged

Offline bertrik

  • Developer
  • Member
  • *
  • Posts: 169
    • Homepage Bertrik Sikken
Re: Clip+ DC offset
« Reply #16 on: January 04, 2011, 12:17:59 PM »
Two things I'd like to reply on: 1) clicks/beeps on volume change 2) DC offset. IMO, these are related, but different things.

Regarding 1), there is a ZCU bit (zero-cross update) in the audio codec used in the AMS sansas. This bit should apply volume changes only on a zero crossing (when the amplitude is near zero). I have no idea though if we currently use it. Also if enabled, I don't know if the volume change is applied anyway when no zero crossing happens, I vaguely remember from reading the AMSv2 codec specifications that a volume change is applied anyway within a few ms if there is no zero crossing.
Solution: check in the code if we use the ZCU mechanism and enable it if not, possibly check what the OF does.

Regarding 2), the AMS sansas (both AMSv1 and AMSv2) use a capacitor-less system of connecting the amplifier to the headphones. They also use a kind of virtual ground for the headphones. Things we could do here is (just some ideas): 1) send a 0-sample after the last sample 2) check the datasheet to see if we can power down the codec with 0 DC output (but probably we want audio to stay enabled for voice when paused)  3) check the datasheet for other ideas.
Logged
Meizu M6SP, Samsung YP-S3, iPod nano 1g, Sansa c200, Sansa e200, Sansa Clip, Sansa Clip+, Sansa Clip Zip
 

Offline mc2739

  • Developer
  • Member
  • *
  • Posts: 261
Re: Clip+ DC offset
« Reply #17 on: January 04, 2011, 11:43:09 PM »
Quote from: bertrik on January 04, 2011, 12:17:59 PM
Regarding 1), there is a ZCU bit (zero-cross update) in the audio codec used in the AMS sansas. This bit should apply volume changes only on a zero crossing (when the amplitude is near zero). I have no idea though if we currently use it.

In current SVN, ZCU is set to off for AS3525 (AMSv1) devices. (firmware/drivers/audio/as3514.c - line 205)

ZCU is enabled for non-AS3525 devices.  AS3543 (AMSv2) does not appear to have ZCU.
Logged

  • Print
Pages: 1 [2]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Clip+ DC offset
 

  • SMF 2.0.4 | SMF © 2013, Simple Machines
  • XHTML
  • RSS
  • WAP2

Page created in 5.514 seconds with 26 queries.