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
Add the "buffering" status indicator
2007-10-25
Nicolas Pennequin
Add the "buffering"
s
ta
t
us i
n
d
i
cator
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
R
emove some disabled co
d
e fr
o
m playback
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Invalidate handle
c
ac
h
e on handl
e
r
e
mova
l
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pen
n
eq
u
in
Chang
e
audio_release_tracks() so that
i
t
ensure
s
closing
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Better logic in
the buffering threa
d
lo
o
p
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Tu
r
n bufclose into a queue event sender to ensure
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Protect the linked l
i
st
w
ith a
m
u
t
ex
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Some
cleanup/simplification and an added co
m
ment
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
M
ove the
c
all to ata_sleep(
)
in f
i
ll_buf
f
er(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
N
o
bufclosing of handles a
f
t
er track chan
g
e
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
P
ennequin
Add a bit more d
e
bug inf
o
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
R
e
introd
u
c
e codec_advance_b
u
ffer_counters
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
en
n
equin
Don't
att
e
mpt to buffer tracks if there are no more
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Hide the buffe
r
ing thread and queue in
s
i
d
e bufferin
g
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Revert "Replace
y
ield_c
o
dec() with a
ca
l
l t
o
queue_wait_w
_
tm
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penne
q
uin
Sa
m
e as th
e
previous
c
o
m
mit but with a diff
e
r
e
nt cal
l
back
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
P
e
n
nequin
Check that met
a
da
t
a is present before calling back
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas P
e
nnequ
i
n
10 t
i
cks is way too long
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
fil
e
buf_is_low
d
ata isn't n
e
ed
e
d anymore
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
R
e
place yiel
d
_
codec() wit
h
a
c
a
ll to queue
_
wa
i
t_
w
_
t
mo
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Rebuff
e
r after playli
s
t changes
commit
|
commitdiff
|
tree
2007-10-25
N
ico
l
as Pennequin
Enable
and cor
r
ect audio_inva
l
i
d
ate_
t
ra
c
ks t
o
make
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Line lengths
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
P
ennequin
On
l
y attempt to fill th
e
buffer
i
f it
needs to
b
e fille
d
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequi
n
Free the
b
u
f
fer m
o
re ofte
n
wh
e
n there is les
s
data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pennequin
Improved buffer use by filling when the disk i
s
ac
t
ive
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ola
s
Pennequin
The number of
t
racks
f
o
r
which we
have handles is one
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
Pennequin
Add buffered_data() fo
r
later use
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
Penn
e
q
u
in
D
ebug scre
e
n for the bu
f
fering
t
hread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
n
equin
Make d
i
r skipping wo
r
k
c
orrectly
a
n
d
probably im
p
rove
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas P
e
nnequin
code
c
_advance_buff
e
r_callback: Remove unused code
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
ui
n
codec_see
k
_bu
f
f
er_c
a
l
lback: a
simple bufse
e
k call is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas P
e
nnequin
Make bufadvance rely o
n
bufs
e
ek instead of dup
l
i
cat
i
ng
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Correct b
u
fseek
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penn
e
q
uin
S
ome
c
od
e
documen
t
ati
o
n updates
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Rename free_buffer() to shrink
_
handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
aud
i
o_
c
ur
r
ent_track: D
o
n
'
t use c
u
r
t
r
a
ck_id3 if
it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penn
e
q
u
in
Fix
w
arning
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
C
lear static stru
c
t
s on stop
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penneq
u
in
Im
p
rov
e
m
etadata use
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Penn
e
quin
Poin
t
er co
s
m
etic c
h
an
g
es
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
las Pennequ
i
n
Sil
e
nc
e
war
n
ings
on coldfire
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pe
n
nequin
Re
n
ame get
p
tr
to bufgetco
d
ec and mak
e
i
t ensure the
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
Pennequi
n
bufopen:
Immediat
e
ly
r
eque
s
t buffer
i
n
g
f
o
r
c
ertain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Chec
k
f
or the
case wh
e
n no data is re
a
dy an
d
the req
u
ired
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Revert "S
i
mplify c
o
de
c
_r
e
quest_
b
uffer
_
c
a
llback()"
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
nn
e
quin
curtrack_id3 and nexttrack_id3 should be st
a
ti
c
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas P
e
nnequin
A bit of mai
n
tenance
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
ennequin
Simpli
f
y codec_
r
eq
u
es
t
_buffer
_
call
b
a
ck()
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penn
e
quin
Only ask once for bu
f
fering, th
e
n wait
f
or the d
a
ta
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penn
e
quin
Fix bufread
i
m
p
l
ementation
.
Thi
s
f
ixes probl
e
ms wi
t
h
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
as Pennequin
M
in
o
r c
l
ean
u
p
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
P
roperly clear
track
i
nfo
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nne
q
uin
reset_handle(): Fi
x
w
a
rni
n
g and make it sta
t
ic
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
u
i
n
Factor ou
t
the
d
uplicate code from bufa
d
van
c
e in
rebuffe
r
_ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
e
q
u
in
Imple
m
e
n
t backwards skipping by commple
t
ing audio_re
b
uff
e
r
()
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pe
n
nequin
Clear
w
arnings and more cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
C
le
a
nup
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Silen
c
e the warn
i
ng from reset_ha
n
dle()
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
au
d
io_stop_pl
a
yback():
Release track handles B
E
FORE
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequi
n
S
eeking
wasn't
a
ctully quite
correct
:
mak
e
i
t seek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Implement rebu
f
fe
r
ing for seeking outsid
e
of bu
f
f
ered
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Fi
x
playback resumin
g
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequ
i
n
P
r
eve
n
t
file descrip
t
or leakag
e
or ove
r
use
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
codec_file
b
uf_c
a
llback: Setting copy_n to
0
w
a
s a
V
E
R
Y
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Sil
e
nce a
f
ew warnings
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
n
equin
b
ufclo
s
e: Ma
k
e sure th
e
handle's file descrip
t
or is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
las Pennequin
bufopen(): Don't immediately buff
e
r cer
t
ain ty
p
e
s
of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penne
q
ui
n
c
o
d
ec_seek_
b
uffer_
c
allback(): Check
whe
t
her it's possible
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penne
q
uin
Un
c
omment
a p
a
rt
o
f
audio
_
rebuffer()
t
o
m
a
ke rebuffe
r
i
n
g
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Whe
n
d
a
ta can't w
r
ap, sta
r
t over at the begin
n
ing of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Don't ask to buffe
r
tracks righ
t
afte
r
loading them
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Ad
d
US
B
c
onne
c
tion handl
i
ng to the
b
u
ff
e
ring
t
hread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Fix tracks being forg
o
tten about when there
was no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
qu
i
n
Imp
r
ove yield_codec
a
nd use it bett
e
r to make
audi
o
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
bufgetdata(): fix
t
he avai
l
able vs
.
required check
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequ
i
n
Fix a st
u
pid
b
u
g
that cause
d
so
m
e h
a
n
dles
n
ot
t
o be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
I
ntroduce yield_c
o
d
ec(), similar to
t
he original audio_yield
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Make the target behave the same as the sim (don
'
t care
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Trying to make audio start p
l
ayin
g
f
aster
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
P
ennequin
Fix
p
layback stopping by closin
g
all track handles
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
Pennequ
i
n
A few commen
t
tweaks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Ad
d
a test in audio
_
current_track()
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Do t
h
e initial populatin
g
of the static I
D
3
s
t
ructs
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Penne
q
uin
Make aud
i
o_read_
n
ext
_
metadata a bit s
a
fer
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s Pennequi
n
Minor c
o
rrection of
a
comment
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
U
s
e id3_
h
i
d rat
h
er
tha
n
taginfo_ready to know if ID3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
nnequin
Request bu
f
fering of the current t
r
ack if
i
t is to
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add some synchr
o
n
i
sation to p
r
ev
e
nt some deadlocks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make basi
c
seeki
n
g actually
w
o
r
k
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
as Pen
n
equ
i
n
Ad
d
clos
e
_
track_handles an
d
ree
n
able audio
_
clear_track
_
entri
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
la
s
Pe
n
n
eq
u
in
Release
data for the finished trac
k
o
n
tra
c
k change
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
n
neq
u
in
Stor
e
f
i
l
e
s
i
ze on load
.
Th
i
s make
s
basi
c
seeking wo
r
k
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
en
n
equin
S
t
a
r
t using "filling" c
o
rrect
l
y to mak
e
more track
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equ
i
n
R
emo
v
e the t
e
st plu
g
in
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
P
ennequin
Increment
t
rack_
w
idx
after loadi
n
g a tra
c
k
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
C
o
smetics and get rid of warn
i
ngs
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
l
a
s Pennequin
I
D3 handling im
p
rovemen
t
s
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penneq
u
in
Trigger a CP
U
boost
before r
e
ad
i
n
g
from
disk
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Debug output tw
e
aking
commit
|
commitdiff
|
tree
next