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
Solve the progressbar not being updated in the last few secs of a track
2007-10-25
N
icolas Penne
q
uin
Solve th
e
progressbar
n
ot
being upd
a
ted in
the last
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
e
q
uin
Close p
a
r
t
i
all
y
buffered
h
andles
w
hen changin
g
tracks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
M
ake the audi
o
thr
e
ad wait with a ti
m
eout even when
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Penn
e
quin
Minor tweak to
the au
d
i
o
t
h
r
ead
b
uffer filling logic
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
q
uin
I
ncrease
M
A
XTHREADS
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add the "
b
uffering"
s
tat
u
s
i
ndic
a
tor
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Re
m
ove some disa
b
l
ed co
d
e from playback
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Invali
d
ate handle cache on handl
e
removal
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Change a
u
d
i
o_rele
a
se_tracks()
s
o t
h
at
i
t
ensures closing
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
B
e
tter
logic in the bufferi
n
g
th
r
e
a
d
lo
o
p
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Turn bu
f
close into a queue e
v
ent sender to ensure a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pe
n
nequin
Protec
t
the linked
l
is
t
w
i
th a mutex
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pen
n
equin
Some cleanu
p
/simplification and an added
c
omm
e
nt
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas
P
enne
q
uin
Move the call
t
o ata_sleep() in fil
l
_buffer()
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
P
e
n
nequin
N
o bufclosing of handles after track change
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Ad
d
a bit more debug info
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Reintrodu
c
e codec_adva
n
ce_buffer_counters()
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Don't attempt t
o
buff
e
r tracks i
f
t
her
e
are no
m
ore
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequ
i
n
Hide
t
he bufferin
g
thread and queue inside buf
f
ering
.
c
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
as
Pe
n
n
equin
R
evert "Replace
y
ield_c
o
d
e
c(
)
wi
t
h a
c
all to queue_wait_w
_
tm
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las P
e
nneq
u
i
n
Sa
m
e as the previous commit
b
ut with a dif
f
erent callback
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Check that metadata is present before calling back
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
10 tick
s
is wa
y
too
long
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
Penn
e
quin
fil
e
b
u
f_is_lowdat
a
isn't needed a
n
y
mo
r
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Repl
a
c
e
yie
l
d
_
codec
(
)
w
i
th a call to queue_wait_w_tmo()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
q
u
i
n
Rebuffer after playli
s
t
c
h
a
nges
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Enab
l
e and corr
e
ct
audio_inval
i
date_tracks to
m
ake
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Line lengths
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
O
n
l
y
attempt
to fill the bu
f
fer if it ne
e
ds to
b
e filled
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequi
n
Fre
e
the buffer m
o
r
e
oft
e
n wh
e
n ther
e
is
l
ess data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Improved buffer use by
fil
l
ing
when the disk is active
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequi
n
The number
o
f tracks for
which we h
a
ve hand
l
es
i
s on
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add
buffered_dat
a
() for later
use
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
D
ebug sc
r
een for the
b
uffering threa
d
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s Pennequin
Mak
e
d
ir s
k
ipping
work corre
c
tly and p
r
obably i
m
pr
o
v
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
codec_
a
d
v
a
n
c
e
_
buff
e
r_callback
:
Remove unused code
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
codec_seek_b
u
ffer_callback:
a
simple bufsee
k
cal
l
is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pe
n
nequ
i
n
Make bufadvance rely on bufseek instead of duplicating
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Correc
t
bu
f
seek
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Some co
d
e documentation upd
a
tes
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Rename free_bu
f
fer(
)
to shrin
k
_handle()
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
Pennequin
audio
_
curren
t
_
t
rac
k
: Don't use c
u
rtra
c
k_
i
d
3 if it
'
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequ
i
n
Fix warning
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as P
e
nnequin
Clear stati
c
s
tructs o
n
stop
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
P
e
n
nequin
Improve
metadat
a
use
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nneq
u
in
Pointer cos
m
etic ch
a
nges
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Sil
e
nce warn
i
n
g
s on c
o
ld
f
ire
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
Pen
n
e
q
uin
Rename getptr to bufgetcodec and make i
t
ensure the
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
la
s
Pennequi
n
b
u
fopen: Immedi
a
tel
y
re
q
ue
s
t buffer
i
ng for
cer
t
ain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s Penn
e
quin
Check for the case when no data is read
y
and the required
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Revert "Simplify codec_r
e
ques
t
_buffer_callback()"
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
Penne
q
uin
curtrac
k
_id3 a
n
d next
t
rack_id3 should b
e
s
t
a
t
ic
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penn
e
quin
A
bit of maintenanc
e
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pe
n
n
equ
i
n
Simplify codec_r
e
quest_buf
f
er_callback()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
O
nly ask once for buffering, then wait for the data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix bufread
i
mplem
e
ntat
i
on
.
This fixes pro
b
lems with
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
e
q
ui
n
M
i
nor cleanup
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
las
P
en
n
equin
Properly clear
track info
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
Pennequin
r
ese
t
_handle(): F
i
x war
n
ing
and
m
ake it stat
i
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Factor out the duplicat
e
code from
b
ufadvance
in rebuffer_ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pen
n
equin
Implement
backw
a
rds skipping by
c
ommpleting audio_rebuff
e
r()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nneq
u
in
Clear
w
arnings an
d
more clea
n
up
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pe
n
nequin
Cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Silence the warni
n
g from
r
es
e
t_ha
n
dle()
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
audio
_
stop_playback
(
): R
e
lease t
r
ack handles
B
EFO
R
E
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Seeking wa
s
n't actully quite correct: m
a
k
e
i
t seek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
las Pennequin
I
m
plem
e
nt rebufferin
g
for seeki
n
g outside of buffe
r
ed
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
e
nnequin
Fix
pla
y
b
ack resumi
n
g
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Prevent
f
i
le descri
p
t
o
r
leakage or overuse
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penn
e
q
uin
codec_filebuf_c
a
llb
a
ck: Setting copy_n to 0 was a VER
Y
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Silence a
few warnings
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pennequin
bufc
l
ose: Make sure the handle's f
i
le d
e
scriptor is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
bufope
n
(): Don't im
m
ediately buffer c
e
rtain type
s
of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
codec_seek_bu
f
fer_ca
l
l
b
ack(): Check w
h
ether i
t
's
p
oss
i
ble
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Uncomment a part
of
a
udio_re
b
uffer() to make rebuffer
i
ng
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Wh
e
n data c
a
n
'
t wrap, start
over at the
begin
n
ing of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Don't ask to b
u
ffer tracks r
i
ght after loading
them
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
las Pennequin
Add USB co
n
nection handling to
the
buffering t
h
read
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
as Pen
n
e
quin
Fi
x
t
racks be
i
n
g
forgotten about whe
n
the
r
e was no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Improve yield_c
o
dec and
u
se it b
e
tter to
m
a
k
e audio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
cola
s
Pennequin
bufgetdata(): fi
x
t
he available vs
.
requir
e
d c
h
eck
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
as Pennequi
n
F
i
x a stupid bug
t
h
at caus
e
d s
o
me handles
no
t
to be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequi
n
Introduce yi
e
ld_cod
e
c(), si
m
il
a
r to the original
audio_yield
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
M
a
k
e the
t
a
r
get beh
a
ve
t
h
e same as the sim (don't care
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Trying
t
o ma
k
e
audio start
p
l
aying fa
s
ter
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penne
q
uin
F
ix pl
a
yback
s
t
op
p
ing by cl
o
sing
a
l
l track handles
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penne
q
uin
A
f
e
w
comment
tweak
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Add a te
s
t
i
n
a
udi
o
_current_t
r
ack()
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pen
n
e
q
uin
Do the in
i
t
i
a
l
p
o
pulating of the static ID3
str
u
cts
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Make
a
ud
i
o_
r
ead_next_m
e
tad
a
t
a a bit safer
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Minor
c
orrection of a
c
omment
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Use id
3
_hid rather
t
han taginfo_r
e
a
d
y to kn
o
w if ID3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pe
n
nequin
Request bu
f
f
e
ring of the curren
t
track if it is t
o
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Add som
e
synchronis
a
tion t
o
prevent some deadlock
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequi
n
Make basic s
e
eking actu
a
lly work
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Add close_
t
ra
c
k
_
handles and reenable audio_clear_tr
a
ck_e
n
tri
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
R
elease da
t
a for
the finish
e
d tr
a
ck
o
n tr
a
ck
change
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Store filesi
z
e on loa
d
.
T
his makes basic se
e
king work
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s Pennequin
Start
using "
f
ill
i
ng
"
correctl
y
to make
m
ore tracks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Remo
v
e the tes
t
plugin
commit
|
commitdiff
|
tree
next