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
Nicola
s
Pennequ
i
n
Add the "bufferin
g
" s
t
at
u
s indicator
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
a
s
Penn
e
quin
Remove some disa
b
led code from playbac
k
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enn
e
quin
Invalidate ha
n
d
l
e
cache on handle r
e
moval
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequ
i
n
Cha
n
ge audio_
r
elease
_
t
ra
c
ks() so that i
t
ens
u
res
c
los
i
ng
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
B
ette
r
logic
i
n
the buffer
i
ng th
r
ead loop
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pe
n
nequin
Turn
bufclos
e
into a queue event send
e
r to en
s
u
r
e a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Protect the linked
l
ist with
a
m
ut
e
x
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
as P
e
nnequin
Some cleanup/sim
p
l
i
fi
c
ation and an added comment
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penneq
u
in
Move the call
t
o ata_slee
p
()
in fill_buffer()
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequ
i
n
No bufclosing
of ha
n
dles a
f
ter
t
r
ack change
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Add a bit more debug info
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
P
en
n
equin
R
e
introduce c
o
dec_
a
dvance_buffer_counters()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
u
i
n
Don
'
t at
t
empt t
o
buffer tracks i
f
there are
no more
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequ
i
n
Hide th
e
b
uffer
i
ng thread and qu
e
ue inside buffering
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Rever
t
"Replace
yi
e
ld_codec() with a c
a
ll t
o
queue_wait_w_tm
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pennequin
Same as
th
e
p
r
evious comm
i
t b
u
t with a dif
f
erent callbac
k
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
n
equin
Check
that metadata is present before calling back
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
10 ticks i
s
way too
l
ong
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
filebuf_is_
l
owdata i
s
n't n
e
e
d
ed
anymore
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
Pennequin
Replac
e
yield_co
d
ec
(
) wit
h
a call to
queue_wait_w_tm
o
()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Rebuf
f
e
r a
f
t
e
r playlist changes
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penne
q
u
i
n
En
a
bl
e
and correct audio_
i
nva
l
idate_tr
a
c
ks to make
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pen
n
eq
u
i
n
Line leng
t
hs
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Penn
e
quin
Onl
y
attempt t
o
fill the bu
f
fer if it n
e
eds to be f
i
lled
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Free t
h
e buffer more often when t
h
ere
i
s less data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Improved
buffer use b
y
fill
i
ng when the dis
k
is activ
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequin
The numbe
r
of tracks fo
r
whi
c
h we hav
e
h
a
ndles
is o
n
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penne
q
u
i
n
Ad
d
buffered_data() for later us
e
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
as Pennequin
Debug
scre
e
n
f
or the buffering
thre
a
d
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Mak
e
dir s
k
i
pping work correctly
and
probably improve
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penne
q
uin
code
c
_advance_buffer_cal
l
back: R
e
mo
v
e unused
c
o
de
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ola
s
Pen
n
e
quin
code
c
_seek_buffer_
c
all
b
ack: a
simple bufseek call is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penn
e
quin
M
ake bu
f
a
dva
n
ce rely
o
n bufseek instead of d
u
plicatin
g
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
n
e
quin
Corre
c
t bufseek
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
P
enne
q
u
i
n
S
o
me code documentation update
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Rename free_buffer(
)
to shri
n
k_handle
(
)
commit
|
commitdiff
|
tree
2007-10-25
N
i
cola
s
P
e
nnequin
audio_
c
urrent_track: Don
'
t us
e
curt
r
a
c
k_id3
if
i
t's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
P
e
n
n
e
qu
i
n
Fix wa
r
ning
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
Penneq
u
i
n
C
lear sta
t
ic s
t
ru
c
ts on stop
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Improve metadata use
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Poin
t
e
r co
s
metic change
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
qui
n
Silenc
e
warnings on coldfire
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Penneq
u
i
n
R
e
name ge
t
ptr to bufgetcodec
a
nd m
a
ke it ensure
t
h
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pen
n
equin
bufopen: Immediatel
y
request buffering for ce
r
tain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Check fo
r
the case
w
he
n
no data
i
s ready and the required
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
P
ennequ
i
n
Revert
"Simplify codec_request
_
buffer_callback()"
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
curtrac
k
_id3 and nexttrack
_
id3 should be
static
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
A bit of mainte
n
ance
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Simplif
y
codec_request_buff
e
r_ca
l
lback()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Only ask once fo
r
buf
f
er
i
n
g
,
then wait for the d
a
ta
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Fix
b
ufread implementation
.
This fixes p
r
oble
m
s wi
t
h
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Mi
n
or
cleanu
p
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
P
e
nnequin
Properly cl
e
ar
track in
f
o
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
n
nequin
re
s
et_handle(): Fix warning and make
it stati
c
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas
Penn
e
quin
F
actor ou
t
the duplica
t
e co
d
e from bufadvance in rebuffer_ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
Pe
n
nequin
I
m
plement backwards
s
kipping b
y
commpleting
a
udio_rebuffer
(
)
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Clear warnings and mor
e
cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
n
e
quin
Clean
u
p
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enn
e
quin
Sil
e
nce the warni
n
g
f
rom reset_handle
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
a
u
dio
_
stop_playback(): Releas
e
track handles BEFOR
E
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penneq
u
i
n
Seeking
w
asn't actu
l
ly quite correct: make
i
t
s
eek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Im
p
l
e
m
ent
rebuff
e
ring for
seeking
o
utside of
buffered
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
enne
q
uin
F
i
x playback resuming
commit
|
commitdiff
|
tree
2007-10-25
N
i
col
a
s Penneq
u
in
P
r
even
t
file descri
p
tor leakage
or overuse
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penn
e
qui
n
codec
_
filebuf_cal
l
back: Sett
i
ng copy_n
to 0 wa
s
a
VERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
S
ilence a few warnings
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
u
i
n
buf
c
lose:
M
a
k
e
sure
t
he h
a
ndle's fi
l
e desc
r
i
p
tor
is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
bufopen(): Don
'
t immediatel
y
buffer certa
i
n type
s
of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
codec_seek_buffer
_
c
a
l
lback(): Check w
h
ether
i
t's possible
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
Penne
q
ui
n
Un
c
omme
n
t a part of audio_rebuffer() to make rebuffe
r
in
g
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
When data can't wrap, start over at the
begi
n
n
i
ng of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Do
n
't ask to buffer
tracks right after loadin
g
them
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penneq
u
in
Add
U
SB connec
t
ion handli
n
g to the buffe
r
ing thread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equ
i
n
Fix tra
c
ks being forgotte
n
about w
h
e
n th
e
re was no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
I
m
prove yie
l
d_
c
odec and use i
t
bet
t
er
t
o make audio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
bufgetdata(): fix the a
v
ail
a
ble
v
s
.
requ
i
red
c
h
eck
.
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
Pennequin
Fix a
stupid bu
g
that caused
some handles not to
be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s Pennequin
In
t
roduce yi
e
l
d
_
c
odec(), similar to the
o
riginal audio_yield
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penn
e
quin
Mak
e
th
e
target behav
e
the
same as the sim (
d
on't c
a
r
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nne
q
u
i
n
Trying to make
a
udio start
p
lay
i
ng
f
aster
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penne
q
uin
Fix
play
b
a
c
k stopping by closing all tra
c
k
h
an
d
les
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
A fe
w
comment tweaks
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
e
nnequin
Add a
t
est in audio_current_track()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
D
o
the initial populating of
t
he static ID3 structs
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pe
n
nequin
Mak
e
audio_read_next_metada
t
a a bit safer
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Minor correction o
f
a comment
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Use
i
d
3_hid
rather than taginfo_ready to know if
ID3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pe
n
nequin
Requ
e
st buffering
of the current track if it
is to
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Add s
o
m
e
s
y
nchronisati
o
n to prev
e
nt some dea
d
lock
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Make basic seeking actua
l
ly
w
ork
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Add
c
lose_track_hand
l
es and reenable
a
udio_clear
_
track
_
entri
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s Pe
n
nequin
Rele
a
se data for the finished
t
rack o
n
tra
c
k cha
n
ge
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Store f
i
lesize
on load
.
This makes
b
asic seeking work
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
nnequin
Start
u
s
ing "f
i
llin
g
" c
o
rrec
t
ly to make more tracks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Remove
th
e
test plugin
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Inc
r
ement track_widx after loadi
n
g a tra
c
k
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
e
nne
q
uin
Cosmetics and get rid o
f
w
a
rni
n
gs
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
ID3
h
andling im
p
r
o
ve
m
en
t
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
nn
e
qu
i
n
T
rigger a CP
U
bo
o
st before reading fro
m
disk
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
Penne
q
uin
D
e
bug output tweaki
n
g
commit
|
commitdiff
|
tree
next