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
Invalidate handle cache on handle removal
2007-10-25
N
icola
s
Penneq
u
i
n
Invalidat
e
handle
cac
h
e on handle remov
a
l
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Change audio_r
e
lease_track
s
(
)
so that it ensure
s
clo
s
ing
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
B
e
tt
e
r
lo
g
ic in th
e
buff
e
ring thread loop
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Turn bufclose int
o
a q
u
eue even
t
sender
t
o
ensure a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Protect the li
n
k
ed
l
ist
w
it
h
a mutex
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Some
c
leanup/s
i
mplification an
d
an
adde
d
comment
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Move
the
c
all
t
o
ata_sleep() i
n
fill_buff
e
r()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
No bufclosin
g
of handles after tra
c
k change
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
Pen
n
equin
Add a bit more debug info
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Rein
t
rodu
c
e codec_advance_buffer_
c
ounters()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penneq
u
i
n
Don't attempt to buffer tracks if t
h
ere are
n
o mo
r
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Hid
e
the buf
f
e
ring t
h
read and q
u
eue ins
i
de buffering
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Revert "Repl
a
ce yield_c
o
dec
(
)
w
i
th a
ca
l
l to queue_w
a
it_w_tm
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penneq
u
in
S
a
me as
t
h
e
previous commit but with
a diffe
r
ent callback
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Check that metadata i
s
pr
e
sent before calling back
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pe
n
neq
u
in
10
t
icks is w
a
y too
l
o
n
g
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
filebuf_is_lo
w
d
a
ta is
n
't needed anymore
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Rep
l
ace yi
e
ld_
c
odec() with a call to queue_wai
t
_w_tm
o
()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Rebuffer aft
e
r
playli
s
t changes
commit
|
commitdiff
|
tree
2007-10-25
N
ico
l
as Penne
q
uin
E
n
able
and co
r
rect aud
i
o_
i
nval
i
d
a
te_tracks to make
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nn
e
quin
Line leng
t
hs
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
la
s
P
e
n
n
e
q
u
i
n
O
nly attempt
t
o fill
t
he buffer if it
n
eeds to be fi
l
led
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Fre
e
the
b
uffer
m
ore often
when there is
l
ess data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
I
mpr
o
ved b
u
ffer
u
se by filling when the disk is active
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Th
e
numbe
r
of t
r
acks
for
w
hich we have han
d
les i
s
one
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Ad
d
b
uffered_
d
ata() for later use
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penneq
u
i
n
Deb
u
g screen for
t
he
b
uff
e
r
ing thread
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penn
e
q
uin
Make dir skipping
work
c
o
r
rect
l
y and probably improve
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
codec_a
d
vance_bu
f
fer_
c
allback: Remove unuse
d
c
o
de
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
codec
_
seek_buffer_
c
al
l
back: a simple bufseek call i
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penneq
u
in
Make bufa
d
vance rely on bu
f
seek i
n
s
t
ea
d
of dup
l
i
cating
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas P
e
n
n
equin
Corre
c
t bufse
e
k
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Some cod
e
documentation updates
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s P
e
nn
e
qui
n
Ren
a
me free_buffer(
)
to
shri
n
k_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
au
d
io_current
_
track: Don't u
s
e curtrack_i
d
3 if it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
as P
e
nn
e
quin
Fix warning
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
Pennequin
Cl
e
ar st
a
t
ic structs on st
o
p
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Improve
metad
a
ta u
s
e
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
P
e
nnequin
Pointer cosmeti
c
changes
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Silence warnings on col
d
fire
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Rename getptr
to bufgetcodec and make it ensure t
h
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
b
u
fopen: Im
m
ediate
l
y
request buffering
f
o
r
c
e
rtain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
as Pennequin
Check fo
r
th
e
c
ase when
n
o
data is rea
d
y
and t
h
e required
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Rev
e
rt "Simplify c
o
de
c
_r
e
ques
t
_bu
f
fer_callback()"
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
curtra
c
k_id3 and
nexttrac
k
_id3
s
h
o
uld be stat
i
c
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s Pennequi
n
A bit of maint
e
n
a
nce
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequi
n
Simplify codec_request_buff
e
r_callba
c
k
()
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penne
q
uin
O
n
ly
a
sk once for buffering, then wait for the data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas
Pennequin
Fix b
u
f
read imple
m
entation
.
This
f
ixes pro
b
l
e
ms with
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Min
o
r clea
n
up
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pen
n
equin
P
roper
l
y clear track info
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas P
e
nnequin
re
s
et_handle(): Fi
x
warning
a
nd m
a
k
e it static
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
l
as Pennequin
F
a
ctor out
the
dup
l
icate code
f
rom b
u
f
a
dvance
in rebu
f
f
er_ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Penn
e
quin
I
mpl
e
ment backwards skip
p
ing
b
y c
o
mmpleti
n
g au
d
io_rebuffe
r
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Cle
a
r
w
a
rnings
a
nd mo
r
e c
l
e
a
nup
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s Pen
n
equin
Cle
a
nup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Silence
t
h
e
warni
n
g
from
reset_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
a
udio_s
t
op_playbac
k
(): Release tra
c
k ha
n
dles BEFORE
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s
Pen
n
equin
S
e
ekin
g
wasn
'
t actu
l
ly q
u
ite correc
t
:
make
i
t seek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
I
m
p
lemen
t
rebuffering
f
or
s
eek
i
ng outside of buffered
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix playback re
s
umi
n
g
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
qu
i
n
P
r
event
f
il
e
desc
r
ipt
o
r l
e
akage or over
u
se
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
codec_filebuf_callbac
k
: Settin
g
c
opy_n to
0
w
a
s
a VE
R
Y
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Sile
n
ce
a
few
wa
r
nin
g
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
b
u
fclose:
Ma
k
e
sure the handle's file des
c
riptor is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequ
i
n
b
ufop
e
n(): D
o
n't im
m
e
diately bu
f
fer certain ty
p
e
s
of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
Pennequin
codec_
s
eek_buffer_ca
l
lback()
:
Chec
k
whether it
'
s
p
ossible
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pennequin
U
n
c
o
m
ment a
p
art of
audio_re
b
uffer() to make rebuffering
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
q
uin
When data can't wrap, start over at
t
he b
e
ginn
i
ng o
f
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Don't
a
sk to
b
uf
f
er tra
c
ks
r
ight after loa
d
ing
them
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequi
n
Ad
d
USB connection han
d
ling to the buff
e
ring thread
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
P
ennequin
Fix
trac
k
s being forgotten about when
there was no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Penne
q
uin
I
mprove yield_codec an
d
use it better to make audio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
las Pennequin
bufgetdata(): fi
x
t
he avai
l
able
vs
.
re
q
uire
d
check
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
n
nequin
Fix a stup
i
d
b
u
g
t
hat cause
d
some handles
not to be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Introd
u
ce yiel
d
_c
o
dec(), si
m
ilar t
o
the original
a
udio_yield
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Make
t
he targ
e
t beha
v
e the same as the sim (don'
t
care
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ola
s
P
ennequ
i
n
Try
i
n
g
to make audio s
t
art playing faster
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequin
Fix play
b
ack st
o
p
p
in
g
by closi
n
g al
l
tra
c
k
handle
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
A few comment t
w
ea
k
s
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
A
d
d a test
i
n audio_curr
e
nt_track()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
D
o
the initial populating of the
static ID3
s
tructs
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Make audio_read
_
n
ext_
m
etadata a bit safer
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequ
i
n
Minor correction of a comment
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Use id3_hi
d
rather
t
han taginfo_rea
d
y to know if ID3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
cola
s
Pennequin
Request b
u
ffering
o
f t
h
e cur
r
e
nt track if it is to
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
P
e
n
n
e
quin
A
dd
s
ome synchron
i
sation
to prevent some deadlocks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
e
n
n
equin
Make basic see
k
ing actually work
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Add close_tr
a
ck_
h
andles and ree
n
a
b
le audi
o
_clear_t
r
ack_entri
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Rel
e
a
s
e da
t
a
f
o
r
the f
i
nished trac
k
on track
c
h
a
nge
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
nequin
Store f
i
lesize on load
.
This m
a
kes bas
i
c seeking
w
ork
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s
Pen
n
equin
St
a
rt using "filling" correctly to make more tracks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequin
Re
m
ove th
e
test plugi
n
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
Pennequi
n
Increment track_widx aft
e
r loadi
n
g a track
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequ
i
n
C
osmetics a
n
d
g
et rid of warnin
g
s
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penn
e
quin
I
D3
han
d
ling impr
o
vements
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Trigg
e
r a CPU b
o
ost befo
r
e reading fro
m
disk
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
P
enn
e
qui
n
D
e
bug outp
u
t twea
k
ing
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
Pennequin
A
b
unc
h
of
i
mpr
o
vement
s
that mak
e
pla
y
back of
the first
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
ico
l
a
s Penn
e
quin
Add a
g
et_offset A
P
I
ca
l
l to m
a
ke codec_adva
n
c
e
_buffer_loc_c
.
.
.
commit
|
commitdiff
|
tree
next