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
Make the playlist position be updated on the PCM track change
2007-10-25
Nicolas P
e
nnequ
i
n
Make the playlist po
s
ition be updated
on the
P
CM track
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
nnequ
i
n
Solve the
progr
e
ssbar not being u
p
da
t
ed in the las
t
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas
P
e
nnequin
Close partial
l
y
buffered handles whe
n
ch
a
nging
t
racks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make the audio thread wait with a timeout even when
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pen
n
equin
Minor tweak to t
h
e audio thre
a
d buffer filling logic
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequ
i
n
Increase MAXTHREADS
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
en
n
e
q
uin
Add the "b
u
ffer
i
ng" st
a
tus indicator
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las P
e
nnequin
R
emo
v
e some dis
a
bled
c
ode from playback
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
P
e
n
nequin
Invalid
a
te handl
e
cache on ha
n
dle
removal
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
P
ennequin
Change audio_release_tracks() so that i
t
ensures closing
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pen
n
equin
Better logic in the
b
u
ffering thread loop
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
n
eq
u
i
n
Tu
r
n bufclos
e
into a
q
ueue
e
v
e
n
t
sender to
e
nsure a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
Pennequin
P
rotect the
linked list w
i
th a mutex
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pen
n
equin
Some cleanup/
s
implifica
t
ion and an adde
d
c
omment
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Move th
e
call to
a
ta_sleep() in fil
l
_buffer()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequi
n
No bufcl
o
s
i
n
g of
h
andles aft
e
r track chang
e
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penne
q
uin
Add
a bit
m
or
e
debug info
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
nnequin
R
eintroduce
c
o
dec
_
advance_buff
e
r_cou
n
t
e
r
s()
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
Pennequin
Do
n
't attempt to buff
e
r tracks if there are no mo
r
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequ
i
n
Hide the
buffering thread a
n
d queu
e
inside
bufferin
g
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Rev
e
rt "Replace yi
e
ld_codec() with
a
call to queue_wa
i
t_w_tm
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Same a
s
the previous commit bu
t
with a different call
b
ack
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Ch
e
ck th
a
t metada
t
a i
s
present b
e
fore callin
g
back
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
P
ennequin
10 t
i
cks is way too long
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
u
i
n
file
b
uf_is_lo
w
dat
a
isn't ne
e
d
ed anymore
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pennequi
n
Replace
yield_codec() with a call to
queue_wa
i
t
_
w_
t
m
o
()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Rebuffer a
f
ter play
l
ist cha
n
ges
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Enabl
e
and correc
t
a
u
dio
_
invalidate_tracks to mak
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Lin
e
length
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
nn
e
quin
Only a
t
tempt
t
o fill th
e
b
uffer if
i
t n
e
eds to be filled
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
Pennequin
Free t
h
e bu
f
fe
r
more
o
ften when the
r
e i
s
less da
t
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Improved buffer use by filling whe
n
the di
s
k is
a
ctive
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
e
nnequin
The
n
um
b
er of tracks for which
we have
h
andles is one
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add buffered_da
t
a() for la
t
er use
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Debug screen fo
r
the buffering thread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Make dir s
k
ipping work
c
orrectly a
n
d p
r
obably improve
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s
P
ennequin
codec_a
d
vance_buffer_callback
:
Remove
unused c
o
d
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
e
q
u
in
codec_se
e
k_
b
uffer_callback
:
a sim
p
le buf
s
e
ek call
i
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Penneq
u
i
n
Make bufadvanc
e
rely on bufs
e
ek instead of dup
l
ic
a
ting
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
Pennequin
Correct bufse
e
k
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
So
m
e code docu
m
ent
a
tion u
p
dates
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
Pe
n
nequin
Rename free_buffer() to
shrink_han
d
le()
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
P
ennequin
audio_c
u
rrent_track:
D
o
n
't use curtrack_id3 i
f
i
t
's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pen
n
equin
Fix war
n
in
g
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
las
Penne
q
u
i
n
C
l
ear static structs on
s
t
op
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pen
n
equin
I
mprove metada
t
a use
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Pointer cosmetic change
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Silence
warni
n
gs on
coldfire
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nn
e
quin
Rename getptr to buf
g
etc
o
dec and ma
k
e it ensure the
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas P
e
nnequin
bufopen
:
Immediat
e
ly request
buffe
r
ing for c
e
rtain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Check for the
case when no data is ready and the
required
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
enneq
u
in
R
e
ve
r
t "Simplify codec_req
u
es
t
_b
u
ffe
r
_callbac
k
()"
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
P
e
n
ne
q
uin
cur
t
r
a
ck_id3 and nexttr
a
ck_id3
sho
u
ld be sta
t
ic
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
A
b
it of ma
i
ntena
n
ce
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
q
uin
S
implif
y
codec_
r
equest_buffer_
c
allba
c
k()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Only ask once for buffering, then wait for th
e
data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
F
i
x
b
u
fread impl
e
menta
t
i
on
.
This fixes proble
m
s with
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Mino
r
c
lea
n
up
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
P
r
op
e
rly clear track info
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
e
nnequin
r
e
set_handle(): Fix war
n
ing and ma
k
e
it stati
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Factor ou
t
the dup
l
icate code from bufadvance
in
r
eb
u
f
fer
_
ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pen
n
equin
Im
p
lem
e
nt back
w
ards skipping by commpleting audio_rebu
f
fer()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equi
n
Clear warnings and mor
e
cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penne
q
u
i
n
Silence the warning from r
e
set_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
P
e
nnequ
i
n
au
d
i
o
_
stop_pla
y
back(): Release track handl
e
s
B
EFORE
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
S
eeking wasn't actully quite corre
c
t: make it seek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pe
n
ne
q
uin
Implement rebuffer
i
ng for seekin
g
outside of bu
f
fered
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
ennequin
Fix p
l
a
yback resuming
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
Pe
n
nequin
Prevent
fil
e
descriptor le
a
ka
g
e or overuse
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
codec_f
i
lebuf_callbac
k
: Setting copy_n to 0 was
a VERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pen
n
equin
S
i
l
enc
e
a
f
ew
w
arn
i
ngs
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
n
equin
b
u
fclose:
Mak
e
sure the handle's
f
i
le des
c
ript
o
r is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pe
n
n
equin
bufopen():
D
on
'
t immediatel
y
b
uffer certain types of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
enneq
u
in
co
d
ec_seek
_
buffer_callba
c
k
(
): Check whether it's
possible
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s Pennequin
U
ncomment a
pa
r
t of aud
i
o
_
rebuffer() to ma
k
e rebu
f
ferin
g
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas P
e
nnequin
When data c
a
n'
t
wrap, star
t
over a
t
the be
g
inning
of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Don't ask to buffer tra
c
ks right after loading them
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequ
i
n
Add USB connec
t
ion
ha
n
dling to
the
b
ufferin
g
thread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
F
ix
tra
c
ks being forgotte
n
about when there was n
o
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Improve yield_codec and us
e
it better to make audio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
las Pennequin
b
u
fge
t
data(): fix the available vs
.
required
c
heck
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
P
e
nnequin
Fix a stupid
bug that caused some handles not to be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
I
n
troduce y
i
eld_code
c
(),
s
imilar to th
e
or
i
g
i
n
al audio_yield
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
M
a
ke the tar
g
et behave the
s
am
e
as the sim (don't ca
r
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Trying
to m
a
ke audio start p
l
aying faster
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Fix playback s
t
opping by
closing
a
ll track hand
l
es
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enne
q
u
i
n
A
fe
w
comment tweaks
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
a
s
P
e
nnequin
Ad
d
a t
e
st
i
n audio_current_track()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
D
o
the initial populating
of the static ID3 struct
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Make audio_
r
ead_next_m
e
tad
a
t
a a bi
t
safer
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
e
nn
e
quin
Minor
correc
t
i
o
n of
a
com
m
ent
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Us
e
id3_hid rather than taginfo
_
ready to k
n
ow
i
f ID3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penne
q
u
in
Request buffe
r
ing of
t
h
e
cu
r
rent
tr
a
ck if i
t
is
t
o
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equ
i
n
Add
s
ome
s
y
nchro
n
isation to
prevent some deadlocks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make basic se
e
king actuall
y
work
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
i
n
Add close_track
_
handles and reenab
l
e audi
o
_c
l
e
a
r_track_
e
ntr
i
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Re
l
ease data
for
t
h
e finished track on trac
k
cha
n
ge
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s Pennequin
Store files
i
ze on loa
d
.
This
ma
k
es basic
seeking
w
ork
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
ola
s
Pen
n
equin
Start usin
g
"filling"
c
orrectly t
o
make more trac
k
s
.
.
.
commit
|
commitdiff
|
tree
next