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
audio_fill_file_buffer() cleaning and tweaking
2007-10-25
Nicola
s
Pennequin
audio_fi
l
l
_
file_buf
f
er()
c
leanin
g
and twe
a
k
i
ng
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fo
r
got thi
s
one :(
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penn
e
quin
bool filling
i
sn't n
e
cessa
r
y
anymor
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pe
n
nequin
Fix the wps_
o
ffs
e
t business for good
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequi
n
Cle
a
nup playba
c
k
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Use the ca
l
lbacks in
t
h
e
audio
t
hread
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Add callback
s
to notify use
r
s
o
f
t
he buffering API
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Remove the
"buffering" bool
i
ndica
t
or
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pe
n
nequi
n
Mak
e
the playlist
p
osition be upd
a
te
d
on th
e
P
CM
t
rack
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pe
n
n
equin
S
olve t
h
e
pr
o
gres
s
bar not being updat
e
d in the last
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
Pen
n
equ
i
n
Cl
o
s
e
par
t
ially buffered
h
andles when changing tracks
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequ
i
n
Make the
audio thr
e
ad wa
i
t
w
i
th
a
timeout
even when
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
Pennequin
Mi
n
or tw
e
ak
to th
e
a
udio th
r
ead buffer fil
l
i
ng
l
ogic
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Increase M
A
X
T
H
READS
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add the "bufferin
g
" sta
t
us indicator
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
n
equin
Remo
v
e some disa
b
led code fro
m
playback
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Invalida
t
e handle cache on
handle
remo
v
al
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
l
as Pe
n
nequin
Change audio_releas
e
_
t
racks(
)
so that it
ensures closing
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
q
uin
Better logic in th
e
buffering thread loop
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Tu
r
n b
u
fclose into
a
queue event sender to
ens
u
re a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penn
e
q
u
in
P
r
otect
the linked l
i
s
t
with a mutex
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Some cl
e
anup/simplification
and an added com
m
ent
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Move the cal
l
to
ata_sleep() in fill_buffer()
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penne
q
uin
N
o
b
ufclos
i
ng of
h
andles aft
e
r
tr
a
ck ch
a
nge
commit
|
commitdiff
|
tree
2007-10-25
N
i
cola
s
Pennequin
A
dd a bit more
d
ebug info
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Reintroduce
c
o
d
ec_advance_b
u
ffer_counter
s
()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enneq
u
i
n
Do
n
't attempt
t
o buffer tracks if
t
here are
n
o more
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Hide the buffering
thr
e
ad and queue
in
s
ide buff
e
ring
.
c
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequi
n
Re
v
ert "Replace
yield
_
c
o
dec() with
a ca
l
l to queue_wait_w_tm
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Same as the previous commit
but wit
h
a different ca
l
l
ba
c
k
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Check
t
h
a
t metadata is present before calling bac
k
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
Pen
n
e
quin
10 ticks
is way t
o
o long
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequi
n
filebuf_is_l
o
wdata isn'
t
n
eeded anymore
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penn
e
quin
R
eplace yiel
d
_codec()
w
ith a c
a
ll to q
u
eue_wait_
w
_tmo()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Rebu
f
f
e
r
after playlist changes
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
nnequin
Enab
l
e an
d
correct aud
i
o_invalidate
_
tr
a
ck
s
to make
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Li
n
e length
s
commit
|
commitdiff
|
tree
2007-10-25
N
i
col
a
s Pennequin
Only attempt to fill
the
b
u
ffer if it
needs t
o
b
e filled
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penne
q
ui
n
F
ree the buffe
r
more
o
ften when
there is les
s
data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Improved buf
f
er use b
y
f
i
lling wh
e
n th
e
d
isk is active
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
P
ennequ
i
n
The
number of tracks for whic
h
we
h
ave han
d
l
es is one
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s Pe
n
n
e
q
uin
Add
buff
e
red_data()
for
l
ater use
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
De
b
ug screen
f
o
r the buffering
thread
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pen
n
equin
Mak
e
dir sk
i
pping wo
r
k correctly and probably improve
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pe
n
n
eq
u
in
codec_adva
n
ce_b
u
ffer
_
callback: Re
m
ove unuse
d
code
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
las Pennequin
codec_s
e
e
k_
b
uffer_call
b
a
c
k: a simple bufseek call is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make bufadvanc
e
rely on bu
f
se
e
k instead
o
f dupl
i
ca
t
i
ng
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Correct bu
f
seek
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Some code do
c
umentation upda
t
es
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pe
n
nequin
R
ename
f
ree_b
u
f
fer
(
) t
o
sh
r
ink
_
handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
n
nequin
audio_
c
urr
e
nt_
t
rack: D
o
n't use curtrack_id3 if
it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Fix
w
arni
n
g
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequ
i
n
Clear st
a
tic struc
t
s on stop
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Improve metada
t
a use
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
Pennequin
Point
e
r
cosmetic
c
hanges
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s Pennequin
Silence war
n
in
g
s on coldfire
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s Penne
q
u
i
n
R
e
name get
p
tr t
o
bufgetcod
e
c and
m
ake it ensure th
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
bufo
p
en: Immedia
t
ely reques
t
bufferi
n
g for
c
ertain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
ico
l
as
P
enne
q
uin
Check for the case
w
h
en no data
i
s
r
eady and the required
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Revert
"
Simplify
codec_
r
equest_bu
f
f
e
r
_callback()"
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
curtrack_i
d
3 and
n
exttrack_id3 should be static
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
A bi
t
of mai
n
tenance
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
S
i
mpl
i
fy
codec_
r
eques
t
_buffer_callback()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Only a
s
k
o
nce for buffering
,
t
hen wait for
t
he data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pen
n
equin
Fix bufr
e
ad
implementat
i
on
.
This fixes problem
s
w
i
th
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pe
n
nequin
Minor cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Properly clear trac
k
info
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
as Pennequin
reset_han
d
le():
F
ix warning a
n
d make it st
a
tic
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Factor
o
ut
t
he duplicate
c
ode
from
bufadvance in rebu
f
fer_ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
e
nnequin
Implement
b
a
ckw
a
rds skipping by
c
ommpleting audio_rebuffer()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Clear warnings and more c
l
eanup
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s P
e
n
n
equin
Cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Silence th
e
warning from reset_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
audio_stop_p
l
aybac
k
(): Rele
a
se track handles BE
F
O
R
E
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penn
e
quin
Seekin
g
w
asn't actully qui
t
e corre
c
t: make it seek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penn
e
quin
Implement r
e
buffering
f
o
r seeking o
u
tside
o
f buffered
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pennequin
F
ix playback resuming
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s Pennequin
Prevent
file descriptor leakage or overuse
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
codec
_
filebuf_cal
l
back: Setti
n
g
copy_n t
o
0 was a
V
ERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Silence a
f
e
w
wa
r
ning
s
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s Pen
n
equ
i
n
bufclose:
Make su
r
e the
h
andle'
s
fi
l
e descriptor is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icol
a
s Pe
n
ne
q
uin
bufop
e
n(): Don't immediately buf
f
er ce
r
t
ain ty
p
e
s
of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
codec_se
e
k_buffer_callback(): Ch
e
c
k
whether it's
possible
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
n
e
quin
U
ncomment
a
part
o
f audio_rebuffer()
t
o
m
ak
e
re
b
ufferi
n
g
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Whe
n
dat
a
can
'
t wra
p
, start over at the be
g
i
n
ning of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Don't ask to buffer tra
c
ks right after loading t
h
em
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add
USB
c
onnection h
a
ndling to th
e
buffering thread
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Fix tracks being forgo
t
ten
a
bout
w
he
n
ther
e
was no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penn
e
qui
n
Improve yield
_
c
o
dec and
u
se
i
t b
e
tter to make a
u
dio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pe
n
nequin
buf
g
etdata(): fix th
e
avai
l
able
vs
.
required check
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
Pennequin
Fix a stupid bug tha
t
caus
e
d s
o
me hand
l
es n
o
t to be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
la
s
Pennequin
Intr
o
duce yield_co
d
ec(), s
i
milar
to the original audio
_
yield
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equ
i
n
Make the ta
r
g
et be
h
ave t
h
e same as
the sim (do
n
'
t
c
are
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penn
e
quin
Try
i
ng to mak
e
a
u
di
o
sta
r
t pla
y
ing faster
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nne
q
uin
Fix pla
y
back stop
p
ing by closi
n
g
all track handles
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
A
f
ew comme
n
t
t
w
eaks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
qu
i
n
Add a test in
audio_cu
r
rent_t
r
ack()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Do the ini
t
ial populat
i
ng
o
f the
static ID3 structs
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Make audio_rea
d
_next_m
e
tadata a
bit safer
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
ennequin
Minor corre
c
tion of a
c
omme
n
t
commit
|
commitdiff
|
tree
next