Support and General Use > Audio Playback, Database and Playlists

Playback problems: mid-song skip

<< < (3/3)

BJH:
funman, I'll try a current build before writing a bug report, it may be fixed already. Just thought it could be helpful to pinpoint the problem, since the symptoms are exactly the same...

ranma:

--- Quote from: bor_ka on July 19, 2010, 05:04:38 AM ---Ranma, apparently, the bug is not 100% reproducible, since funman, for example, haven't seen it with his fuze v1. So, the chances are good, that you will not reproduce it either.

Can I help debugging it? No JTAG, though :(

--- End quote ---

We'll see, I had a successful bid on a 4gb fuze v1 on ebay earlier today. :)
How exactly did you implement the read check?
IIRC you said you added the sector number to each sector (at the end?)?
Doesn't that affect the playback and directory reading etc. quite badly?

bor_ka:
I implemented the sector check in this way:

First of all, I added watermarks only to the mp3 files: I knew the album and songs, where skips happend. So, I wrote a small program to read fat, walk through the file's sectors and change them. I used cygwin and some direct fat access library. It was hell, since I was fighting with cygwin and this library bugs. The code is terrible (since I had not written a line of code for ten years or like), but if you are interested, I will send it to you. It took the most time :(

The next thing I made I looked up starting clusters of my "test" files in the disk editor and used it as a condition in fat.c to check only them on read (didn't want to panic on non-watermarked files). For some reason letoh32 wasn't working for me, so I made manual le int reading. Like this http://pastebin.com/Z8EYHMVE

I added this guard after two transfer()s in fat_readwrite().


And yes, it did affect the playback very badly - I wasn't able to listen to the watermarked files :) But it wasn't needed, since there were easily detectable panics instead of audible glitches.

Navigation

[0] Message Index

[*] Previous page

Go to full version