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
Increase MAXTHREADS
2007-10-25
Nic
o
l
a
s P
e
n
n
e
q
u
in
Inc
r
ea
s
e MAXTHR
E
A
DS
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pen
n
e
q
uin
Ad
d
the "buff
e
ring" status ind
i
c
a
tor
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Re
m
ove s
o
me disab
l
ed code fro
m
playba
c
k
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
I
nvalidate
h
a
ndl
e
cache on handle
removal
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Cha
n
ge audio_release_tracks() so that
i
t
ensures closing
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Better logic in the
buff
e
ring thread lo
o
p
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
T
u
rn bufcl
o
se into a queue even
t
sende
r
t
o ensure a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pennequin
Pr
o
tect
t
he linked
list with a m
u
tex
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Som
e
cleanup/simp
l
ifi
c
atio
n
and
a
n added
comment
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Move t
h
e call to ata_sleep() in fill_buffer()
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
N
o bufclosing of
h
andles
a
fter
track
c
hange
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
nnequi
n
Add a bit mor
e
de
b
ug info
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Reintrodu
c
e codec_a
d
vance_buffer_cou
n
t
e
r
s(
)
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
as Penne
q
uin
Don't attempt to buffer tracks if th
e
re are n
o
more
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Hide the buffering
thread a
n
d queue
i
nside
b
uffering
.
c
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequ
i
n
Revert "
R
epl
a
c
e
yield_codec() w
i
th a call to
q
ue
u
e_wait
_
w
_tm
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Sa
m
e as the
p
revi
o
us
commit b
u
t with
a
differ
e
n
t
c
a
ll
b
ack
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Check that metadata
i
s pr
e
se
n
t before c
a
lling ba
c
k
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pen
n
equin
1
0 ticks
is
way too long
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
Pennequin
filebuf_is_lowdata isn'
t
n
eeded anymore
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Replac
e
yie
l
d_cod
e
c() with
a
cal
l
t
o
queue_wait_w_
t
m
o()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Rebuffer after pl
a
yli
s
t
changes
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Enab
l
e and
c
orrect aud
i
o
_invalidate_track
s
to make
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
Penneq
u
in
L
i
n
e l
e
ng
t
hs
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Only
attempt to fill the buffer
i
f
i
t
needs to be filled
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Free the b
u
f
fe
r
mo
r
e often when there is less
d
a
ta
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Improved buffer use
by filling
w
hen the disk i
s
active
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
The
n
umber of tracks for which we have hand
l
e
s
is one
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add buffered_d
a
ta() for l
a
ter use
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Debu
g
screen for the b
u
fferi
n
g
thr
e
ad
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequ
i
n
Make
d
ir s
k
ipping work
co
r
rectly and p
r
obably improve
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
codec_advance_
b
uffer_
c
allba
c
k: Remove unus
e
d code
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
Pe
n
nequin
code
c
_s
e
ek_buffer_
c
allback: a simple b
u
f
s
eek call is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make b
u
fadvan
c
e
re
l
y on buf
s
e
e
k inst
e
ad
o
f dupli
c
ating
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas P
e
nnequin
Correct bufseek
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Some code doc
u
m
entation updates
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
R
ename free_buf
f
er()
t
o sh
r
ink_handl
e
()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
q
u
in
audio_curr
e
n
t_track: Don't use curtra
c
k_id3 if it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s
Pennequin
Fix
w
a
r
ning
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pe
n
n
e
quin
C
l
ear static structs on
stop
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pennequin
Improv
e
metadata
u
s
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Poin
t
e
r cosm
e
tic ch
a
ng
e
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Silence warnings o
n
c
o
ldfire
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pe
n
nequin
Rename getptr to
bufgetco
d
ec and mak
e
it ensure the
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
bufopen: Imme
d
iat
e
ly request b
u
ffering for c
e
rtain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pe
n
nequin
Check
for the case when no da
t
a
is ready and
t
h
e required
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pe
n
nequin
Revert "Simplify codec_reque
s
t_buffer_callba
c
k()"
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
curtrack_id3
a
nd
nexttrack_id3
s
ho
u
l
d
be st
a
t
i
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
A bit of main
t
enance
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Simpl
i
fy co
d
ec_request_buffer_callback()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
O
nly ask once for buffering, then wait f
o
r t
h
e
data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
qui
n
Fix bufr
e
ad implement
a
tion
.
This fixes p
r
oblems with
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Minor cleanup
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Pr
o
perly clear track info
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
r
eset_handle():
F
i
x
warning a
n
d make it static
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
e
n
n
equin
Factor out the
duplicate code f
r
om bufa
d
van
c
e in
rebu
f
fer_
h
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
I
mplement backwards skipping by commple
t
ing au
d
io_reb
u
ffer()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
C
l
ear warnings an
d
mo
r
e
c
l
ean
u
p
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Si
l
ence
t
he wa
r
ni
n
g f
r
om
r
eset_handle()
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pen
n
equi
n
audio_stop_pla
y
b
ack()
:
Release tr
a
ck hand
l
es B
E
FORE
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
qu
i
n
Seeking wa
s
n'
t
act
u
l
ly quite c
o
rre
c
t: mak
e
it seek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
I
m
ple
m
ent rebu
f
fering for seek
i
ng ou
t
s
i
de
of buffered
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fi
x
playb
a
ck resuming
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequ
i
n
Preven
t
file de
s
c
ript
o
r leakage or overus
e
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequi
n
codec_fil
e
buf_callback: Setting copy_n
to 0 was a VERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
cola
s
Pennequin
Sil
e
n
c
e
a
fe
w
wa
r
nings
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
bufclose: Make
s
ure t
h
e handle's file des
c
riptor
i
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
u
i
n
bufopen():
D
o
n't i
m
mediately bu
f
fer
certain types of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
c
odec_seek_buffer_callback(): Check
w
hether it's
possibl
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Un
c
omment a
part of audi
o
_rebuffer() to make rebuffering
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
u
i
n
Wh
e
n data can't wrap, start over at
t
he b
e
ginning of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Don't ask to
buffer
t
racks right a
f
ter
loading them
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Add USB connection handling to the buffering
thr
e
a
d
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Fix tracks bein
g
fo
r
g
o
t
t
en abou
t
when there was
no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s Pennequin
Improve yield_co
d
ec a
n
d
u
se it
b
etter
to ma
k
e
a
udi
o
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
bufgetdata(): fix t
h
e
a
va
i
lable vs
.
re
q
uired
c
he
c
k
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Fix a
st
u
pid
bug tha
t
cause
d
some handl
e
s
not to
be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
In
t
roduce yield_codec(), sim
i
l
ar to the original
audio_yield
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make the target behave t
h
e
s
ame a
s
the sim (don't care
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Trying to make audio sta
r
t
p
la
y
i
ng fas
t
er
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pe
n
ne
q
ui
n
F
i
x playback sto
p
ping
by closing all trac
k
handles
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s Pennequin
A few com
m
ent twea
k
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Add a
tes
t
in audio_current_tr
a
ck()
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Do t
h
e initial populat
i
ng o
f
the
s
ta
t
ic ID3 st
r
uct
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequ
i
n
Make a
u
dio_re
a
d_next_m
e
tad
a
ta a bit
saf
e
r
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas
Pennequin
Mino
r
co
r
r
e
c
t
ion of
a
c
o
mment
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pen
n
e
quin
Use id3_hid rather than taginfo_ready
to know if ID3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Request buffering of the
c
urren
t
track if
it is
t
o
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pen
n
equin
Add some synchronisation to prevent
some dead
l
o
c
ks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
Penneq
u
in
Make basic seeking actually work
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Add c
l
o
s
e_tr
a
ck_hand
l
es
and reen
a
bl
e
au
d
io_cl
e
ar_track_e
n
tri
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Penneq
u
in
Rel
e
ase data for the
f
inished track on
t
rac
k
c
hange
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
St
o
re
f
ilesize on load
.
This makes basic se
e
king work
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
a
s
P
ennequin
Start using "filling" correctly to make mo
r
e tracks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Remo
v
e
t
h
e test plugin
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Incremen
t
t
rac
k
_w
i
dx after
l
o
ading
a track
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Cosmetics and get rid
of w
a
rnings
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penn
e
quin
ID3
h
andling im
p
rovem
e
nts
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Tr
i
gger a CPU boost bef
o
re
r
ead
i
ng
from di
s
k
commit
|
commitdiff
|
tree
next