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
Forgot this one :(
2007-10-25
Nicolas Pennequin
Forgot this one :(
commit
|
commitdiff
|
tree
2007-10-25
N
icol
a
s Penne
q
uin
bool fil
l
ing isn't ne
c
e
ssary an
y
more
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penn
e
quin
F
ix the wps
_
offset
b
usiness fo
r
good
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
C
l
e
an
u
p playback
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
U
se the callbacks in the audio
thread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Add callbacks to
notify users
of the buffering
AP
I
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Remove
t
he "bu
f
f
e
r
i
ng" bool indicator
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nne
q
uin
Make the
p
laylist position be
u
p
d
ated o
n
the P
C
M track
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
Penn
e
quin
Solv
e
the progressb
a
r
n
ot being up
d
a
ted
i
n the last
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Close partially bu
f
fered h
a
ndles when
c
hanging
t
r
acks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Make the audio th
r
e
ad wait with
a
tim
e
o
u
t even when
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Mi
n
or tweak to
t
he aud
i
o thread buffer
f
i
lli
n
g l
o
gic
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
ola
s
Penneq
u
in
I
n
crease MAXTH
R
EADS
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
i
n
Add the
"buffer
i
ng"
s
tatus indicator
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
ennequin
Remove so
m
e disabled code from playba
c
k
.
c
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
la
s
Pennequin
In
v
alidate ha
n
dle cac
h
e on handl
e
re
m
oval
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Cha
n
ge audio_rel
e
a
se_tracks() so that it
e
ns
u
res closing
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penne
q
uin
Better logic
i
n the buffering threa
d
l
oop
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Turn bufclose into a qu
e
ue e
v
ent sender to ensure a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Protect the
l
ink
e
d
list with a mut
e
x
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pe
n
nequin
Some cleanup/simplification a
n
d an added comment
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s Pennequin
M
ove the
cal
l
to ata_sleep()
in fill_buffer()
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
P
ennequin
No bufclosing of handles after track
c
hange
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add a bi
t
more
d
e
b
ug info
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Reintroduce cod
e
c_adva
n
ce_buffer_counters(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Don't attem
p
t t
o
b
uff
e
r tracks if there ar
e
no more
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Hide
the
b
uffering threa
d
a
nd queue insid
e
b
u
ffering
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Revert "Replace yiel
d
_codec() wi
t
h a call to queue_wait_w_tm
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Same as the
previous commit but with a
differ
e
nt callbac
k
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequi
n
Check that met
a
d
ata is present be
f
ore cal
l
ing back
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
en
n
e
qu
i
n
10 ticks is way to
o
long
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
n
equin
filebuf
_
i
s
_l
o
w
d
ata
i
sn't needed any
m
ore
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
R
e
pla
c
e y
i
eld
_
codec()
wit
h
a call to queu
e
_wait_
w
_tmo()
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
R
e
buff
e
r
a
f
ter playlist changes
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
E
nable and
c
o
r
rect audi
o
_invalidate_t
r
acks to make
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Line leng
t
hs
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Only attempt t
o
fill
t
h
e buffe
r
if
i
t needs to be filled
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fre
e
th
e
buffer
m
ore often when there is
le
s
s
data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Improved buffe
r
u
se
by filling when the
disk is active
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
Pennequin
The
number of tracks for whic
h
we have ha
n
d
l
es
is one
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Ad
d
b
u
ffered_data() for later us
e
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Debug screen for t
h
e buffe
r
ing thread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Make dir skip
p
ing work correctly and probably improve
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
c
o
dec_advance_buf
f
er_callb
a
ck
:
Remove unu
s
e
d
code
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
codec_
s
eek_buffe
r
_callback
:
a
s
imple bufsee
k
c
all
is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
P
ennequin
Ma
k
e buf
a
dvance rely on bufseek instea
d
of dupl
i
c
ating
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Correct bufseek
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Some
co
d
e
documentat
i
on upd
a
tes
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penneq
u
in
R
e
name free_bu
f
fe
r
(
) to shri
n
k_handle
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
eq
u
in
au
d
io_curr
e
n
t
_t
r
ack: Don't use curtrack_id3 if it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s Pennequin
Fix warni
n
g
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penn
e
qui
n
C
l
e
ar st
a
t
i
c
s
tructs on stop
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penne
q
uin
I
m
prove meta
d
ata use
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enneq
u
i
n
Po
i
nter cosm
e
tic changes
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Si
l
e
n
ce warnin
g
s o
n
coldfire
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequ
i
n
Rename get
p
t
r to bufgetcodec an
d
make
it ensure the
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
bufopen: Immediately request
b
u
f
fering for certain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Chec
k
for the
c
ase when no data is ready and the requi
r
ed
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
R
e
vert "Simplif
y
codec_request
_
buffe
r
_callba
c
k()"
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
q
u
i
n
curtrack_id3 and nexttrack_id3 should be sta
t
ic
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s Pennequi
n
A
bit of
maintenance
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Simplify codec_re
q
uest
_
b
u
ffer_call
b
a
ck()
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Penneq
u
in
Only
ask once for buffering, then wai
t
for
the data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penneq
u
in
Fix
b
ufre
a
d
i
mplem
e
ntation
.
Th
i
s fixe
s
problems with
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequ
i
n
Minor
c
l
e
a
nup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
P
r
o
p
e
rly
c
lear
t
rack info
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
reset_hand
l
e(): Fix war
n
ing
a
n
d ma
k
e
i
t
sta
t
i
c
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pen
n
equin
F
a
cto
r
out the duplicate
code fro
m
bufadvance
i
n rebuff
e
r
_ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Implement backwards skipp
i
ng by commpl
e
ting
aud
i
o_rebuffer
(
)
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Clear warnings and mo
r
e cleanup
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penne
q
u
i
n
C
leanu
p
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
S
ilence the warning
f
rom reset_ha
n
dle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
audio_stop
_
playback():
R
elea
s
e track h
a
nd
l
es BEFOR
E
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
P
ennequin
S
e
eking
w
asn't actully quite correct: make it
seek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequin
Implement
r
e
b
uffering for see
k
ing outside
o
f
b
uf
f
ered
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ola
s
Pennequ
i
n
Fix playback resumi
n
g
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pen
n
equin
Prevent file
descriptor leakage or
o
veruse
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
codec_filebuf_callba
c
k: Se
t
ting copy_n t
o
0
w
as a
V
E
R
Y
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Silence a
few
w
arn
i
ngs
commit
|
commitdiff
|
tree
2007-10-25
N
icol
a
s Pennequin
bufcl
o
s
e
: Make sure
t
h
e
handle's file descriptor is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
bufopen():
Don't immediately buffer certain types o
f
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
codec_se
e
k_bu
f
f
er
_
callback(): C
h
e
ck whether it's
p
ossib
l
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
U
ncomment a pa
r
t o
f
audio_rebuffer() to make rebuffering
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
W
he
n
data can't wr
a
p
, start over at the beginning of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ola
s
P
ennequin
Don't ask t
o
buf
f
e
r
t
racks right
after loading them
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Add USB connection handling
to
the buffe
r
in
g
t
h
read
commit
|
commitdiff
|
tree
2007-10-25
N
icolas P
e
nn
e
qui
n
F
ix tra
c
ks b
e
ing f
o
rgotten ab
o
ut when there was
n
o
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pen
n
e
q
ui
n
Improve yield
_
codec and u
s
e it bett
e
r
t
o mak
e
audio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pe
n
nequin
bu
f
g
e
tdata(): fix th
e
a
v
aila
b
le vs
.
req
u
ired c
h
eck
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
F
i
x
a stupid
bug that caused some
h
andles not to be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
I
n
troduce
y
i
e
ld_codec(),
s
i
milar
t
o t
h
e original audio_yield
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Make
the t
a
rget behave the s
a
me a
s
the
sim (don't care
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
nnequ
i
n
Trying to make au
d
io
s
tart
playin
g
f
aster
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Fix play
b
ack stopping b
y
closing all track handles
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
A few c
o
mment t
w
e
a
ks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Add
a
t
e
s
t
i
n aud
i
o_curr
e
nt_
t
rack()
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
P
ennequ
i
n
Do the initia
l
popula
t
ing of t
h
e st
a
tic ID3 st
r
ucts
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Make audio_read_nex
t
_
metadata a bit safer
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Minor correction of a co
m
m
en
t
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Us
e
id3_h
i
d rat
h
er than tagi
n
f
o_ready to
know if
ID3
.
.
.
commit
|
commitdiff
|
tree
next