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
Add the "buffering" status indicator
2007-10-25
Nicolas
P
ennequin
Add the
"
buffering"
s
t
a
tus ind
i
ca
t
or
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequi
n
Remov
e
some dis
a
b
led code from p
l
ayback
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
P
e
n
n
e
qu
i
n
I
nvalidate handle cach
e
on han
d
le
r
emoval
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penne
q
uin
C
hange a
u
d
i
o
_
r
elease_tracks() so t
h
at it ensures closing
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pe
n
neq
u
in
B
e
t
t
e
r l
o
gic in
the buffer
i
n
g
t
h
r
e
ad loop
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
Pe
n
ne
q
uin
Turn bufcl
o
se into a queue event sender
to ensu
r
e
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
P
rote
c
t t
h
e linked
list with a mutex
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
e
quin
Some cleanup/simp
l
ificat
i
on and
an added c
o
mment
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
ennequin
Move
th
e
call to ata_sleep() in fill_buffer(
)
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Penn
e
quin
No bufclosin
g
of handl
e
s
after track chan
g
e
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequ
i
n
Add a bit more debug info
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Reintroduce code
c
_advance_buffer_co
u
nter
s
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Don't attempt to b
u
ffer track
s
if there are no more
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penn
e
quin
H
i
d
e the buffering t
h
rea
d
and queue
inside bu
f
feri
n
g
.
c
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
ennequ
i
n
R
evert "Replace yield
_
codec() with a
call to
q
ueue
_
wait_w_tm
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penn
e
quin
Same as the p
r
evious commit but with a diffe
r
ent callbac
k
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Ch
e
ck that metadat
a
i
s pr
e
s
e
nt before ca
l
ling
back
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas P
e
n
neq
u
in
1
0 t
i
c
k
s
is
w
ay too long
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
filebuf_is_low
d
ata
isn't n
e
eded anymore
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Replac
e
yield_
c
od
e
c()
w
ith
a
call to q
u
eue_wait_w_
t
mo()
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
R
ebu
f
fer aft
e
r playlist
cha
n
ges
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pen
n
equ
i
n
E
na
b
le
and
correct audio_inval
i
date_tracks to make
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pen
n
eq
u
in
Line lengths
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Only
attempt to fill the
buffer
i
f
it
ne
e
ds to
be filled
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
Pennequin
Free the buf
f
er more
o
ften when there
i
s l
e
s
s data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Im
p
r
oved buffer
u
s
e
by
filling when
the disk
i
s
active
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
The
nu
m
b
er o
f
tracks fo
r
which we have handles i
s
one
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
la
s
P
e
nnequ
i
n
Add buffe
r
ed_data() for l
a
ter u
s
e
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
e
nnequin
De
b
u
g scr
e
en
for the buffe
r
ing thread
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Make dir skipping work
correc
t
ly and
p
r
o
bably
i
mprove
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
en
n
equin
codec
_
advance_buffer_
c
a
l
l
b
a
ck: Remove unused
code
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
n
equin
c
odec_seek_
b
uffer
_
cal
l
back: a
simple bufseek ca
l
l
i
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
col
a
s Penneq
u
in
Make bufa
d
va
n
ce
rel
y
on b
u
fseek instead
o
f
duplicating
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
i
n
Correct bufseek
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penne
q
uin
Some code
d
ocumentation updates
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Rename
f
re
e
_buffe
r
() to shrink_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
audio
_
c
u
r
re
n
t_track: Don't use cu
r
track_i
d
3 i
f
it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Fix warning
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pen
n
e
q
uin
Cl
e
ar static structs on
s
t
o
p
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
las Pennequ
i
n
Improve metadata use
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
n
e
qu
i
n
Pointer cosmet
i
c changes
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
Penne
q
uin
S
i
l
e
nce warnin
g
s
on c
o
ldfire
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Rename getptr to bufgetcodec a
n
d ma
k
e it en
s
ure
t
he
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penn
e
quin
bufopen: Immediately request buf
f
eri
n
g for certain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
C
h
ec
k
f
or the c
a
s
e
when
no data is ready and the required
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Penn
e
q
uin
Revert "Simplify
c
od
e
c_request_buffer_callback(
)
"
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penne
q
uin
curtr
a
ck_
i
d3 and nextt
r
ac
k
_id3
s
houl
d
be static
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
A bit of maintenance
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Si
m
pl
i
fy co
d
e
c_request_buffer_callback()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
O
nl
y
ask onc
e
f
o
r b
u
ff
e
ri
n
g, then
w
ait
for
t
h
e
d
a
ta
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penneq
u
in
F
i
x buf
r
ead implementation
.
Th
i
s
fixes pr
o
blems with
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Minor cleanup
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penne
q
uin
Properly
clear track info
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
rese
t
_handle
(
): Fix
w
arning an
d
m
ake
i
t static
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penneq
u
in
Facto
r
out the duplicate code fro
m
bu
f
a
dvance in rebuffer_ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Impl
e
ment backwards skippin
g
by c
o
mmpleting audio_rebuffer
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Clear wa
r
ning
s
and
m
o
re cleanu
p
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
C
leanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
u
i
n
S
i
lenc
e
the warning from reset_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penneq
u
in
audio_st
o
p_play
b
ack(): Release
t
rack handles BEFORE
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
n
n
e
qui
n
S
eeking wasn't ac
t
ull
y
quite c
o
r
rect: mak
e
it seek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
u
in
Impleme
n
t
rebuffering
f
o
r seeking outside of buffered
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Fix playba
c
k resuming
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pe
n
neq
u
in
Prevent
f
ile d
e
scriptor
l
eakage
o
r overuse
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
codec_filebuf_ca
l
lback
:
Setting co
p
y_n to 0 was a VERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enn
e
quin
S
i
lence a few warnings
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
as Pe
n
neq
u
in
bu
f
c
lose: Make sure the h
a
ndle's
f
ile descripto
r
is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
bu
f
open(
)
: Don't i
m
medi
a
tely buffer certain types of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequ
i
n
codec_seek_buffer_
c
allb
a
ck():
Chec
k
w
h
et
h
er it's possible
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pe
n
nequ
i
n
Uncomm
e
nt a part of a
u
di
o
_rebuff
e
r
(
)
to make rebufferi
n
g
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
When dat
a
c
a
n
't wrap, sta
r
t ov
e
r at the be
g
i
nn
i
n
g of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Don't
a
sk to buffer
t
racks rig
h
t after
load
i
ng them
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pe
n
n
equi
n
Add USB connec
t
ion
h
a
n
dling to the
buffering
t
hread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Fix tracks being forgotten
about when there was no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Improve
yield_codec and use it better t
o
ma
k
e
audio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
as
P
e
n
nequin
buf
g
etdata(): fix the
a
vail
a
ble vs
.
requ
i
red check
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
e
quin
Fix a stupid bug th
a
t caused som
e
handles not
to be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Introd
u
ce yi
e
ld_codec(), similar
to the origina
l
audio_yield
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make t
h
e target
b
ehave
the same a
s
the si
m
(don't care
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
T
rying
t
o
m
a
ke audio s
t
art play
i
ng faster
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix
playbac
k
stop
p
ing by closing all track handles
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
en
n
equ
i
n
A few
comment t
w
eaks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
u
i
n
A
dd a t
e
s
t in au
d
io_curr
e
nt_
t
rack()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
e
quin
D
o th
e
initial pop
u
lating of the static ID3 s
t
ructs
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
M
a
ke audio_read_next_metadat
a
a b
i
t sa
f
er
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequ
i
n
Minor corre
c
tion of a comment
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las P
e
nnequin
U
se id3
_
hid rather than taginfo_
r
eady to k
n
ow if ID3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Re
q
u
est buffering o
f
the current track
i
f it is to
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as P
e
nnequin
Add some
s
y
n
chronisa
t
ion
t
o
prevent s
o
me deadloc
k
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequi
n
Make basic s
e
eking actually work
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
A
d
d
close_t
r
ack_
h
andles and reenable audio_
c
lear_t
r
ac
k
_e
n
t
r
i
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penn
e
qu
i
n
R
el
e
ase
d
ata for the f
i
nished track on track change
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Store filesize on
l
o
ad
.
This ma
k
es basi
c
s
eeking work
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
St
a
rt using "f
i
l
li
n
g"
c
orrect
l
y
to
m
ake mor
e
t
r
acks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
R
e
move the
t
e
s
t
plug
i
n
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Increment track_widx after loadi
n
g a track
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s Pennequin
Cosmetics
and
ge
t
r
id of warnings
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penne
q
u
i
n
I
D3 han
d
l
ing
improvem
e
nts
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
Pe
n
nequi
n
Tri
g
ger a CPU boost be
f
ore reading from di
s
k
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
e
nneq
u
in
Debug output
t
weaking
commit
|
commitdiff
|
tree
next