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
Remove some disabled code from playback.c
2007-10-25
Nicola
s
Pennequin
Remove some disabled
co
d
e from playback
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
I
nvalidate handle
c
ache on handle remov
a
l
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penne
q
uin
C
hange audio
_
release_tra
c
k
s() so
t
hat it
ensures closing
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Better logi
c
in the bu
f
fering thread loop
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
ennequin
Turn bufclose int
o
a qu
e
ue event sender to ensure
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Protect the lin
k
ed l
i
st w
i
t
h a mute
x
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
ola
s
P
e
n
nequin
So
m
e c
l
e
anu
p
/s
i
mplificatio
n
and
a
n a
d
d
e
d
comment
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Move the call to ata_s
l
eep()
in fill_b
u
ffe
r
()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
n
e
q
uin
No bufclosing of handles
a
fter track
c
hange
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Add a bit more debu
g
info
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Reintroduce codec_
a
dvance_buffer_co
u
nters()
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pe
n
nequin
Don't attempt t
o
buffer tracks if there are no
m
o
r
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
H
i
de the buffering thread and queue i
n
sid
e
buffering
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Revert "Rep
l
a
ce yi
e
ld
_
codec() with a call to
queue_wait_w_tm
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pe
n
n
eq
u
in
Same as t
h
e pre
v
ious co
m
mit but with a di
f
ferent call
b
ack
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
l
a
s Pennequin
Check
t
hat metadat
a
i
s
present before
c
alli
n
g back
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
10 ticks is w
a
y too long
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
fi
l
ebuf_is_lowdata isn't needed
a
n
ymore
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
R
e
place yield_codec
(
) with a call to queue_w
a
it_w
_
tmo()
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
Penneq
u
in
Rebu
f
fer
after playlist cha
n
ge
s
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequi
n
Enab
l
e
and correct au
d
io_in
v
a
lidate_trac
k
s
to m
a
k
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
Pen
n
e
q
ui
n
Line len
g
ths
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
O
nly a
t
t
e
mpt to fill
the
buffer
i
f
i
t
needs to be fi
l
le
d
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pen
n
equin
Free the
b
uffer more
o
ften when there is less
data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
P
e
nnequin
Improved
buff
e
r use b
y
fil
l
i
n
g when the di
s
k is
a
ctive
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
neq
u
i
n
Th
e
numb
e
r of
tr
a
ck
s
for which
w
e have handles is one
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Add buffere
d
_
data()
for later
u
se
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Deb
u
g s
c
reen for the buf
f
ering
t
hread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make
d
ir ski
p
ping work correctly and probab
l
y i
m
p
rove
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
Pennequin
codec
_
ad
v
ance_buffe
r
_callback: Remo
v
e u
n
used cod
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nne
q
uin
codec_seek_buf
f
er_callback: a
simple bufseek call
is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
Pennequin
Make bufadvance rely
o
n bufseek instead of
duplicating
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Cor
r
e
c
t
b
u
fseek
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
S
o
me c
o
de documentation updates
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Renam
e
free_buf
f
er()
t
o shrin
k
_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
la
s
P
ennequin
a
u
d
io_curre
n
t_track
:
Do
n
't use curtrack_id3 if it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nne
q
u
i
n
Fix warning
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Clear s
t
ati
c
structs
o
n
stop
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pe
n
n
equin
Impro
v
e metadata use
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Poin
t
er co
s
metic changes
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
ne
q
uin
Silence warnings on coldfire
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Rename getp
t
r to bufge
t
cod
e
c
a
nd make it ensure
t
h
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
bufope
n
: Im
m
ediate
l
y request
b
ufferi
n
g for
certain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Check f
o
r
t
h
e case when no data is r
e
ady and t
h
e requ
i
r
ed
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Revert "Simplif
y
codec_request
_
buffer_
c
a
llb
a
ck()"
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
cur
t
rack
_
id3 and nexttrack_id3 sho
u
ld be s
t
a
ti
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
A bit of main
t
enance
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
S
i
mplify codec_request_buff
e
r
_
c
allbac
k
()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
O
nl
y
ask onc
e
for buffering, then
wait for th
e
data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix bufread implementation
.
T
h
is fixes problem
s
with
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
M
i
no
r
cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penneq
u
in
Prop
e
rly
c
l
ea
r
track info
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequi
n
reset_ha
n
dl
e
(): Fix war
n
ing and make it
s
tatic
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
n
nequ
i
n
Factor out
the d
u
pl
i
cate code
f
rom bufadvance in
re
b
uffer_
h
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Implement backwards skipp
i
ng by
c
ommpleting audio_rebuffer()
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Clear
warni
n
g
s and more cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Clean
u
p
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Silence the warning fro
m
res
e
t_ha
n
dl
e
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penn
e
q
u
in
audio_sto
p
_playback
(
)
: Rel
e
ase tra
c
k
h
and
l
es BEFOR
E
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pe
n
nequin
Seeking wasn't actully
q
uite corr
e
c
t
: make it
s
e
e
k
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequ
i
n
I
m
pl
e
ment rebuffe
r
ing for
seeking
outside of buffered
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penn
e
qu
i
n
Fix playback resuming
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Prevent file descriptor leakage or overuse
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
codec_filebuf_callback: Set
t
ing
c
opy
_
n
t
o 0
w
as a VE
R
Y
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Silence a
f
ew
warni
n
gs
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
bufclose: Make sur
e
the handle's fil
e
descriptor is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
e
quin
bufopen(): Don't immedia
t
ely buffer certain types of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
codec_se
e
k_buff
e
r_callback(): Ch
e
ck whe
t
h
e
r
i
t's
p
ossible
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Uncommen
t
a part
of audi
o
_rebuf
f
e
r()
to
make reb
u
fferi
n
g
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pe
n
nequ
i
n
When data can't wrap, sta
r
t over
at
the begi
n
ning of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Don't ask to buffer tracks
r
ight
a
f
ter load
i
ng th
e
m
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Penn
e
q
u
in
Add USB connection hand
l
ing to the bufferi
n
g thread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
F
i
x trac
k
s
be
i
ng f
o
rgotten abou
t
when there wa
s
no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
as Pe
n
ne
q
u
i
n
Impr
o
ve yield_codec
a
nd us
e
it better to make
a
udio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
las Pennequin
bufgetdata(
)
: fix the available vs
.
required check
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
e
n
n
e
quin
Fix a stupid b
u
g th
a
t ca
u
sed some
h
andl
e
s not to
b
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
l
as Pennequin
Int
r
od
u
c
e
yield_c
o
dec()
,
s
i
milar
to
the
original audio_yield
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
M
ake
t
he target behave the same as
t
he sim (don't care
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Try
i
ng to ma
k
e
aud
i
o st
a
rt
p
laying
f
as
t
er
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
Pennequin
Fi
x
playback stopping by
clos
i
ng all
t
rack han
d
les
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
A few commen
t
twe
a
ks
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
Penn
e
quin
Add
a
test in audio_
c
urren
t
_track()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Do the
i
n
i
t
ial populating of th
e
static ID3 structs
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
P
e
nnequ
i
n
Make audio_
r
ead_n
e
xt_metadata a bit saf
e
r
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penne
q
uin
Min
o
r correcti
o
n of a comment
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Penneq
u
in
Us
e
i
d
3
_
hid rathe
r
than taginfo_ready to kn
o
w if ID
3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Request bufferi
n
g of
the
c
urrent
t
rack if
it is
to
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Add some synchron
i
sation
to prevent some d
e
adlocks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Ma
k
e
b
asic seeking actually work
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add
c
lose_track
_
h
and
l
es an
d
reenable
au
d
io_cl
e
ar_track_entri
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Relea
s
e da
t
a
for
t
h
e
f
i
ni
s
hed
track on tra
c
k change
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Store
f
ilesiz
e
on
l
oad
.
Th
i
s makes basic
seeking
work
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
i
n
Start
u
sing "f
i
lling
"
correctly to make more tracks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Remov
e
the test p
l
ugin
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pen
n
e
q
u
in
Increment
t
rack_widx af
t
er load
i
ng a tra
c
k
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pen
n
e
q
uin
C
osmetics
and get ri
d
of w
a
r
nings
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
ID3 hand
l
ing improvements
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Trigger a CPU boost before reading from disk
commit
|
commitdiff
|
tree
2007-10-25
N
icolas P
e
nne
q
uin
Debug output tw
e
aking
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
A bun
c
h of improv
e
m
ents tha
t
make playback of the fir
s
t
.
.
.
commit
|
commitdiff
|
tree
next