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
Better logic in the buffering thread loop
2007-10-25
Nicol
a
s
P
ennequin
Better logic in
the buf
f
e
r
ing thread loop
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Turn bufclose into a queue ev
e
nt
send
e
r t
o
ensure a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Protect the link
e
d lis
t
with a mute
x
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Some clea
n
up/simplificat
i
o
n and
a
n
a
dded comment
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
M
o
ve
t
he c
a
ll
t
o ata_s
l
eep() in fill_buffer(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penn
e
qu
i
n
N
o
bufclosing of h
a
ndles after track
chang
e
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
las Pennequin
Ad
d
a bit more de
b
ug info
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pen
n
equin
Reintroduc
e
c
o
de
c
_advan
c
e_buf
f
er_counters
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Don't
a
ttempt t
o
buffer tracks if
t
here
a
re no more
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Hide the b
u
ffering t
h
r
e
ad and queue insi
d
e
b
uff
e
ring
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Re
v
ert "Replac
e
yield_co
d
ec()
w
i
th a cal
l
t
o
queue_w
a
it_w_
t
m
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enn
e
q
u
in
S
a
me
as the p
r
eviou
s
commit but with a d
i
fferent callback
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Check tha
t
metad
a
ta is
p
r
e
sent b
e
fore ca
l
ling back
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Penn
e
qui
n
1
0 ticks is way too long
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
fi
l
ebuf_is
_
lowdata isn't needed anymore
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Penn
e
q
u
in
Replace y
i
eld_c
o
dec() wi
t
h
a
c
al
l
to queue_wait
_
w_tmo()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
en
n
e
qu
i
n
Rebuff
e
r a
f
ter playlist changes
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
E
na
b
le and c
o
rre
c
t audio_invalidate_tr
a
cks
to make
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
q
u
i
n
Line lengths
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penne
q
uin
O
n
ly attemp
t
t
o
fill the buffer if it needs to be f
i
lled
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Free t
h
e bu
f
fer more ofte
n
when there is less
data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pe
n
ne
q
uin
Improved bu
f
fer us
e
by filling when the disk is act
i
ve
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enn
e
quin
The number of
tracks f
o
r which
we have handles i
s
one
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add b
u
ffered_data() fo
r
later use
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pe
n
n
e
q
uin
Debug
s
creen f
o
r th
e
buffering thread
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Ma
k
e dir skippin
g
work
c
orr
e
ctly and probab
l
y improve
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
codec_
a
dvance_buffe
r
_ca
l
lback: Remove unu
s
e
d
code
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
c
o
dec_
s
eek
_
b
u
ffer_callback: a si
m
ple bu
f
s
e
ek call is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
e
qui
n
Ma
k
e bufadv
a
nce rely on bufseek ins
t
ead o
f
d
uplicating
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
n
nequin
Correct bufseek
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
So
m
e code
documentation upd
a
tes
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penn
e
quin
Rename free_bu
f
fer()
t
o sh
r
ink_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
audio_curre
n
t_track:
D
o
n
'
t use curtrac
k
_id
3
if it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
as Pennequin
Fix warni
n
g
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pen
n
equin
C
l
ear
s
tatic structs on st
o
p
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Improve metadata use
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
la
s
Pennequin
Pointer cosmetic
c
h
a
n
g
es
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Silence
w
arnings on co
l
dfire
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Re
n
ame
g
etptr to bufget
c
o
d
ec and
make it e
n
sure the
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penn
e
quin
bufope
n
: Immediately request buffer
i
ng for
certain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Check f
o
r the case
when no data i
s
ready and the requi
r
ed
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequin
Revert "
S
implify code
c
_request_buffer_call
b
ack()"
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
enn
e
quin
curtrack_id3 and
nexttrack_i
d
3
should be sta
t
ic
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
A bit of
maintenan
c
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enn
e
quin
Simplify code
c
_request_buffer_cal
l
back()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
O
nly
a
s
k once for buffering,
the
n
wait
for the da
t
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
as Pen
n
e
quin
Fix
bufread
i
mplem
e
nta
t
i
on
.
T
his
f
ixe
s
prob
l
ems with
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Minor
cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Properly
c
lear tra
c
k
i
nfo
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
reset_han
d
le(): Fix warn
i
ng
and ma
k
e it s
t
atic
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Factor out th
e
duplicate code from
b
u
fadvan
c
e in rebuffer_ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
I
mplement backwards skip
p
ing by commpletin
g
audio_r
e
bu
f
f
e
r
()
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
Pennequin
C
lear warnings and mor
e
c
leanup
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Clea
n
u
p
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
n
equin
Silence
t
he warning from res
e
t
_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penn
e
q
u
in
a
u
dio_stop_pl
a
yback(): Release tra
c
k handles BEFORE
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
Pennequ
i
n
S
e
e
k
ing wasn't actully qu
i
te correc
t
: make it
s
eek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas
P
ennequin
Implement reb
u
ffering
for seeking out
s
i
d
e
o
f
bu
f
f
e
red
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Fix playback resumin
g
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas P
e
nnequ
i
n
Prevent file de
s
cr
i
pt
o
r
l
e
akage or overuse
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequi
n
codec_file
b
uf
_
callback: Se
t
ting copy_
n
to 0
w
a
s a VER
Y
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Sile
n
c
e
a few warnings
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
bufclo
s
e: Make sure the handle's
f
ile descriptor
is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
bufopen(
)
:
D
on
'
t
i
m
mediat
e
ly buffer certain typ
e
s
of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequi
n
codec_seek_buffer_cal
l
back(
)
: Check whether it's pos
s
ible
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Uncomment a part of aud
i
o_rebuffe
r
() to
m
ake rebuffer
i
ng
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
Pennequin
When data can
'
t wrap,
s
tart ov
e
r at t
h
e
beginning
o
f
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequ
i
n
Don't ask to buffe
r
tracks right
after loadin
g
them
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
Pe
n
nequin
Add USB c
o
n
n
ec
t
io
n
handling to the bu
f
f
e
ring thread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix tra
c
k
s bein
g
f
orgott
e
n about when th
e
re w
a
s no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Improve yield_codec a
n
d
use i
t
better to
make
audio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
ennequin
bufgetdat
a
(): fix the availa
b
l
e
vs
.
required check
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix a stupid bug that caused
s
o
me handles not to be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penne
q
uin
Introd
u
ce yie
l
d
_co
d
ec()
,
similar to t
h
e or
i
g
i
nal audio_yield
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
col
a
s
P
enne
q
u
i
n
Make the targ
e
t
b
ehave the
s
a
m
e
as t
h
e sim (don't
c
ar
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penneq
u
in
Trying to make
audio sta
r
t
playing fa
s
ter
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix playback stopping by
closing
all track handl
e
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
A few comme
n
t
tweaks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add
a
t
e
st
i
n au
d
io_cur
r
ent_track()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Do the initi
a
l p
o
pula
t
ing of the static ID3 structs
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequ
i
n
Make au
d
io
_
read_next_metadata a bit saf
e
r
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Minor correction of
a comment
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nne
q
uin
Use i
d
3_hid rather tha
n
taginfo_ready to
know if ID3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nn
e
quin
Request bu
f
fering
of the cu
r
rent track if it is
t
o
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penn
e
qui
n
A
dd
s
o
m
e
synch
r
onisation to prevent some deadlocks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make basic s
e
eking actua
l
ly work
commit
|
commitdiff
|
tree
2007-10-25
N
ico
l
as Pennequin
Add clo
s
e_track_handles and
r
e
enable audio_clear_track_entri
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Re
l
eas
e
data f
o
r
the finished
t
rack on tra
c
k change
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Store filesize o
n
load
.
This mak
e
s
basic seeking
w
ork
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Start us
i
ng "filling"
c
orrectly to
m
ake mo
r
e tracks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Remove the
t
est p
l
ugin
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Increment tr
a
ck_wi
d
x
after l
o
a
d
ing a
t
rack
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Co
s
meti
c
s a
n
d get rid
of warnings
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas P
e
nnequin
ID3 handling improvemen
t
s
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Trigger a CPU
b
oost bef
o
re re
a
ding from d
i
sk
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
l
a
s
P
e
nnequin
Debug output
tweakin
g
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
A bunch of
i
mpro
v
ements
that make playback of
t
he f
i
r
s
t
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Add
a g
e
t
_offset
API cal
l
to
make codec_advance_buffer
_
lo
c
_c
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
Pen
n
equin
A coup
l
e
more twea
k
s
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pen
n
equin
F
i
x a stupi
d
bug th
a
t
p
rev
e
n
t
ed the buffe
r
in
g
sys
t
em
.
.
.
commit
|
commitdiff
|
tree
next