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
No bufclosing of handles after track change
2007-10-25
Nicolas Pen
n
equin
No bufclos
i
ng of h
a
ndles
af
t
er trac
k
c
h
ange
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
i
n
Add
a bit
m
o
r
e debug i
n
fo
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
R
e
i
n
troduc
e
codec_advanc
e
_buffe
r
_c
o
un
t
ers(
)
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Don't attempt to
b
uffer tracks if there are no more
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
H
i
de the bu
f
fe
r
ing thread a
n
d queue in
s
i
de bu
f
fering
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Rever
t
"R
e
plac
e
y
i
e
ld
_
codec() with a call
t
o
q
u
eue_
w
ait_
w
_tm
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pe
n
nequin
Same as the previous
commit
but
wi
t
h a diff
e
rent callback
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequi
n
Check th
a
t metad
a
ta is pr
e
se
n
t
before ca
l
l
ing back
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pe
n
nequin
10 ticks is way too
lo
n
g
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
f
i
lebu
f
_is_lowdata isn't needed anymor
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Replac
e
y
i
e
ld_codec() with a call
t
o
queue_wait_w_tmo()
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penne
q
uin
Reb
u
ffer
after playl
i
st changes
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Enable and correct a
u
dio_i
n
validate_trac
k
s
to ma
k
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
L
i
ne
l
eng
t
hs
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequi
n
O
nly attempt
t
o
fi
l
l the buf
f
e
r if
i
t needs to be filled
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Free the buffer more ofte
n
wh
e
n t
h
e
re is less data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Impro
v
ed
b
uffer us
e
by
filling whe
n
the d
i
s
k
is act
i
ve
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penneq
u
in
The number of tracks for which we ha
v
e
handles
is one
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Add buffered_d
a
ta()
f
or la
t
er use
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Debug
s
creen for
t
he bufferi
n
g thread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Mak
e
dir skip
p
ing work cor
r
ectly an
d
probab
l
y improve
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
Pen
n
equ
i
n
codec_advan
c
e_buff
e
r
_
c
a
ll
b
a
ck: Re
m
ove unus
e
d code
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
P
e
n
nequin
cod
e
c_see
k
_
b
uffer_callba
c
k
:
a sim
p
l
e
bufse
e
k call is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s Pennequin
Mak
e
bufadvance rely on bufseek inste
a
d of duplicating
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Correct bufs
e
ek
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Some code documenta
t
ion upda
t
e
s
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pen
n
equi
n
Rename f
r
ee_buffer() to shrink_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
a
u
di
o
_current_
t
ra
c
k
:
Don't
u
se cu
r
track
_
id3 if it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Fix w
a
rning
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penne
q
uin
Clear static structs on stop
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pen
n
equin
Im
p
rove metadata use
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penn
e
q
u
in
Point
e
r
cosmetic changes
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nn
e
q
u
i
n
Silence warnings on c
o
ldf
i
re
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
la
s
Pennequi
n
Rename getptr
to bufgetcod
e
c and make it ensure the
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
bu
f
open:
Immediately requ
e
st buffering
f
or c
e
rtain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
la
s
Pennequin
C
heck for the case when no data
is
r
e
ady and the r
e
quired
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
as Penneq
u
in
Revert "S
i
mp
l
i
fy cod
e
c_request_bu
f
fer_callback
(
)"
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
curtrack_id3 and nextt
r
ack_id3 should be static
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
A bit of
m
aintenance
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
S
implif
y
code
c
_request_buffer_callback()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Only ask once for bufferi
n
g, then wait for the
da
t
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
F
i
x bufread
i
mplementation
.
T
h
is
f
ixes
p
roble
m
s
with
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Min
o
r
cleanup
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Prop
e
r
ly c
l
e
ar track info
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pen
n
equ
i
n
reset_handle(): Fix war
n
ing
a
n
d
make it st
a
tic
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pe
n
neq
u
in
Factor ou
t
the duplicate code fro
m
b
ufadvance in rebu
f
fer_ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Impl
e
ment backwards
s
kip
p
ing
b
y
com
m
pleting audio
_
r
e
buffer()
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pe
n
nequin
Cle
a
r
w
arnings and
more cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pe
n
ne
q
uin
Cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Silence the warning f
r
om res
e
t_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
a
u
dio_stop_
p
layback():
R
elease track
h
andles BEFORE
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Seeking wasn'
t
ac
t
ully quite c
o
rre
c
t: make it
see
k
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Imple
m
ent rebuffering for seeking outs
i
d
e
of b
u
ffered
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nneq
u
in
F
i
x playback resuming
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Pr
e
vent
f
i
l
e d
e
scriptor
l
eakage o
r
overu
s
e
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
P
e
nnequin
c
odec_filebuf_callback: Setting co
p
y
_n to 0
w
a
s
a VERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
as Pennequin
Silence a
few warnings
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
bu
f
close: M
a
ke sure
the handle's fi
l
e desc
r
iptor is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
ico
l
as Pennequin
bufopen()
:
Don't immediately buf
f
er cert
a
in types
of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
q
u
in
c
o
dec_seek_
b
u
f
fer_c
a
ll
b
ack():
C
h
eck whet
h
er it's possible
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
U
ncom
m
ent a
p
a
rt of a
u
d
io
_
re
b
uffer()
to
mak
e
rebuffering
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pe
n
nequin
W
h
e
n dat
a
can
'
t wrap, start over at
the beginnin
g
of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s
Pennequin
Don't as
k
to buf
f
er
tracks rig
h
t after l
o
ading
t
h
e
m
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Add
U
SB connecti
o
n
han
d
ling to t
h
e buffering
thread
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequi
n
Fix tracks being
f
o
rgotten
about
w
hen there
was no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penn
e
quin
Improve yield_codec and use it be
t
ter to
ma
k
e audio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
bu
f
g
etdata(): fix the
a
vailable vs
.
required check
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequi
n
Fix a stupi
d
bug t
h
at caused some handles not to be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
n
neq
u
i
n
Introduce yield_co
d
ec(), similar to the original audio_yi
e
ld
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penneq
u
in
Ma
k
e the target behave the same as the sim (don't care
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Trying to make audio start p
l
aying faster
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
q
uin
Fix pla
y
back s
t
oppin
g
by cl
o
s
i
ng
a
ll t
r
ac
k
handles
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
A f
e
w
comment tweak
s
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penne
q
uin
Add a test in
audio_current_track()
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pe
n
nequin
Do
t
h
e
in
i
ti
a
l
popu
l
ating
of the s
t
atic ID3 str
u
cts
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pe
n
neq
u
in
Make audio
_
rea
d
_ne
x
t_metadata a
bit
saf
e
r
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Minor cor
r
ection of
a
comment
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
n
equin
Use id3_hid
r
ather than taginfo_rea
d
y
to know i
f
ID3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Requ
e
st
buffer
i
ng of the
c
u
rrent track if i
t
is to
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icol
a
s Pe
n
nequin
Ad
d
s
ome synchronisation
t
o prevent
s
ome deadlocks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
M
ake ba
s
ic seeking actua
l
ly work
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Add close_track_h
a
ndles
a
nd reenab
l
e audio_clear_trac
k
_e
n
t
r
i
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequ
i
n
Re
l
eas
e
data
f
or the
f
inish
e
d track on track change
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
as
Pen
n
equin
Sto
r
e fi
l
esize on
load
.
Th
i
s makes basic seeking work
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ola
s
Pen
n
equin
S
tart using "filling" correctly to
make more trac
k
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
col
a
s Penne
q
uin
Remove the
test plugin
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
In
c
remen
t
tra
c
k_w
i
dx after l
o
ading a track
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
P
e
nnequin
Cosmetics and get rid of warni
n
gs
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
ID3
handling improvements
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Trigger a CPU bo
o
st
be
f
ore reading from disk
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Debug ou
t
put twe
a
ki
n
g
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
A bu
n
ch of im
p
rovements that m
a
ke playback of the f
i
rst
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Add a get_offset
AP
I
call to m
a
k
e cod
e
c_adva
n
ce_bu
f
f
e
r
_loc_c
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequi
n
A couple more
t
w
e
aks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
nnequin
Fix
a
stupid bug that preven
t
ed th
e
b
uff
e
ri
n
g
system
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Brut
a
lly mak
e
playback
.
c compile by disablin
g
lots
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequi
n
More
t
wea
k
in
g
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Disable co
d
ec
_
pcmbu
f
_positio
n
_callback
for
n
ow
.
commit
|
commitdiff
|
tree