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 General
| |-+  Rockbox General Discussion
| | |-+  iPod Video: Occasional L-R channel swapping
« previous next »
  • Print
Pages: [1]

Author Topic: iPod Video: Occasional L-R channel swapping  (Read 2700 times)

Offline pbcnx

  • Member
  • *
  • Posts: 10
iPod Video: Occasional L-R channel swapping
« on: July 24, 2007, 10:50:59 AM »
i have seen that this happens to the sansa player but this also occurs sometimes with the iPod Video. Custom or Non-Custom Builds. why does this happen anyways?
Logged

Offline Febs

  • Member
  • *
  • Posts: 2701
Re: iPod Video: Occasional L-R channel swapping
« Reply #1 on: July 24, 2007, 01:39:06 PM »
I have experienced this on (rare) occasions on my iPod Video but I've never been able to replicate the problem.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way
Please do not send me support questions via PM.

Offline jhMikeS

  • Developer
  • Member
  • *
  • Posts: 242
Re: iPod Video: Occasional L-R channel swapping
« Reply #2 on: July 24, 2007, 03:57:09 PM »
I've pushed some devs to get 16L-16R samples working for the other Portal Player targets for both this (what I thought was potential) problem and for efficiency.

The reason is that each 16 bit sample is shifted left to 32 bits before being sent to the audio hardware and a delay in getting a sample out can cause the channels to get out of sync if the FIFO goes empty briefly since each channel is sent separately. A little further experimenting would probably get it to work since I already figured out a lot of stuff in order to get it to work on the Sansa. The only difference is that Sansa uses slave mode for its IIS and the others master. I did get somebody to test on an H10 with the change but playback went silent and ran twice the speed but recording worked fine.

e200 uses atomic writes of 16R-16L as a single 32-bit value containing both channels to the FIFO which cuts the amount of data in half over other targets (read: half as many FIQs and twice as long a data reservoir when nearing empty and something prevents an FIQ) and never lets the channels get out of sync with the IIS LRCK. This problem no longer occurs on sansa as it cannot.
Logged

Offline pbcnx

  • Member
  • *
  • Posts: 10
Re: iPod Video: Occasional L-R channel swapping
« Reply #3 on: July 27, 2007, 12:59:52 AM »
so that this means that the 16-bit audio is the problem or RockBox itself?  :-\

if so i need to convert 16bit audio to 32-bit ehh...  ???
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: iPod Video: Occasional L-R channel swapping
« Reply #4 on: July 27, 2007, 01:04:25 AM »
It means the Rockbox code needs some fixing to prevent this problem.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  iPod Video: Occasional L-R channel swapping
 

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

Page created in 0.086 seconds with 16 queries.