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
Replace yield_codec() with a call to queue_wait_w_tmo()
2007-10-25
N
icolas Pennequin
Repla
c
e yield_codec() wit
h
a
call to q
u
eue_w
a
it_w_tmo()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
R
e
buffer aft
e
r pl
a
ylist changes
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
E
n
able a
n
d co
r
rect
a
ud
i
o_inva
l
idate_tracks to make
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Line lengths
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
ennequin
Only attempt to fill th
e
buffer
if
it needs to
be filled
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequin
Free the buffer more often when there
i
s less
d
ata
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
en
n
equin
Improv
e
d buffer use by fi
l
ling when th
e
d
i
sk is
a
ctiv
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
The num
b
er of tracks for which we
have handles is
o
ne
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequi
n
A
dd buff
e
red_dat
a
() for
l
ate
r
use
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Debug
screen for the buffering threa
d
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Make dir skipp
i
ng work correctl
y
and probably
i
m
p
rove
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
codec_advanc
e
_bu
f
fer_callback: Re
m
ove
u
n
u
s
e
d
c
ode
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penneq
u
in
cod
e
c
_
s
eek_
b
uffer_callba
c
k: a simple bufseek call is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Make bufadvance rely on bufs
e
ek instead of dupli
c
ating
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
C
o
rrect bufsee
k
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
S
o
me code documentation updates
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
P
e
n
nequin
R
enam
e
fr
e
e_buff
e
r()
t
o shr
i
nk_ha
n
dle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
audio_current
_
track:
Do
n
't
use curtrac
k
_id3 i
f
it'
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix wa
r
ning
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Clear st
a
ti
c
st
r
ucts on stop
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Improve me
t
adata use
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Pointer cosmetic ch
a
n
g
e
s
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pe
n
nequin
Silence wa
r
n
i
ngs on
coldfir
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Re
n
ame getp
t
r t
o
bufg
e
tcodec and mak
e
it ensure the
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
bufopen: Immediately request bufferin
g
for certain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Ch
e
ck for the case w
h
en no
data is ready and the require
d
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penneq
u
in
Revert "
S
implify
c
o
d
ec_request_b
u
ff
e
r_callback()"
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
ui
n
curtrack_id3
a
n
d
n
exttrack_id3 should be static
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pe
n
neq
u
in
A bit of mai
n
tenance
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Simplif
y
cod
e
c_requ
e
s
t
_buf
f
er_callb
a
ck()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Only ask onc
e
for buf
f
ering, then
wait for the da
t
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Fix bufread implemen
t
a
tion
.
This
f
ixes problems with
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Minor clea
n
up
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
Pen
n
equi
n
Properly
clear tr
a
ck info
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Penne
q
uin
re
s
et
_
hand
l
e(): Fix wa
r
n
ing and ma
k
e it stat
i
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Factor out the duplicate
cod
e
f
r
om bufadvance
i
n r
e
buffer_h
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Imple
m
ent
b
ackwa
r
ds s
k
i
p
ping b
y
com
m
p
l
eting audio
_
rebuff
e
r
()
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
P
en
n
e
q
uin
Cle
a
r warnings and
more
cleanu
p
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
Pennequ
i
n
Cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequ
i
n
Silence
the warning from rese
t
_ha
n
d
le()
commit
|
commitdiff
|
tree
2007-10-25
N
icolas P
e
nnequin
a
u
d
i
o
_
s
top_pla
y
back
(
): Release track handl
e
s
BEFOR
E
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
See
k
ing wasn't
actully
quite correc
t
: make it seek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Imple
m
ent reb
u
f
f
e
r
ing for seeking ou
t
s
ide of buff
e
red
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nneq
u
in
Fix playback re
s
u
m
ing
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Preven
t
file
d
escrip
t
or le
a
kage or over
u
se
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
c
o
dec_filebuf_ca
l
lback
:
S
e
tting
copy_n to
0
was a
VERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pe
n
nequin
Sil
e
nce a few warni
n
gs
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
bufcl
o
se:
Make s
u
re the hand
l
e
'
s file de
s
c
r
iptor is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
bufopen(): Don't immediately
b
u
f
fer certain types of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
n
nequin
co
d
ec_seek_buffer_callback(
)
:
Check whet
h
er it's
p
ossible
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pe
n
nequin
Unc
o
mm
e
nt a part
o
f
a
udi
o
_rebuffer() to mak
e
rebufferin
g
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pe
n
nequin
Wh
e
n data
c
a
n't wrap, start over at the beginni
n
g of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas P
e
nnequin
Don't ask to buffer tr
a
cks right after loading
them
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
Pennequin
Add USB
c
onnection handling to
the buf
f
e
r
ing
t
hre
a
d
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequin
Fix tracks being forgotten abou
t
w
h
en t
h
ere was no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
I
mpr
o
ve
yield_codec and us
e
it better to make audio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
bu
f
getdata(
)
: fix the available v
s
.
requi
r
ed check
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Fix a stupid
bug th
a
t
caus
e
d
som
e
han
d
les not
t
o be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Introduc
e
yield_code
c
(),
s
im
i
lar to the or
i
gin
a
l
audio_yield
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pen
n
e
quin
Make the
t
a
r
get be
h
ave the
s
ame as the sim (
d
o
n
't
c
a
re
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Trying to
make audio start pl
a
ying
f
a
ster
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Fix playbac
k
stop
p
ing
by
c
los
i
ng all
track hand
l
es
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
A
few
comment tweak
s
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pen
n
equin
Add a te
s
t
in au
d
io_
c
urrent_tr
a
c
k()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Do the
i
n
i
tial populatin
g
of the static ID3
s
truc
t
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make
a
u
d
io_read_next_metad
a
ta a
bit safer
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Minor cor
r
ection of a
c
omment
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Use i
d
3_hid
r
a
ther than taginfo_re
a
dy to know if ID3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
R
e
quest buffer
i
ng of the
c
urrent trac
k
if it is to
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s P
e
nne
q
uin
Add some s
y
nchronisation to pr
e
vent
some deadlocks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
M
ake
basic se
e
king actua
l
ly work
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequ
i
n
Add
clos
e
_track_handles a
n
d reenable
audio_clear_trac
k
_entri
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
Pennequin
Release data for the f
i
ni
s
hed track on tra
c
k ch
a
nge
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Store filesiz
e
on load
.
This mak
e
s
b
a
sic seeking work
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
n
e
quin
Start
u
sing "
f
illing"
c
orre
c
tly to make mor
e
tracks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequ
i
n
Rem
o
ve the
test plug
i
n
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
e
nnequin
Increment track_widx after loading
a t
r
ack
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penneq
u
in
Cosmetics and g
e
t rid of warnings
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
ID3 handling impro
v
em
e
nts
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Trigger a
C
PU boost before read
i
ng from disk
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Debu
g
o
u
tput tweaking
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pe
n
n
equin
A bunch of impro
v
ements tha
t
m
a
k
e
p
l
ayback
of t
h
e first
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
A
dd a get_offset API call to make codec_ad
v
ance_buffer
_
loc_c
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
A
c
oupl
e
m
o
re tweaks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix a stupid bug that
pre
v
ented the buffering system
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
P
ennequin
B
r
utally make playback
.
c compile b
y
d
isabling lot
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Mor
e
t
weaking
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Disable codec_pcmbuf_position_callback f
o
r now
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
P
ennequin
More tweaks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
T
weak
c
odec_advance_buffer_call
b
a
ck()
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pen
n
equin
Add
the bufus
e
d
(
) API call to replace
the FILEBUFUSED
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix the er
r
or and warning in
b
uf
f
e
ri
n
g
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
Pe
n
nequin
Adap
t
a
u
dio_
l
o
a
d
co
d
ec() and add a sp
e
cial behaviour
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penne
q
uin
A bi
t
of
adapti
n
g
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enne
q
u
i
n
CUR_TI->id3
i
s now cu
r
tra
c
k_id3
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Ch
a
nge struct track_info, add buf
g
e
t
i
d3 to
p
l
ayback
.
c
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
Pennequin
A
d
d buf
f
ering_in
i
t() and rename
G
UARD_SIZE
to
GUA
R
D_B
U
FSIZ
E
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equ
i
n
p
l
a
yback
.
c:
A
dd the buffering thread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Initial Metadat
a
-On-Buffer files
commit
.
commit
|
commitdiff
|
tree
2007-10-25
learma
n
Factor out some co
m
mon
code, for simplicity (I h
o
pe
.
.
.
commit
|
commitdiff
|
tree
next