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
| | |-+  Gapless playback not working in latest Ipod video builds?
« previous next »
  • Print
Pages: [1] 2

Author Topic: Gapless playback not working in latest Ipod video builds?  (Read 3384 times)

Offline squidkidd

  • Member
  • *
  • Posts: 42
Gapless playback not working in latest Ipod video builds?
« on: July 04, 2011, 12:24:12 PM »
Hey All,

I just recently bought a new-to-me 5.5g 80gb ipod off ebay after losing my old one and installed rockbox 3.9.  I'm having an issue I never experienced on my old ipod - if the disk is not actively spinning at the time playback reaches the end of a track there will be a gap between tracks with a slight audible 'hiccup' as the disk spins up.  Essentially, the disk must be up for playback to move on to the next track.  This happens with equalizer both on and off.  I've also played around with disk spindown settings to no avail.  I've seen this behavior now on 3.9 and also the current build r30121.

I went back and installed 3.8 and the problem is no more.  What gives in the new version? 

Regards,
Brian
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: Gapless playback not working in latest Ipod video builds?
« Reply #1 on: July 04, 2011, 07:01:14 PM »
Sounds like your anti-skip buffer is set too small. Try increasing the setting.

The change in behaviour is probably because DMA was disabled before the 3.9 release.
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline Buschel

  • Developer
  • Member
  • *
  • Posts: 190
Re: Gapless playback not working in latest Ipod video builds?
« Reply #2 on: July 05, 2011, 01:39:02 AM »
Torne, if you are talking of ATA DMA: It was disabled in 3.8 (or 3.8.1) as well.
Logged
iPod 5.5G 30GB, iPod nano 2G 8GB, 97% MPC and growing...
 

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: Gapless playback not working in latest Ipod video builds?
« Reply #3 on: July 05, 2011, 05:34:02 AM »
It was only disabled in 3.8.1, not in 3.8.
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline Buschel

  • Developer
  • Member
  • *
  • Posts: 190
Re: Gapless playback not working in latest Ipod video builds?
« Reply #4 on: July 05, 2011, 09:22:41 AM »
@squidkidd: Torne points to an interesting option: To check if the the DMA change is the root cause you might just test 3.8.1 vs. 3.8.
Logged
iPod 5.5G 30GB, iPod nano 2G 8GB, 97% MPC and growing...
 

Offline squidkidd

  • Member
  • *
  • Posts: 42
Re: Gapless playback not working in latest Ipod video builds?
« Reply #5 on: July 05, 2011, 10:05:50 AM »
Thanks for the replies,

It may be a few days before I can test this.   I should note though that on 3.9 I also changed the anti-skip buffer up to 5 minutes and still noticed the behavior.  What is DMA though and why was it disabled?

Regards,
Brian
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Gapless playback not working in latest Ipod video builds?
« Reply #6 on: July 05, 2011, 10:26:41 AM »
It's a disk mode that seemed to cause problems on some fraction of 5G ipods.
Logged

Offline dreamlayers

  • Developer
  • Member
  • *
  • Posts: 425
  • Boris Gjenero
    • My Blog
Re: Gapless playback not working in latest Ipod video builds?
« Reply #7 on: July 05, 2011, 01:20:51 PM »
I don't don't this is related to disabling of DMA. I'm not even sure it's related to buffering. The watermark calculation seems fine, and anyways, the disk shouldn't have to be accessed when switching tracks. It would only need to be accessed if by coincidence the buffer got to the watermark at that time.
Logged

Offline xenon

  • Member
  • *
  • Posts: 2
Re: Gapless playback not working in latest Ipod video builds?
« Reply #8 on: July 07, 2011, 05:10:25 AM »
Maybe 3.9 is not working gapless playback for AAC encoded by nero 1.3.3.0 and FAAC.
Logged

Offline Lear

  • Developer
  • Member
  • *
  • Posts: 533
Re: Gapless playback not working in latest Ipod video builds?
« Reply #9 on: July 07, 2011, 08:09:47 AM »
The gapless handling in the AAC decoder was recently changed, to make it work properly for files encoded by iTunes. It is possible it broke things for Nero files. I'll take a look at it.
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: Gapless playback not working in latest Ipod video builds?
« Reply #10 on: July 07, 2011, 08:31:32 AM »
If the gap disappears if the disk is already spinning at the time then it can't be the fault of the gapless code; it must be buffering/diskio to blame.. :)
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: Gapless playback not working in latest Ipod video builds?
« Reply #11 on: July 07, 2011, 09:23:15 AM »
Quote from: Lear on July 07, 2011, 08:09:47 AM
The gapless handling in the AAC decoder was recently changed, to make it work properly for files encoded by iTunes. It is possible it broke things for Nero files. I'll take a look at it.

I thought we didn't support nero gapless?
Logged

Offline Lear

  • Developer
  • Member
  • *
  • Posts: 533
Re: Gapless playback not working in latest Ipod video builds?
« Reply #12 on: July 07, 2011, 11:26:25 AM »
Quote from: torne on July 07, 2011, 08:31:32 AM
If the gap disappears if the disk is already spinning at the time then it can't be the fault of the gapless code; it must be buffering/diskio to blame.. :)

But if a huge anti-skip buffer doesn't help (unless that's what is broken)? And the AAC decoder was changed in 3.9, so it is worth a quick look at least. I only tested with some iTunes/QuickTime files when I made the change...

Quote from: saratoga on July 07, 2011, 09:23:15 AM
I thought we didn't support nero gapless?

We do. Search for MP4_chpl in metadata/mp4.c.
Logged

Offline Lear

  • Developer
  • Member
  • *
  • Posts: 533
Re: Gapless playback not working in latest Ipod video builds?
« Reply #13 on: July 07, 2011, 02:38:55 PM »
Quote from: Lear on July 07, 2011, 11:26:25 AM
And the AAC decoder was changed in 3.9, so it is worth a quick look at least. I only tested with some iTunes/QuickTime files when I made the change...

Sounds fine to me using Nero 1.5.4.0, when testing a few tracks.
Logged

Offline xenon

  • Member
  • *
  • Posts: 2
Re: Gapless playback not working in latest Ipod video builds?
« Reply #14 on: July 07, 2011, 07:16:43 PM »
Quote from: Lear on July 07, 2011, 11:26:25 AM
Sounds fine to me using Nero 1.5.4.0, when testing a few tracks.

Nero 1.5.4.0 write iTunes compatible gapless data. (write iTunSMPB to metadata.)
>http://www.nero.com/enu/release-notes-nerodigital-nero-aac-codec.html

Please test using FAAC ?
« Last Edit: July 07, 2011, 07:53:08 PM by xenon »
Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Gapless playback not working in latest Ipod video builds?
 

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

Page created in 0.113 seconds with 15 queries.