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
Make the playlist position be updated on the PCM track change
2007-10-25
N
ic
o
la
s
P
e
nnequ
i
n
Ma
k
e t
h
e
p
laylis
t
pos
i
tion be updated on the PCM track
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
as Pennequin
S
olve the progressb
a
r n
o
t being upd
a
ted in the last
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Close pa
r
t
i
ally buf
f
ere
d
handl
e
s
when changing trac
k
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Make the a
u
d
i
o thre
a
d wait
w
ith a timeout even when
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Minor tweak
to the au
d
io thread buff
e
r
f
illing
logic
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s P
e
nnequ
i
n
Increase
MAXTHREADS
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
enn
e
q
uin
Add the "b
u
fferi
n
g"
s
tatus indicator
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequ
i
n
Remove some disab
l
ed code fr
o
m playback
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
la
s
Pennequin
Inval
i
d
a
t
e
handle cache on
h
a
n
dle remov
a
l
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penneq
u
in
C
h
ange a
u
dio_relea
s
e_t
r
acks() so t
h
a
t
i
t ensures
closing
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
B
ett
e
r l
o
g
ic in th
e
b
uffering thread loop
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Turn bufclose i
n
to a queue eve
n
t sender to ensure a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Protect the linked
list wit
h
a
m
utex
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pe
n
nequin
Some
clean
u
p/simplification a
n
d
a
n a
d
de
d
com
m
ent
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
M
ov
e
the call to ata_sleep() in fill_buf
f
er()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
No bufclo
s
in
g
of handles after
t
rack change
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as P
e
nnequin
A
dd a bit
m
ore
d
ebug info
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Reintrodu
c
e
co
d
ec_advance_buffer_counters(
)
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pennequin
Don't a
t
tempt t
o
buffer
t
racks if there are
no more
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
H
ide t
h
e
b
ufferin
g
t
h
r
ead and
q
u
eue inside
b
uffering
.
c
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Re
v
er
t
"
Repla
c
e yi
e
ld_codec() with a call to queu
e
_wait_w_tm
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
P
enneq
u
in
Same as
t
h
e previous commit but with
a different callb
a
ck
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
n
e
quin
Chec
k
that
m
etadata is p
r
esen
t
bef
o
re calling back
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
Pennequin
10 tick
s
is way too long
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
filebuf
_
is_lowda
t
a i
s
n't needed anymore
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
P
enn
e
q
u
i
n
Rep
l
ac
e
yield
_
co
d
ec() with a call to queu
e
_wa
i
t_w_tmo()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Rebuffer after playlist
c
han
g
es
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Enable
a
nd correct audio_invalidate_tracks to make
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Lin
e
lengths
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
las Pennequ
i
n
Only att
e
m
p
t
to fi
l
l the buffer if it
n
eed
s
t
o be filled
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequi
n
Fr
e
e
th
e
buffer m
o
r
e often when t
h
e
re is less da
t
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequ
i
n
Im
p
rov
e
d
b
uffer us
e
by fillin
g
when the
d
i
sk is activ
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
T
h
e number of tracks
for which we
have ha
n
dles is o
n
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add
b
uffer
e
d_da
t
a() fo
r
later use
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s Pennequin
Debug
s
creen for the buf
f
ering
t
h
r
e
ad
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penneq
u
in
Make dir skippin
g
wor
k
correc
t
l
y
and probably improve
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequ
i
n
c
odec_advance_buffe
r
_cal
l
bac
k
: Re
m
ove
u
n
u
sed
co
d
e
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas P
e
nnequin
co
d
ec
_
seek_buffer_callback: a
sim
p
le bufseek call is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Penn
e
q
u
in
Make bufa
d
vance re
l
y on bu
f
see
k
in
s
tead of dupli
c
ating
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Correct bufseek
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Some code d
o
cument
a
tion up
d
ates
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
e
n
n
equin
Rename free_bu
f
fer(
)
to shrink_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
audio_cur
r
e
n
t_track:
D
on't use curt
r
ack_id
3
if it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pen
n
equin
Fix
w
arning
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Clea
r
stat
i
c
s
tructs on stop
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Imp
r
ove met
a
data us
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Pointer cosmetic
c
h
a
n
ge
s
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Sile
n
c
e
w
a
r
n
ings on
c
ol
d
fire
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Ren
a
me
g
e
tptr
to bufge
t
codec and
make it
ensure the
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
bufopen:
Immediately request buffering for
certai
n
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Check for the
c
ase when no data is ready
a
nd
t
he
r
equired
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Rever
t
"Simplify
c
o
dec_request_buffer_callback()
"
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequ
i
n
c
urtrack_id3 and nexttrack
_
id3 should be static
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
A
bit of ma
i
ntenance
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
P
e
nn
e
quin
Simplify codec_
r
eque
s
t
_
b
uf
f
er_
c
a
llba
c
k
(
)
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Only
ask o
n
c
e for bu
f
fering, th
e
n wait
f
or the data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
F
ix bufread implementation
.
Th
i
s
f
i
xes
p
r
obl
e
ms wi
t
h
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
M
inor cleanup
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas P
e
nnequin
Pro
p
er
l
y
clear
tr
a
ck i
n
fo
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
reset_handle(): Fix wa
r
ning and make it s
t
atic
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
as Pen
n
equin
Facto
r
out the duplicate
code from
bufadvance in re
b
uffer_ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Implement bac
k
wards skipp
i
ng by co
m
m
plet
i
n
g
aud
i
o
_r
e
buff
e
r(
)
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Clear warni
n
gs and
more cleanu
p
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
as Pennequin
Cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
la
s
Pen
n
equin
Silence th
e
war
n
ing
f
rom reset_handle()
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
la
s
Pe
n
neq
u
in
audio_stop_playback(): Release track han
d
le
s
BEFO
R
E
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s Penneq
u
in
S
eeking wasn't actully quite correct: ma
k
e it seek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
I
m
plement rebuffering for
s
e
eki
n
g
outside o
f
bu
f
fered
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
las Pennequin
Fix playback resumi
n
g
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
n
e
qui
n
Prevent file
d
escriptor leakage or ove
r
use
commit
|
commitdiff
|
tree
2007-10-25
N
icolas P
e
nneq
u
in
codec_filebuf_callback: Setting copy_n to 0 was
a V
E
R
Y
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Sile
n
c
e
a few wa
r
nings
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
buf
c
lose: Make sure the
h
a
ndle'
s
file descriptor i
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
q
u
i
n
bufop
e
n(): Don'
t
immedia
t
ely buffer
c
ert
a
in types of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
codec_seek_buffer_c
a
llback(): Che
c
k w
h
e
th
e
r it
'
s possi
b
le
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
U
n
comment a part of
au
d
io
_
rebuffer()
t
o make reb
u
ffering
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
When
d
a
ta can't wrap,
s
t
a
rt over at
t
h
e
beginning of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
a
s
Pennequin
D
o
n
't ask to
b
uffer tracks right after loading them
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
Penn
e
quin
Add
U
SB con
n
e
ct
i
on ha
n
dling to the
buffer
i
ng
thread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix t
r
acks bei
n
g forgotten
a
b
out w
h
en
t
here was no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penne
q
uin
I
mprove yield_co
d
ec and
use it better to ma
k
e audio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
bufgetdata(): fix
t
he available vs
.
required
check
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penn
e
quin
Fix a st
u
pi
d
bug t
h
at cau
s
ed some
h
and
l
es
n
o
t to be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pe
n
nequin
Introduce
y
ie
l
d_codec
(
), sim
i
lar to the orig
i
n
a
l
audio_yield
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Ma
k
e the target behave
the
same
as the s
i
m (don't care
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Tr
y
in
g
t
o
make audio sta
r
t playing faster
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penne
q
uin
Fix p
l
ayback
stoppi
n
g by closin
g
a
ll track handle
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
A
few co
m
ment tweaks
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
as Penn
e
quin
Add a t
e
s
t
in audio_
c
urrent_track()
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequ
i
n
D
o
th
e
initial
popul
a
t
ing of
th
e
sta
t
i
c ID3
s
tructs
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas P
e
nneq
u
i
n
Make
audio_read
_
next_metadata a b
i
t
safer
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Mi
n
or cor
r
ection
o
f a
c
o
m
ment
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
U
se id3_hi
d
rather tha
n
tagin
f
o_read
y
to know
i
f
ID3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penneq
u
in
Request bufferin
g
of the curre
n
t track if it is to
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penneq
u
in
Add some synchronisation
t
o prevent
s
o
m
e
deadl
o
c
k
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Ma
k
e basic
s
eeking act
u
all
y
work
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
n
e
quin
Add
close_tra
c
k_handles
a
nd reenable audio_c
l
ear_track_ent
r
i
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Rel
e
ase data for the f
i
nish
e
d
track on t
r
ac
k
chang
e
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
cola
s
Pennequin
Stor
e
fil
e
size
o
n lo
a
d
.
This makes b
a
sic seeking work
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
nnequin
Start
u
sing
"filling" corre
c
tl
y
to make more tra
c
ks
.
.
.
commit
|
commitdiff
|
tree
next