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
N
i
co
l
a
s
Pe
n
n
e
quin
Forgot th
i
s one
:
(
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
n
e
q
uin
bool
f
illing is
n
't neces
s
ary anymore
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Fix the wps_off
s
et bus
i
ness for good
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
P
enn
e
quin
Clean
u
p p
l
a
ybac
k
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
ennequin
Use the ca
l
lbacks in the audio thread
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
Pennequ
i
n
Add
c
allba
c
ks to noti
f
y users o
f
the
b
uffering
A
PI
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Re
m
ove t
h
e "buffering
"
bool indicator
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Mak
e
t
he pla
y
list position be u
p
da
t
ed on t
h
e PCM track
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Solve the progressba
r
no
t
being updated in the
l
a
st
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
P
ennequin
Cl
o
se
partially buffered h
a
ndles when chan
g
i
n
g tracks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nne
q
uin
Make the audio thread w
a
i
t
with a timeout even when
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
Pen
n
e
q
uin
Minor t
w
eak to
the audio thread buf
f
er filling logic
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
as Pennequin
Inc
r
ease MAXTHREADS
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Add the "buffering"
status in
d
icator
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
R
emov
e
so
m
e disabled code
f
rom playback
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las P
e
nneq
u
in
Invalidate h
a
n
dle cache on handle
remov
a
l
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Change audio_release_trac
k
s() so
t
hat it en
s
ur
e
s closing
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequi
n
Better logi
c
i
n
th
e
buffering thread loop
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Tur
n
bufclose in
t
o a queue event sender t
o
ensure a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Protect th
e
linked list with a mutex
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Some cle
a
nup/sim
p
lificati
o
n
a
nd an a
d
ded
comme
n
t
commit
|
commitdiff
|
tree
2007-10-25
N
i
col
a
s Pen
n
equin
Move the
c
a
ll to at
a
_sleep() i
n
fill_buffer()
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
No bufclo
s
ing
o
f han
d
l
es after track
change
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
as Penn
e
quin
Ad
d
a
b
i
t more d
e
b
u
g info
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
R
ein
t
roduce codec
_
adv
a
nce_bu
f
fer_coun
t
er
s
()
commit
|
commitdiff
|
tree
2007-10-25
N
icol
a
s Pennequin
Don't attempt to buffer tracks if there
are
n
o mo
r
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
H
i
d
e the buffering
t
hread and qu
e
ue inside buffe
r
ing
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
ne
q
uin
Revert
"
Repla
c
e
yiel
d
_codec()
with a
c
all t
o
qu
e
ue_wait_
w
_tm
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
nequin
Same a
s
the previous comm
i
t
b
ut with a different
c
allback
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Check that metadata is pre
s
e
n
t b
e
fore calling back
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequi
n
10 tic
k
s is way too long
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
P
ennequin
filebuf_i
s
_lowdata isn't
needed any
m
ore
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
ennequin
Replace yield_codec() with a call
to queue_wait_
w
_t
m
o()
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Re
b
u
ffer after playlist ch
a
nges
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Enabl
e
and corr
e
ct audio_invalidate_tra
c
ks
t
o make
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Li
n
e l
e
ngth
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
e
q
uin
Only attempt to f
i
ll
the buffer if it needs to be fi
l
l
e
d
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Free the buffer more often when t
h
ere is less d
a
ta
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
a
s P
e
nnequin
Improv
e
d buffer use by filling when the disk is ac
t
ive
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
The number of
t
racks fo
r
w
h
ich w
e
have hand
l
es is on
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
Pennequin
Ad
d
buffered_data(
)
f
or later use
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Penneq
u
in
Debug screen for
the buf
f
eri
n
g thread
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
Penne
q
uin
Make
dir skipping work correctly and pro
b
ably im
p
rove
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
n
e
quin
codec_advance_bu
f
fer_call
b
ack: Remove u
n
used co
d
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
codec_seek_buff
e
r_callback: a s
i
mple bu
f
s
e
ek call
is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
ui
n
Make
b
ufadv
a
nce rely on bufseek
instead of duplica
t
ing
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Correct bufseek
commit
|
commitdiff
|
tree
2007-10-25
N
icol
a
s Pennequin
S
o
m
e
code documentation updates
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pe
n
nequ
i
n
Rename free_buffer
(
) to shrin
k
_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
audi
o
_current_t
r
a
c
k: Don't
u
s
e cu
r
track_id3
if it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nne
q
uin
Fix warn
i
ng
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pen
n
equin
Clear st
a
tic
str
u
cts on stop
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Improv
e
m
e
tadata use
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Pointer
cosmetic change
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Silen
c
e warnings on coldf
i
re
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequi
n
Rename getptr to
b
ufget
c
odec and ma
k
e
it e
n
sure
t
he
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
bufopen:
Immediate
l
y r
e
quest b
u
f
fering fo
r
cer
t
ain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Check
f
or the case
w
hen n
o
data is ready an
d
t
h
e
req
u
ired
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
R
evert
"
Simpl
i
fy
code
c
_request_bu
f
f
er_callback()
"
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
Pe
n
nequin
curt
r
ack_id3 and nexttra
c
k_id3 should be static
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
A
b
i
t
o
f
m
ain
t
enance
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pe
n
nequi
n
Si
m
plify code
c
_request_buffe
r
_call
b
a
ck()
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pe
n
nequ
i
n
Only ask once for buffering, then wait fo
r
t
h
e data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix bufread implementat
i
on
.
This
f
ixes problems w
i
th
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas P
e
nnequi
n
Min
o
r
c
leanup
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
Pe
n
n
e
q
uin
Properly clear track info
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
r
eset_h
a
ndle(): Fix
w
arning and
m
ak
e
i
t
sta
t
ic
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Factor out the dupli
c
at
e
cod
e
from bufa
d
vance in rebuf
f
e
r_
h
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Imple
m
ent
bac
k
w
a
rd
s
ski
p
p
in
g
by c
o
mmpletin
g
audio_rebuffer(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
C
l
ear warnings and
m
ore cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enne
q
uin
C
l
e
anup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
S
i
lence the warni
n
g from r
e
se
t
_han
d
le
(
)
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
l
a
s
P
ennequ
i
n
audio_stop
_
playback(
)
:
R
elease tr
a
ck handles BEFORE
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
See
k
ing wasn
'
t
a
ctully quite co
r
rect:
m
ake
it se
e
k
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
I
mplement rebufferi
n
g fo
r
seekin
g
ou
t
side of buffered
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pennequ
i
n
Fix
pla
y
back
r
e
suming
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequ
i
n
Prev
e
n
t
file descr
i
pto
r
le
a
kage or
over
u
se
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
codec_fileb
u
f_
c
al
l
back: Setting copy_n
to
0 was a VERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Silence a few warnin
g
s
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
P
e
nnequi
n
b
u
fclose: Make sure the handle's file descr
i
p
t
or
i
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
bufopen()
:
Don't immediat
e
ly
buff
e
r certain types
of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
codec_see
k
_b
u
f
fer_callback(): Check whethe
r
it's possibl
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Uncomment a
par
t
of aud
i
o_rebu
f
fer() to make re
b
uffering
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
W
h
en data can't wr
a
p
,
start
o
ve
r
a
t the beginning of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Do
n
't
a
sk to buffer tracks righ
t
after l
o
ading
t
h
em
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequ
i
n
Add
USB connect
i
on handlin
g
t
o
the
b
uffering thre
a
d
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Fix t
r
acks being fo
r
go
t
t
e
n a
b
out
w
hen
t
here
w
as n
o
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penn
e
qui
n
Impr
o
ve yi
e
ld_co
d
ec and use it bette
r
to ma
k
e audio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
b
u
fgetdata():
f
ix the avai
l
a
b
le
v
s
.
required check
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Fi
x
a stupid bug that cau
s
ed some handles not t
o
be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
ennequin
Introduce
y
ield_codec(), similar to the original audio_yie
l
d
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
q
uin
Make th
e
target
b
ehave the same as t
h
e sim (don'
t
care
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Trying to m
a
ke audio start p
l
aying fas
t
er
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequ
i
n
Fix play
b
ack stopping by closing all track
han
d
l
es
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequ
i
n
A
f
ew
c
o
mment t
w
ea
k
s
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Add a test in audio_current_track()
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
las
Pennequin
Do the
initial populating
of the st
a
tic ID3 str
u
cts
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Make au
d
io_read
_
next_metadata a bit saf
e
r
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
nequin
Minor correctio
n
of
a
comment
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
en
n
equin
Us
e
id
3
_hid
rather than tag
i
nf
o
_r
e
ad
y
t
o know if ID3
.
.
.
commit
|
commitdiff
|
tree
next