Re: Nomad Juke Box
Peppe <[email protected]> Fri, 28 Oct 2005 13:32:54 +0200
| Newsgroups | gmane.comp.multimedia.libnjb.user |
|---|---|
| Message-ID | <[email protected]> |
El Viernes 28 Octubre 2005 07:37, escribió:
> Which model is this?
DAP Jukebox 4GB
> I vaguely remember having the same kind of problem at
> some time, when I was using large buffers. It could be a
> side effect of the turbo mode on newer devices.
I tried without turbo mode, but nothing changed.... also,
it's a very old device
>
> Can you send a diff -ur for the entire file?
@@ -1020,7 +1020,7 @@
}
memset(block, 0, NJB_XFER_BLOCK_SIZE +
NJB_XFER_BLOCK_HEADER_SIZE);
offset = 0;
- while (remain != 0 && !abortxfer) {
+ while (remain != 0 && !abortxfer && wasshort == 0) {
/* Request as much as possible unless the last chunk
is reached */
bsize = (remain > NJB_XFER_BLOCK_SIZE) ?
NJB_XFER_BLOCK_SIZE : remain;
I know I talked about an endF variable,but well, it was
equal to wasshort, so there is no need of it.
>
> Linus
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information