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
Add the "buffering" status indicator
2007-10-25
N
icolas Pennequin
Add the "buf
f
erin
g
" statu
s
indicator
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Rem
o
ve some dis
a
b
led co
d
e
from p
l
ayback
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
as Penn
e
qu
i
n
Invalidat
e
handle cache on handle removal
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pe
n
nequ
i
n
C
hange audio_release_tracks()
s
o
that i
t
ensures closing
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Bett
e
r logic i
n
the buffering
t
hread loop
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pe
n
n
eq
u
in
Turn bufclose into a
q
ueue
event sender to ensure a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
las Pen
n
equi
n
Protect the linked
l
is
t
w
ith a mutex
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
Pennequin
Some cleanup/
s
implifi
c
ation
an
d
an added
c
omment
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Move
the call to at
a
_sleep() in fil
l
_buffer(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
No bufclo
s
ing of
handles afte
r
track cha
n
ge
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add
a
b
it more debug i
n
fo
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
qui
n
R
e
in
t
ro
d
uce codec_advance
_
buffer_count
e
rs()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Don't attempt to buffer trac
k
s if there are
n
o
more
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
H
i
de th
e
buffering thread and queue ins
i
de buffering
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
P
ennequ
i
n
Revert "Rep
l
ace y
i
e
ld_codec() wit
h
a cal
l
to queue_wait_w_t
m
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Penne
q
uin
Same as the previous commit bu
t
w
ith a different ca
l
lb
a
ck
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Penn
e
quin
Check that metadat
a
is pres
e
nt before
call
i
n
g back
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pe
n
nequin
10 ticks is way
t
oo long
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
f
ilebuf_is_lowdata isn'
t
needed any
m
o
re
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pen
n
equin
Replace yield_code
c
() with a cal
l
t
o
queue_wait_w
_
tmo()
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
las Pennequi
n
Rebuffer
afte
r
playlist cha
n
g
e
s
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
e
nneq
u
in
Enable and
c
orrec
t
audio_invalidate_tracks t
o
make
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Lin
e
lengths
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Only attempt to fill the buffer i
f
it
nee
d
s
t
o
be filled
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equi
n
Free the
buffer more
often when t
h
e
re is
less
d
ata
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
en
n
equin
Improve
d
buffer use by filling w
h
e
n
the disk is ac
t
ive
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
The numb
e
r
o
f tracks for which w
e
have h
a
nd
l
es is one
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Ad
d
buffere
d
_data
(
) for later u
s
e
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
las Pennequin
Debug
s
cre
e
n
f
o
r
the
b
uffe
r
i
ng
thread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
nequin
M
a
k
e dir s
k
ipp
i
ng work correctly and probably improve
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
codec_adva
n
ce_buffer_callback: Remove unu
s
ed
c
ode
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
co
d
e
c_seek_buffer_cal
l
back
:
a simple bufseek
c
all is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pen
n
equin
Ma
k
e bufadvance r
e
ly on buf
s
eek
i
nstea
d
of duplicating
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
C
o
rrect
b
ufseek
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Some c
o
de documentat
i
on updates
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Rename
f
r
ee_buffer() to s
h
rink_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
audio
_
current_tr
a
ck:
Don't use curtrack_id3
if
it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Fix warning
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
nn
e
quin
Clear static
s
tructs on sto
p
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
as Penneq
u
in
Improve
m
etadata u
s
e
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las P
e
nnequi
n
P
ointer cosmetic
c
han
g
es
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s P
e
nnequi
n
S
i
lence warnings
o
n cold
f
i
re
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
las Pe
n
nequi
n
Rename getptr to bufgetcod
e
c and make it ensu
r
e t
h
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penn
e
quin
bu
f
open
:
Im
m
ediat
e
ly reque
s
t
buf
f
eri
n
g for ce
r
tain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
C
heck for the c
a
se when
n
o
data is ready and th
e
require
d
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penne
q
u
i
n
Re
v
ert "Sim
p
lify codec_request_b
u
ffer_callback()"
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
curtrack_id3 and nexttrack_id3 shoul
d
be static
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
A bit of maintenance
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Simplify cod
e
c_request
_
buffer_cal
l
back()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
n
e
quin
Only as
k
once
f
or bufferin
g
, then wait for t
h
e data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
F
ix bufrea
d
imple
m
entation
.
This
f
ixe
s
problem
s
with
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
e
quin
Minor cl
e
anup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Properly clear
t
rack i
n
f
o
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nn
e
quin
r
eset_handle(): Fix warni
n
g an
d
make i
t
static
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
enne
q
uin
Factor out the dupli
c
ate
c
od
e
from bufad
v
an
c
e
in
rebu
f
fer_
h
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
I
m
plement
backwa
r
ds skippi
n
g by c
o
mmpletin
g
a
u
dio_rebuffer
(
)
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
las Penne
q
uin
Cl
e
ar warnings and more c
l
eanu
p
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequ
i
n
Cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Silence th
e
warning from re
s
et_hand
l
e()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
audio_stop_playback(
)
: Release track hand
l
es BEFORE
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Seeking wasn't act
u
lly quite
c
orre
c
t: make it seek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Im
p
lement rebuffering for seeking outside of
buf
f
ered
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Fi
x
pla
y
back re
s
um
i
ng
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
ola
s
Pennequin
Pre
v
ent file descriptor leakage or ov
e
ruse
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
code
c
_fi
l
e
buf_call
b
ack: Setting copy_n to 0 w
a
s a
VERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Si
l
en
c
e a few warnings
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
bufclose:
Mak
e
sur
e
t
h
e
handle's fi
l
e descript
o
r is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
b
u
fopen(): Don't imm
e
diately bu
f
fer certain t
y
pes
of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
codec_seek
_
b
u
ffer_callback(): Chec
k
whether it's po
s
sible
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Uncomment a
p
art
of a
u
dio_rebuffer() to make rebuffe
r
ing
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ola
s
Pennequin
When data can't wrap, start o
v
er at the
b
e
g
inning
of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Do
n
't ask to
b
uffer
trac
k
s right
a
f
ter loading
t
h
em
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pe
n
n
e
qui
n
Add USB conn
e
ction handling t
o
the buffering thread
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
en
n
e
quin
F
ix trac
k
s being
f
orgo
t
ten about
w
h
en th
e
re was n
o
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Impro
v
e yield_codec and use it be
t
t
e
r to
make aud
i
o
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pe
n
nequin
b
u
fgetda
t
a():
f
ix the available vs
.
required chec
k
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
P
ennequin
Fix a stupid bug that caus
e
d
s
ome handles not to
b
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Introduce yield
_
c
odec(),
s
imilar to the original audio_yield
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
la
s
P
ennequin
Make the tar
g
et behave the same as th
e
si
m
(don't
care
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
P
ennequin
Tr
y
i
n
g
t
o make audio start playing fa
s
ter
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Fix playback stopping
b
y closing all track handles
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
A
f
e
w co
m
ment tw
e
aks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enn
e
qu
i
n
A
d
d
a
t
est in audio_current_t
r
ack()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
D
o
the ini
t
ial popu
l
a
t
ing of th
e
s
tati
c
ID3 struc
t
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make a
u
di
o
_
read
_
ne
x
t
_me
t
a
data
a
bit safer
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
P
e
n
nequin
Min
o
r
c
orrection o
f
a comment
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penn
e
q
u
in
Use id3_
h
id rather t
h
a
n
tagin
f
o_rea
d
y to know if ID3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Reque
s
t buffering of the current
t
rack if i
t
is to
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
n
nequin
Add
s
ome sy
n
chro
n
isation to prevent some
deadlocks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make basic seeking actual
l
y wo
r
k
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Add
c
lose_t
r
ack_hand
l
es and reenable
a
udio_
c
lear_track_
e
ntri
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Re
l
e
ase da
t
a for the
finished t
r
ack
on tra
c
k
change
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
Pennequ
i
n
S
t
or
e
f
i
lesize o
n
load
.
T
his makes
basic seek
i
ng work
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pen
n
equ
i
n
Start using "filling"
c
orr
e
ctl
y
to mak
e
more tracks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Remove
t
he
t
e
s
t plugin
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Penn
e
q
uin
I
n
cre
m
ent
t
r
a
ck_widx after lo
a
d
ing a track
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequ
i
n
Cosmetics and get
r
i
d of wa
r
nings
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
n
ne
q
uin
ID3 handling
i
mprov
e
ments
commit
|
commitdiff
|
tree
2007-10-25
N
ico
l
as Pennequin
Trigger a CPU boost before
reading from disk
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Debug
output t
w
eaking
commit
|
commitdiff
|
tree
next