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
Hide the buffering thread and queue inside buffering.c
2007-10-25
Nicolas Pe
n
n
equin
Hide the bu
f
fering thread a
n
d queue inside buffering
.
c
commit
|
commitdiff
|
tree
2007-10-25
N
ico
l
as Pennequi
n
Revert "Replace yield_codec() with a cal
l
to queue_wa
i
t_w_tm
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Same a
s
th
e
previous comm
i
t but with a
d
i
f
ferent call
b
ack
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
P
ennequin
Check that metadata i
s
p
resen
t
before callin
g
back
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
10 ticks i
s
w
a
y
too long
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pen
n
equin
filebuf_is_lowdata isn't
n
e
e
ded anymore
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pen
n
e
q
u
in
Replace yield_
c
odec() with
a call to
q
ueue_wait_w_tmo()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Rebuffer after playlist
c
hanges
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pen
n
eq
u
i
n
Ena
b
le and
correct au
d
io_invalidate_tracks to ma
k
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Line
l
e
n
g
t
hs
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequ
i
n
Only a
t
t
empt to fill the buffer if it needs to be filled
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Penneq
u
in
Fre
e
the
b
uff
e
r more of
t
en wh
e
n t
h
ere is les
s
data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Impr
o
ved buffer u
s
e by
f
illing when
t
he disk is active
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas P
e
nn
e
quin
T
he nu
m
ber of t
r
acks for which we have handles
i
s one
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
A
d
d buffered_data(
)
for later use
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequ
i
n
Debug screen fo
r
the
b
uffering thread
commit
|
commitdiff
|
tree
2007-10-25
N
icol
a
s
P
e
nnequin
Make d
i
r skipping work correc
t
ly and
p
robably impro
v
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s Pe
n
ne
q
uin
codec_advanc
e
_
buffer_callback: Remove unused
c
ode
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
codec_seek_buffer
_
callbac
k
: a
s
i
mple bufseek call is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enne
q
u
in
M
ake
bufadvance rely on
bufseek inst
e
ad of duplicating
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pen
n
equ
i
n
Correct bufseek
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
S
ome code docu
m
enta
t
ion upda
t
es
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
las
P
ennequi
n
Rename
f
ree_buff
e
r() to shrink_hand
l
e()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
audio_current_track
:
Don't use curtrack_id3 if it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enneq
u
in
Fix warning
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Clear s
t
atic structs on stop
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Improve metadata use
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Pointer cos
m
etic
c
hanges
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Silen
c
e
warni
n
gs on coldfire
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pe
n
nequin
Rename get
p
tr to b
u
fgetcodec and make i
t
en
s
ure t
h
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
bu
f
op
e
n
: Imm
e
d
i
a
tely request buffering for cert
a
i
n
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
enn
e
quin
C
h
e
c
k
for t
h
e case whe
n
no data is
r
e
ady and the requi
r
e
d
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pe
n
n
e
qui
n
Revert "S
i
mplify cod
e
c
_re
q
uest_buffer_callb
a
ck()"
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
c
u
rtrac
k
_id3 an
d
ne
x
ttrack_
i
d
3
s
h
ould be
s
t
a
tic
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
en
n
equin
A b
i
t of maintenance
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pe
n
n
e
quin
Simp
l
i
fy
c
ode
c
_request_bu
f
fer_callback(
)
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
P
enneq
u
in
O
nly ask once for
buf
f
ering, then
w
ait for the data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
l
as Penne
q
uin
Fix
b
u
f
read implementation
.
This fixes
problems with
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
M
i
nor
c
leanup
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s Penn
e
quin
Properly clear
t
rack info
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
reset_handl
e
(
)
: Fix
warning and mak
e
it static
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Factor
o
u
t the duplic
a
te code from bufadvance
i
n
r
ebuffer_ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Impl
e
ment b
a
ckwards skipp
i
ng by commpleting audio
_
rebu
f
fer(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Clear warnings and mor
e
cleanu
p
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Cle
a
nu
p
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
Pen
n
equ
i
n
Silence
t
h
e
w
arning
from rese
t
_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
a
udio_stop_playback(
)
: Relea
s
e track handles BEFORE
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Seeking wasn't actully
q
ui
t
e
correct: make
i
t
seek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
las Penn
e
q
u
in
I
mp
l
ement rebuffering for
s
eeking out
s
i
d
e
of b
u
ffe
r
e
d
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
P
enneq
u
i
n
F
i
x playback resuming
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
n
nequ
i
n
Prevent fi
l
e descriptor lea
k
age or overuse
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penne
q
uin
co
d
ec
_
filebuf_cal
l
ba
c
k: Setting copy_n to 0
was a VERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Silence a few warnings
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
bufclose: Make
s
ure the h
a
ndle's fi
l
e de
s
criptor is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas
P
ennequin
bu
f
open(): Don'
t
immed
i
ately buffer certain types of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
Pennequi
n
c
o
dec_seek_buffer_callback
(
):
C
he
c
k whe
t
her it's possible
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
nequin
U
n
comment
a
part of audio_rebuffer() to make rebuffering
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
When data can't wrap, start
over at
t
he beginni
n
g of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ola
s
Pennequin
Don't ask
to buffer trac
k
s right afte
r
loading them
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add
USB
connection handling
to
t
he buffe
r
ing th
r
e
a
d
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Fix tracks bein
g
forg
o
tten abou
t
when th
e
re
w
a
s
no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penn
e
quin
Improve y
i
eld_co
d
ec a
n
d use it
b
etter to make audio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pen
n
equin
bufgetdata():
f
ix the
available vs
.
required che
c
k
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix a stupid
bug th
a
t caused some h
a
ndles not to
b
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
I
ntroduce yiel
d
_
codec
(
), similar to
the ori
g
inal audio_yield
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Ma
k
e the target beha
v
e th
e
same as the
s
im (don't ca
r
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Trying
t
o make audio sta
r
t pla
y
i
n
g
faster
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequi
n
Fix
p
layback st
o
p
p
ing by clos
i
ng all trac
k
hand
l
es
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pe
n
nequin
A
fe
w
comment tweaks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add a
t
est
i
n aud
i
o
_
c
urr
e
nt_t
r
ack
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Do the initial popul
a
t
i
ng of the static ID3 structs
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penn
e
q
u
in
Make audio
_
read_next_
m
eta
d
ata a
bit safer
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Mi
n
o
r
corre
c
tion of a co
m
ment
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequin
U
s
e
id
3
_hi
d
rat
h
er than
taginfo_ready to k
n
ow
i
f
ID3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Requ
e
st buff
e
ring of the curre
n
t t
r
ack if it is
to
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equ
i
n
Add some
sy
n
chronisation to prevent som
e
de
a
dlock
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ola
s
P
ennequ
i
n
Make
b
a
s
i
c seeking actually work
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Add clo
s
e_track_handles an
d
re
e
nable audio
_
cl
e
ar
_
track_e
n
tri
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Rel
e
ase data for the
fi
n
ished tr
a
ck o
n
track change
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pe
n
neq
u
in
Store filesize on loa
d
.
This makes basic seekin
g
w
o
rk
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penne
q
uin
Sta
r
t u
s
ing "filling
"
corr
e
c
t
ly to make mor
e
tracks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nne
q
uin
Remove
t
he test plugin
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s P
e
nnequ
i
n
Increme
n
t track_widx afte
r
loading a tr
a
c
k
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
ennequin
Cosme
t
ics and ge
t
ri
d
of warnings
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pe
n
ne
q
uin
ID
3
handling imp
r
ov
e
ments
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pen
n
e
q
uin
Trigger a CP
U
boost be
f
o
r
e reading from disk
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
Pennequi
n
Deb
u
g
output tw
e
akin
g
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penne
q
uin
A bunch of improv
e
ments that ma
k
e playback
o
f the f
i
r
s
t
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
A
dd a get
_
offset API call to make codec_advance
_
b
u
ffer_loc_c
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
e
nneq
u
in
A
couple more t
w
e
a
k
s
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Fix a stupid bu
g
t
h
at prevented the
b
uf
f
e
r
ing
s
y
s
tem
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequ
i
n
B
r
utally make
p
l
ayback
.
c compile by di
s
abling lot
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
P
enneq
u
in
More tw
e
aking
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Disable codec_pc
m
buf
_
position_cal
l
back
for now
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequi
n
More t
w
eaks
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
P
e
n
nequin
Twe
a
k
codec_ad
v
ance_buffer
_
callback()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add the buf
u
sed() AP
I
c
all t
o
replace the F
I
L
EBUFUSED
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequi
n
Fix the
e
rror a
n
d warning in buffering
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Adapt audio_loadcod
e
c
() and
a
dd a special
behaviour
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penneq
u
in
A bit of adapting
.
commit
|
commitdiff
|
tree
next