Fix FS#11586. Corrects rebuffering behaviour which did not allow to play several m4a files. Thanks to Magnus Holmgren.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27950 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ce0d2b1d47
commit
9c00d1a643
1 changed files with 1 additions and 1 deletions
|
@ -779,7 +779,7 @@ static void rebuffer_handle(int handle_id, size_t newpos)
|
||||||
{
|
{
|
||||||
LOGFQUEUE("buffering >| Q_BUFFER_HANDLE %d", handle_id);
|
LOGFQUEUE("buffering >| Q_BUFFER_HANDLE %d", handle_id);
|
||||||
queue_send(&buffering_queue, Q_BUFFER_HANDLE, handle_id);
|
queue_send(&buffering_queue, Q_BUFFER_HANDLE, handle_id);
|
||||||
h->ridx = h->data + newpos;
|
h->ridx = ringbuf_add(h->data, newpos - h->offset);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue