forked from len0rd/rockbox
Simple fix which should improve track change performance slightly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15324 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4a5894db1a
commit
0652663367
1 changed files with 1 additions and 1 deletions
|
|
@ -367,7 +367,7 @@ static void *bufgetcodec(struct track_info *track)
|
||||||
ssize_t ret = bufgetdata(track->codec_hid, track->codecsize, &ptr);
|
ssize_t ret = bufgetdata(track->codec_hid, track->codecsize, &ptr);
|
||||||
|
|
||||||
if (ret == -2) {
|
if (ret == -2) {
|
||||||
buf_request_buffer_handle(CUR_TI->audio_hid);
|
buf_request_buffer_handle(track->codec_hid);
|
||||||
}
|
}
|
||||||
|
|
||||||
while (ret == -2) {
|
while (ret == -2) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue