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
Ni
c
olas Pen
n
equin
Revert
t
o ca
l
l
i
ng playl
i
st_n
e
xt() in che
c
k_new_tra
c
k
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
a
s Pennequin
D
ebug output tweak
i
ng
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequ
i
n
Attempt to fix cro
s
sfading
commit
|
commitdiff
|
tree
2007-10-25
N
i
cola
s
Pennequi
n
Ask for
n
ew fi
l
e
s when the disk is
spi
n
ning and useful
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Fix the bug
where
handl
e
s wou
l
d remain op
e
n afte
r
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Mak
e
th
e
c
onf_* va
l
ues se
t
table by other
threa
d
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
n
equin
This part
i
s only for t
a
rgets
with
m
o
re
t
hen 8 MB
of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
as Pennequin
A few mo
r
e imp
r
ovements
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Improve bufgetda
t
a a
n
d bufread
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
M
inor cleanup/comments
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Instead
of using the ata idle callbac
k
,
m
anu
a
l
ly pol
l
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Cleanup, funct
i
on renaming and moving, comments
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Makes so
m
e var
i
ables cons
t
and some others volatile
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Remove t
h
e unu
s
ed "
r
e
bu
f
fer"
parameters
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix compilation on HWCOD
E
C
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
audio_fill_file_bu
f
fer() cleaning
a
nd tw
e
aking
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
F
orgot
t
hi
s
o
n
e :(
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
bool fil
l
ing
i
s
n
'
t neces
s
ary
a
nymore
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
las P
e
nne
q
uin
Fix the wps_offset busines
s
for good
commit
|
commitdiff
|
tree
2007-10-25
N
i
col
a
s Pen
n
equin
Cleanup pla
y
back
.
c
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequi
n
U
s
e the
c
a
l
lbacks in the audio thread
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as P
e
nnequin
A
d
d ca
l
l
ba
c
ks to notify users
o
f
t
he bu
f
fering AP
I
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
R
emo
v
e the "bu
f
fer
i
ng" bool indi
c
a
t
or
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
e
n
n
equin
Make the
playlist
p
osit
i
on be upd
a
te
d
on
the PCM track
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Solve the p
r
ogr
e
ssbar no
t
being
u
pdated i
n
the last
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
e
nneq
u
in
Clo
s
e partially
buffered han
d
les
when changing tracks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equ
i
n
Ma
k
e
t
h
e
audio threa
d
wai
t
w
i
t
h
a
tim
e
out even whe
n
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s Pe
n
n
equin
Minor tweak to the a
u
dio thread
buffe
r
filling logi
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Increase MAXTHREADS
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penne
q
uin
Add the "buffering" status indicator
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Remo
v
e some disabled code
f
r
o
m p
l
ayback
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequ
i
n
Invalidate handl
e
cache on hand
l
e rem
o
v
al
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
Penne
q
uin
Change audio_
r
elease_tracks()
so
t
hat it
en
s
ures closin
g
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Be
t
t
er logic
in th
e
buffering thread loop
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
las Pennequin
T
u
rn buf
c
lose into a que
u
e event sender to ens
u
re a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequin
Protect
t
h
e
linke
d
list
with a mutex
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
S
o
m
e
cleanu
p
/si
m
plific
a
tion and a
n
a
dded comment
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
u
i
n
Mov
e
t
he call t
o
at
a
_sleep() in f
i
ll_buffer
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
N
o
bufcl
o
sing of handles
aft
e
r
t
r
a
ck change
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Add a b
i
t
m
ore
d
e
bug
i
nfo
commit
|
commitdiff
|
tree
2007-10-25
N
ico
l
a
s
Penn
e
quin
Reintrod
u
ce code
c
_
a
d
v
ance_buffer_
c
ou
n
t
ers()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Don'
t
attempt to buffer tracks if there a
r
e no
m
or
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pe
n
nequin
Hide the b
u
ffering t
h
r
ead a
n
d queue inside buffering
.
c
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
Pennequin
Re
v
ert "Replace yield_codec()
with a ca
l
l to
q
u
e
u
e_wa
i
t_
w
_tm
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Same as the previous commit but with
a
diffe
r
ent callback
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequi
n
C
h
eck that metadata is pre
s
e
nt before calling
b
a
c
k
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
10 ticks
i
s way
t
oo long
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
P
ennequin
fileb
u
f_is_low
d
ata isn't
needed anym
o
re
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Replace yield_code
c
() w
i
th a call to queue_
w
ait_w_tmo()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
i
n
Rebuffer after p
l
aylist chang
e
s
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penn
e
quin
Enable
a
n
d
c
orrect audi
o
_in
v
alidate_tra
c
ks to ma
k
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
las Pennequin
Line lengt
h
s
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
enne
q
u
in
Only attempt to fill the buffer if it needs to be filled
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s Pen
n
equin
Free the buffer m
o
re often w
h
en there is less data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Im
p
rov
e
d buffer
u
se by filling wh
e
n the di
s
k is active
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enneq
u
i
n
The number
o
f tracks fo
r
wh
i
c
h we ha
v
e
handles
is on
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Ad
d
buffered_
d
a
t
a(
)
for
l
ater use
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pen
n
equ
i
n
Debug screen for the buffering thre
a
d
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
M
a
ke dir ski
p
ping
work correctly and
p
robably impr
o
v
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penn
e
quin
codec_
a
dvance_buffer_c
a
llb
a
ck: Remove unu
s
ed code
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
c
o
d
e
c
_s
e
ek_bu
f
fer_callback
:
a
s
imple bufsee
k
call is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Mak
e
bu
f
advance rely
o
n bufseek instead o
f
d
u
plicati
n
g
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Correct bufsee
k
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
S
o
m
e cod
e
do
c
umentation
u
pdates
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Rename free_buffe
r
() to
s
h
r
ink_handle
(
)
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
a
u
d
io
_
c
urrent_
t
rack
:
Do
n
'
t
u
se c
u
rtra
c
k_
i
d3 if it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
la
s
P
ennequ
i
n
Fix w
a
rning
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Clear s
t
atic structs on stop
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Penne
q
uin
Improve metadata use
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
P
ennequi
n
P
oin
t
er cosmetic changes
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pe
n
nequin
Sile
n
ce warnings on coldfi
r
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
R
en
a
me getptr
to bufgetc
o
d
e
c and
m
a
k
e it ensure the
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
b
ufopen
:
Immediately request buffering
for certa
i
n
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Check for the case whe
n
no d
a
ta is r
e
ady a
n
d the req
u
ired
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pe
n
nequin
R
e
vert
"Simplify cod
e
c
_reques
t
_buffer_callba
c
k()"
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
curtrack_id3 and ne
x
t
t
rack_id3 should be s
t
atic
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
la
s
P
ennequin
A b
i
t of maintenanc
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Sim
p
lif
y
codec
_
r
equest_buffer_call
b
ack()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Only ask once for b
u
fferi
n
g
,
t
he
n
w
a
it for the
d
ata
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
P
ennequin
Fix bufre
a
d im
p
lem
e
nt
a
t
i
o
n
.
Thi
s
fixes probl
e
ms wit
h
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Minor cle
a
nup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequ
i
n
P
rop
e
rly clea
r
track info
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
reset_handl
e
(): F
i
x warning and make it static
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pe
n
n
e
quin
Factor ou
t
th
e
dupli
c
ate code from
b
u
fadvance i
n
rebuffer
_
ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
P
enn
e
quin
Impleme
n
t bac
k
w
a
rds
s
kipping by co
m
mpleti
n
g audio
_
rebuffer()
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
C
lear war
n
ings and
m
ore
c
l
eanup
commit
|
commitdiff
|
tree
2007-10-25
N
icolas P
e
nnequin
C
leanup
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
Pennequin
Si
l
en
c
e the w
a
rnin
g
from reset_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
a
u
dio_stop
_
playb
a
ck():
Release track
h
a
n
dles BEFOR
E
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Seeking wasn'
t
a
ctully quite correct: make it seek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequi
n
Im
p
lem
e
nt
rebu
f
fering for seeking outside of buffer
e
d
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix playback resum
i
ng
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
l
as P
e
nnequin
Pre
v
ent file descripto
r
leakage or overu
s
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
codec_
f
ilebuf_callback: Sett
i
ng copy_n t
o
0
was a VERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Si
l
ence a few
w
arnings
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
Pe
n
n
e
quin
b
u
fclose: Ma
k
e sure the
h
a
ndle's file
descriptor
is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
bufopen(
)
:
D
on't immed
i
ate
l
y buf
f
e
r
c
ert
a
in ty
p
es of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
codec_seek_buffer_call
b
a
ck(): Check w
h
ether it's possib
l
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pe
n
nequin
Uncommen
t
a
part of au
d
io_r
e
buffer() to make rebuffering
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penneq
u
i
n
When data
ca
n
't wr
a
p
, st
a
rt
o
v
er at the
be
g
inni
n
g of
.
.
.
commit
|
commitdiff
|
tree
next