repo.or.cz
/
Rockbox.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Better logic in the buffering thread loop
2007-10-25
N
icolas Penneq
u
in
B
e
t
ter
logic
i
n
t
he buffering thread l
o
op
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penn
e
quin
Turn buf
c
lose into
a
qu
e
ue event sender
t
o
ensure
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
n
nequin
Protect th
e
linked list with a mute
x
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pen
n
eq
u
i
n
Some cle
a
nup
/
si
m
p
l
ificatio
n
and an ad
d
e
d
comment
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Move the cal
l
to ata_sleep() in fill_bu
f
fer
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pen
n
equin
No bufclosing of hand
l
es after
t
rack
c
hange
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add a
bit more
debug inf
o
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Reint
r
oduce codec_ad
v
anc
e
_
buffer_counters()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Don't at
t
e
m
pt to buffer t
r
ac
k
s if there a
r
e no more
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
Pe
n
nequin
Hide
t
he bu
f
fering
t
hread and queue in
s
id
e
b
uffering
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Revert "Replace yield
_
codec() with a
call to
q
ue
u
e_wai
t
_w_tm
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
col
a
s Pennequin
Same as th
e
previous
commit but with a
diffe
r
ent
c
all
b
a
c
k
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Check that
metadata is pres
e
nt before calli
n
g back
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
10 tic
k
s is way too
lo
n
g
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
neq
u
in
filebuf_is_l
o
wdata isn't
needed
anymor
e
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penneq
u
in
Replace
y
ield_codec
(
) wi
t
h a c
a
ll to
q
ueue_wait_w_tmo()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Reb
u
f
fer after playlist cha
n
ge
s
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s
P
e
n
n
equin
Enab
l
e and correc
t
au
d
io_
i
nvalidate_tracks to make
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Line lengths
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Only attemp
t
to
fill the buf
f
er if i
t
needs to b
e
filled
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
n
equin
Free the buffer m
o
re
o
ften when there is l
e
ss data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pe
n
neq
u
i
n
Improved buffer use by f
i
llin
g
when the d
i
sk
i
s
a
ctive
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
The numbe
r
of tracks for which we have
h
andles is o
n
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Add buff
e
re
d
_data(
)
f
or
l
ater
use
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
ennequin
Debug screen for
the buffering
t
hrea
d
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
las
P
ennequin
Mak
e
dir sk
i
pping work
c
orrectly and prob
a
bl
y
im
p
rove
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
codec_advance_
b
uffer
_
c
a
llback:
R
emov
e
unused cod
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
codec_seek_buffer_call
b
a
ck: a simple bufseek
c
all is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penneq
u
in
Make
b
u
fa
d
vance rely
on bufsee
k
in
s
t
e
a
d o
f
duplicati
n
g
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penn
e
quin
Correct bufseek
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pe
n
n
e
q
uin
Some code
d
o
cumentation u
p
dates
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequi
n
Rename f
r
ee_buffer
(
) to
shrink_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
audio_c
u
rrent_track: Do
n
't use
cur
t
rac
k
_
id3 if
i
t's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
F
ix warning
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pe
n
nequi
n
C
lear
static
s
tr
u
c
ts on stop
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
neq
u
in
Impro
v
e
me
t
a
d
ata use
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pen
n
e
q
uin
Pointer
c
osmetic ch
a
nge
s
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequi
n
Silence warnings on
co
l
df
i
r
e
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pe
n
nequin
Rename
ge
t
ptr to bufgetcodec an
d
make it en
s
ure the
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
cola
s
P
enneq
u
in
b
u
f
open:
I
mmediately re
q
uest b
u
ffe
r
ing f
o
r
c
e
r
t
ain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
Pennequin
C
h
eck f
o
r the case
w
hen
n
o data is re
a
d
y
an
d
t
he required
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Revert "Simpli
f
y
codec_
r
equest_buffer_cal
l
back()"
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
curt
r
ack_id3 and nexttrack_id3 s
h
ou
l
d be static
commit
|
commitdiff
|
tree
2007-10-25
N
icolas P
e
nnequin
A b
i
t
of main
t
enance
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
ne
q
ui
n
S
impl
i
fy code
c
_r
e
quest
_
buffer_ca
l
lback()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Only ask once f
o
r buffering, then wai
t
for the dat
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Fix bufread
implementatio
n
.
This fixes
p
roblems with
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pe
n
nequ
i
n
Minor cleanu
p
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penneq
u
i
n
Properly clear track in
f
o
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
reset_handle():
F
i
x warning and mak
e
it sta
t
ic
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Fact
o
r out the duplicate cod
e
from bufadvance in rebuffer_
h
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Impleme
n
t backw
a
rds skipping
by commpleting audio_rebuffer()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
C
lear warnings and
more cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s P
e
nneq
u
in
Cleanup
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pennequin
Silence th
e
warnin
g
from reset_handl
e
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
Penne
q
uin
au
d
io_stop_pla
y
back(): R
e
l
e
ase t
r
a
ck ha
n
dles
BEFORE
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
a
s
Pen
n
equin
Seeking wa
s
n't actull
y
qui
t
e corr
e
ct: make it see
k
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequi
n
Implement r
e
b
u
ffer
i
ng for seeking outside of buf
f
ere
d
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pen
n
eq
u
in
Fix playback
r
esuming
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Prevent fi
l
e descriptor leak
a
g
e
or
overuse
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
codec_filebuf_c
a
llback: Setting cop
y
_n to
0 was
a
V
E
RY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
ui
n
Silence a few w
a
rnings
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
las
Pe
n
nequin
bu
f
c
lose: Make
s
ure the handle's file descriptor is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequi
n
bufopen(): D
o
n'
t
im
m
ediately b
u
ffer
certa
i
n types o
f
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
col
a
s Pennequin
codec_
s
eek_buffer_
c
al
l
b
ack(): Check w
h
ether it's possible
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penn
e
qu
i
n
Un
c
omment
a part of
a
udio_re
b
uffer() to make rebuffering
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Wh
e
n data can't wrap, sta
r
t over at the begi
n
n
ing of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
n
e
q
u
in
Don't as
k
to buffer tracks rig
h
t after
l
o
a
ding the
m
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add US
B
connection h
a
ndling to
t
h
e
buffering thread
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Fix tr
a
ck
s
be
i
n
g
forgotten
a
bout when there w
a
s
no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pe
n
n
e
quin
Imp
r
ove yiel
d
_
codec and use
it bett
e
r to mak
e
audio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
b
uf
g
etdata():
f
ix the available vs
.
requi
r
ed check
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix a stupid
b
ug that caused some handles not to be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
en
n
equ
i
n
Introduce yield
_
c
odec(), similar to
t
h
e
o
rig
i
nal audio_yield
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Penneq
u
in
Make
t
h
e
target beha
v
e the same as the si
m
(don't care
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Tryi
n
g
to make audio start play
i
ng f
a
ster
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix pl
a
yback stoppi
n
g by closing all t
r
a
c
k handles
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
Pe
n
nequin
A
few co
m
ment twea
k
s
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Add a test in audi
o
_
cu
r
rent_track()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
nn
e
quin
Do the init
i
a
l
populating of th
e
stati
c
ID3 struc
t
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make audio_
r
e
ad_nex
t
_metadata
a
bit saf
e
r
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penne
q
u
i
n
Mino
r
c
o
rre
c
tion of a
comment
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Use i
d
3_hid rather
t
han ta
g
info_
r
eady to kn
o
w if ID3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
cola
s
Pennequin
Request buffer
i
ng of the current track if i
t
is to
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
n
equin
Add some synchronisation
t
o prev
e
nt some
d
ead
l
ocks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
as Pennequin
Make
basic se
e
king actually work
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add close_track_handles
and re
e
na
b
l
e audio_clear_track_e
n
tri
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequin
Rel
e
ase data for the finish
e
d tr
a
c
k on track change
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas
P
e
n
nequin
Store fil
e
size on l
o
ad
.
Thi
s
makes ba
s
ic s
e
e
k
ing work
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Start using
"filling" c
o
rrectly to make more tracks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Re
m
ove
the test plugin
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Increment track_widx after l
o
a
ding a track
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Cosmetics a
n
d get
r
id of warnings
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pennequ
i
n
ID3 handl
i
ng i
m
provements
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Trigger a
C
PU b
o
o
st
before read
i
ng from dis
k
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pennequ
i
n
De
b
ug output tweaking
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
A bunch of imp
r
ovemen
t
s that make playbac
k
of the
first
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Add a get_offset
API call t
o
ma
k
e codec_advance_buffer_loc_c
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pe
n
nequin
A c
o
uple
m
ore tw
e
aks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix a stupid
b
u
g
t
h
at prevented the buffering system
.
.
.
commit
|
commitdiff
|
tree
next