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
Revert to calling playlist_next() in check_new_track() as in SVN.
2007-10-25
Nico
l
as Penne
q
uin
R
e
vert t
o
c
a
lling playlist_next() i
n
check_new_trac
k
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penneq
u
in
Debug
o
utput tweaking
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
P
e
nne
q
uin
Attem
p
t to
f
ix cr
o
ssf
a
ding
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penn
e
quin
As
k
for new files when the disk is spi
n
n
i
ng and useful
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix the b
u
g
where handles wou
l
d r
e
main open after a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Ma
k
e
t
he conf_*
v
alues
s
ettable
by othe
r
th
r
e
ads
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
This part is only for targets with more then 8 MB of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
las P
e
n
nequin
A few more improvements
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penne
q
ui
n
Im
p
ro
v
e
b
ufge
t
data a
n
d bufread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Minor cleanup/comments
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penne
q
ui
n
Instea
d
of usi
n
g the a
t
a
idle call
b
ack, manually p
o
ll
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
P
e
nn
e
quin
Cleanup,
function renaming an
d
moving,
comments
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
a
s P
e
nneq
u
i
n
Makes som
e
variables c
o
n
s
t an
d
som
e
others volatile
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
n
nequin
R
emove
t
h
e u
n
used
"rebuffer" parame
t
ers
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
l
as Penneq
u
in
F
i
x co
m
pilati
o
n on HWCODEC
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
audio_fill_f
i
le_buffer
(
) c
l
eaning and t
w
ea
k
ing
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Forgot this one :(
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
bool filling i
s
n't necessary an
y
more
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s P
e
nnequin
Fix
the wps_offset busi
n
e
s
s for good
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
l
a
s Penn
e
quin
Cleanup playb
a
ck
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
Pen
n
equin
Use the callbacks in the au
d
io
t
hread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penn
e
quin
Add c
a
llbacks to
notify use
r
s
of th
e
b
uff
e
ring API
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Re
m
ove
t
he "b
u
ffering" boo
l
indicator
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
i
n
Make the playlist
p
osition b
e
u
pdate
d
on the PCM track
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Solve
t
he pr
o
gre
s
sbar not being up
d
at
e
d in the last
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enn
e
quin
Clo
s
e part
i
a
l
ly buf
f
e
red handles
when changing t
r
ac
k
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make the
a
udio
t
hr
e
ad wait with a timeout even when
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
M
inor twea
k
to
t
h
e
au
d
io
thre
a
d buffer fi
l
ling logic
commit
|
commitdiff
|
tree
2007-10-25
N
i
cola
s
Penn
e
quin
Increase MAXTHREADS
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Add t
h
e
"buffering" statu
s
indicator
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s Pe
n
nequ
i
n
Remove s
o
me disabled
c
ode from playback
.
c
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pe
n
ne
q
uin
Invalidate handle cache
on
han
d
le removal
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Change audio_release_tracks() so that it ensures closing
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Bett
e
r logic in the buffering th
r
e
a
d loop
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
T
u
rn bufclose int
o
a qu
e
u
e
event sender
to
e
n
sure a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
P
r
otect the linked list with a m
u
tex
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
Pennequin
Some cle
a
nu
p
/simplificat
i
on a
n
d an a
d
de
d
co
m
ment
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penne
q
uin
Move the call to
a
ta_s
l
eep()
i
n
fill_buffer()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequ
i
n
No bu
f
c
losi
n
g of h
a
ndles a
f
ter tr
a
c
k
change
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s Pennequin
Add
a b
i
t
more debug info
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequi
n
Reintr
o
duc
e
code
c
_adva
n
c
e_buf
f
er
_
coun
t
ers(
)
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
Pennequin
Don't
attempt to buf
f
er tr
a
cks if
t
here ar
e
no more
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
las Penneq
u
in
Hide th
e
buffering th
r
ead and queue in
s
ide buff
e
ri
n
g
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Reve
r
t "Replace yiel
d
_
c
odec()
w
ith
a cal
l
t
o
que
u
e
_
wait_w
_
tm
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penn
e
qui
n
S
a
m
e
as the previous commit but with
a
di
f
f
e
r
e
nt
c
allback
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Ch
e
c
k
that me
t
adat
a
is present b
e
f
o
re calling back
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enne
q
u
i
n
10 tic
k
s is way too long
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequi
n
filebuf_is_lowdata i
s
n't need
e
d anymore
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s Penne
q
uin
Repla
c
e yield_c
o
dec() with a call to
q
ueue_wai
t
_w_tm
o
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Rebuffer after pla
y
list
changes
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las P
e
nnequi
n
Enable and c
o
rrect audio_invalid
a
te_
t
r
a
cks to
make
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
L
i
ne
lengt
h
s
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Onl
y
attempt to fill the buffer if it needs
to be fil
l
ed
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pen
n
equi
n
Fre
e
t
he buffer more o
f
ten when there is less data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Im
p
roved b
u
ffer
use by filling
w
hen
t
h
e disk is active
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ola
s
Pen
n
equi
n
Th
e
number
of tra
c
k
s
for w
h
ich we h
a
ve handles is
one
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Add buffered_data() for
later use
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Debug
scr
e
en for the buffering thread
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas P
e
nnequin
Make dir sk
i
pping w
o
rk co
r
rectly and probably improve
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
e
nneq
u
in
code
c
_advance_buffer_callback:
R
emo
v
e unused cod
e
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
P
ennequi
n
codec
_
seek_buffer_callback: a simple bufs
e
ek call is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make buf
a
dvance rely on buf
s
e
ek
in
s
tead of du
p
licating
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Correct
bu
f
seek
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pen
n
equin
Some
code documentat
i
on
u
pdates
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequi
n
R
ena
m
e
f
r
ee_b
u
ffer() to shrink_han
d
le()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
audio_curr
e
n
t_t
r
ac
k
: Don't use
curtrack_id3 if it'
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
F
i
x warning
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Clear
static structs on stop
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Improve metadat
a
use
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nne
q
uin
Pointer cosmetic changes
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Silen
c
e warnings on coldfire
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pe
n
nequin
R
e
name getpt
r
to
b
ufg
e
tcod
e
c
and make it ens
u
r
e
the
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
bufopen: Imme
d
i
a
te
l
y reques
t
buffering for certa
i
n
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
as Pennequi
n
Check
for the case when
no d
a
ta is r
e
ady and the
r
e
qu
i
red
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Revert
"Simplify c
o
de
c
_request
_
b
uffer_callback
(
)"
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
cu
r
track
_
i
d
3 and
nexttrack_id3 should b
e
st
a
tic
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penne
q
uin
A bit of mai
n
tenance
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pe
n
n
eq
u
in
Simplify codec_
r
e
quest_buf
f
er_callbac
k
()
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Only ask once for buf
f
e
ring, then wait for the data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Fix bufread imp
l
eme
n
ta
t
ion
.
This
f
ixe
s
pr
o
blems
w
i
th
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las P
e
nnequin
Minor clean
u
p
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
P
r
operl
y
clear track inf
o
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
la
s
Pennequin
reset_handle(): Fix warning an
d
make it
s
tatic
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Factor
out the
d
u
p
l
i
cate
code from
bufadvan
c
e in reb
u
ffer_ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Penne
q
u
i
n
Implement back
w
ards sk
i
pp
i
ng by com
m
pleting audio
_
reb
u
ffer()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Clear warnings an
d
m
o
re clea
n
up
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequ
i
n
C
l
eanup
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
S
ilence the
w
arni
n
g from reset_handle
(
)
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
audio_stop_playb
a
ck
(
): Rel
e
ase
t
rack handles BEFORE
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
S
eeking
w
a
sn't actully qu
i
te correct: make it s
e
ek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Implemen
t
rebuffering f
o
r seeking
o
u
t
side of buff
e
red
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas P
e
nne
q
uin
Fi
x
playback resuming
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Prevent file desc
r
ipt
o
r l
e
akage or ove
r
u
se
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
codec_f
i
le
b
uf_ca
l
l
back:
Setting co
p
y_n to 0 was
a
VERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
qui
n
Silence a few
w
arni
n
g
s
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
P
enne
q
uin
b
ufclose: Make sure
the handle's file descri
p
tor
i
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
ennequin
buf
o
pen():
D
o
n't immediately buffe
r
certain types of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s Pennequin
cod
e
c
_
seek_buffer_callback(): Check whether it's
possible
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
U
n
comment a part o
f
au
d
io_rebuffer() to mak
e
rebufferin
g
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penne
q
uin
When data
can't wr
a
p, start over at
t
he b
e
gin
n
i
n
g
of
.
.
.
commit
|
commitdiff
|
tree
next