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
Invalidate handle cache on handle removal
2007-10-25
Nicolas P
e
nnequ
i
n
Invalidat
e
handle cache
o
n
handle re
m
oval
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
as Pen
n
equin
Change a
u
dio_release_tracks(
)
so that it ensures
closing
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
B
ett
e
r logic in the buffering
t
hread loop
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
las Pennequin
Turn
b
ufclose
i
nto a
q
ueue
e
vent sender to
ensure a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pen
n
equin
Pr
o
tect the linke
d
list w
i
th
a
mutex
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Some cleanup/si
m
p
l
ification and an added
comment
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
Pen
n
equin
Move the call
to ata_sl
e
ep() in f
i
ll_b
u
ffe
r
()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
No bufclosing of handles after track
chang
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add a bit more debug inf
o
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Reintroduce co
d
ec_a
d
vance_buffer_coun
t
ers()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequi
n
Don't attempt to
b
uffe
r
tr
a
cks if there
a
r
e no more
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Hide the buffering thread and
q
u
eue inside buffe
r
ing
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
Pennequin
Revert
"
Repla
c
e yie
l
d_code
c
() with a call to queue_
w
a
it_w_tm
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Same as the previous c
o
mmit but with a
differ
e
nt
c
allback
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as P
e
nnequin
Check that metadata
is present b
e
f
ore calli
n
g back
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
10
t
icks is way too lo
n
g
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequi
n
filebuf_is_lowdata isn't needed anym
o
r
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
nequi
n
Re
p
lace yield_
c
odec() wit
h
a
cal
l
to que
u
e_wait_w_tmo()
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Re
b
u
f
fe
r
af
t
er
playlist
changes
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
enn
e
quin
Enable and
correct audi
o
_
inva
l
idat
e
_tr
a
cks t
o
make
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas P
e
nnequin
Line length
s
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
as Pennequin
On
l
y attempt to fill
t
h
e buffer
if
i
t
needs to
be
fille
d
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Free t
h
e
b
u
ffer mo
r
e of
t
en
w
hen there is less data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
nnequin
Improved buffer u
s
e by filli
n
g when the d
i
sk i
s
acti
v
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
la
s
Pennequin
The n
u
mber of
t
racks
f
or whic
h
we have handle
s
is
o
n
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Add buffered_data() for later use
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
D
e
b
u
g
screen for the bufferi
n
g thread
commit
|
commitdiff
|
tree
2007-10-25
N
ico
l
as
Penneq
u
in
M
a
ke dir skip
p
ing work cor
r
ectly and probabl
y
im
p
rov
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
codec
_
advance_buffer_callbac
k
: Re
m
ove
u
nused c
o
de
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
la
s
P
e
nnequin
codec_
s
eek_buffer_callback: a
simple buf
s
eek cal
l
is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make bufadvance rely on bufseek instead
o
f
duplicating
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Corre
c
t
b
ufsee
k
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
q
u
in
Some
c
ode documentation updates
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Rename free_buffer() to
s
h
r
i
n
k_
h
a
nd
l
e()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
audio_current_track: Don't use curtrack_id
3
if it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Fix warnin
g
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
e
qu
i
n
Clear stati
c
s
tructs on
stop
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Improve metadata use
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penn
e
q
uin
Pointer
cosme
t
ic c
h
anges
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Si
l
ence warni
n
g
s
on coldfire
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
R
e
n
ame getptr to bufgetc
o
dec and make it ensure th
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
bufop
e
n
: Immediately reques
t
buff
e
r
ing
for certain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequ
i
n
Check for the
c
ase when n
o
da
t
a is rea
d
y
a
nd
t
he
required
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equ
i
n
Revert "
S
i
mplify c
o
dec
_
request_buffer_
c
al
l
b
a
ck()"
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
as
P
ennequin
curtrack_i
d
3
and
n
e
xttr
a
ck_id3 should be
static
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penne
q
u
i
n
A bit
o
f maintenance
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Simplif
y
codec_request_buf
f
er_callback()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Only ask once
for buffe
r
ing, then wait for the data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Fix bu
f
r
ead
i
m
pleme
n
tat
i
on
.
This fix
e
s
problems w
i
t
h
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pen
n
eq
u
in
Minor
cle
a
nup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
P
r
operly c
l
ear
t
rack
i
nf
o
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enne
q
uin
r
e
set_handle():
F
i
x
warnin
g
an
d
make it s
t
at
i
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Factor ou
t
the duplicate c
o
de
f
rom bufadvance in
rebuff
e
r_ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pen
n
equin
Implement backwa
r
ds
skippi
n
g b
y
c
o
mmpleting
a
udio_
r
ebuffer()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
C
lear
w
arnings and
more
c
leanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
P
e
nnequin
Silence the warning from reset_han
d
le
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
audio_stop_playback(): Release
t
rac
k
h
a
ndles BEFORE
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Seeking wasn't
a
c
tully q
u
ite correct: make it seek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
qu
i
n
Implement rebuffering for
s
eeki
n
g outside of b
u
ffered
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nneq
u
in
Fix pl
a
yback resum
i
ng
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Prevent fi
l
e descriptor leakage or o
v
er
u
se
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
codec
_
f
i
lebuf_callback: Setting cop
y
_n
to 0 was a VE
R
Y
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Penn
e
quin
Silence a few warni
n
g
s
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
P
ennequi
n
b
u
fclose: Make sure the
handle's f
i
l
e de
s
criptor
is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
b
ufopen(): Don't immediately buffer certain ty
p
e
s
of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
c
o
dec_seek_b
u
ffer_ca
l
lback(
)
: Chec
k
w
hether it's possible
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Un
c
ommen
t
a par
t
of
audio_rebuffer() t
o
make
r
ebuffe
r
ing
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
q
uin
When data can't wra
p
, start ove
r
at the beg
i
nn
i
ng of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pen
n
equin
Do
n
't ask to buf
f
er tracks right after
l
oading them
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s Pennequin
A
d
d USB c
o
n
n
ectio
n
handling t
o
the
b
u
fferin
g
thread
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
as Pennequin
Fix tracks b
e
ing fo
r
gotten ab
o
ut w
h
en ther
e
was no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
n
nequin
Im
p
r
o
v
e
yield_code
c
a
n
d
use it
b
e
t
ter
to make audio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
ola
s
Penn
e
quin
bufgetdata(): fix th
e
available vs
.
required che
c
k
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Fix a stupid bug that caused
s
om
e
handle
s
not to be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pe
n
n
e
q
u
i
n
Introduce yield_c
o
dec()
,
s
imilar
t
o
the original a
u
di
o
_yield
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
M
a
k
e the ta
r
get
behave the same as
th
e
sim (don't care
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
Pennequ
i
n
Trying to make au
d
io star
t
playing faster
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Fix playback
s
topping by closing all
t
r
ack
h
an
d
les
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
A few comment tweak
s
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penne
q
uin
Add
a
test in audio_current_track()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequ
i
n
Do the initial populating of the stati
c
ID3 structs
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
n
e
q
uin
Make
a
u
d
i
o_read_nex
t
_metadata a
b
it s
a
f
e
r
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Minor
c
orrect
i
on of a comment
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas P
e
nnequin
Use id3_hid rather
t
han
taginfo_ready to know if
I
D
3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Request buffe
r
ing
o
f
t
he cur
r
ent track if it is t
o
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
A
dd so
m
e
synchr
o
nisation
to
prevent
s
ome d
e
adlocks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequi
n
Make basic seek
i
ng actually work
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
enne
q
uin
A
dd close_track_h
a
ndles and ree
n
a
ble audio_clear
_
track
_
e
ntri
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pe
n
nequin
Release data for the finish
e
d track on trac
k
chan
g
e
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penn
e
quin
Store fi
l
es
i
z
e on load
.
This mak
e
s basic seeking work
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
S
t
art usi
n
g "f
i
l
l
ing" co
r
rectly to make more
t
racks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Remove the
test
plu
g
i
n
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Increment track
_
widx after loading
a track
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
P
enne
q
ui
n
Cosmetic
s
and get rid o
f
warn
i
ng
s
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
ID3 ha
n
dling improvem
e
nts
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
en
n
equin
Trigger a CPU boos
t
befo
r
e reading from disk
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Debug
o
u
tpu
t
t
wea
k
ing
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
as
P
ennequin
A bunch of impro
v
ements t
h
a
t
m
ake playback of
t
h
e fi
r
s
t
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
A
dd a g
e
t_offset
A
P
I call to ma
k
e codec_advance_buffer_loc_
c
.
.
.
commit
|
commitdiff
|
tree
next