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 audio thread wait with a timeout even when filling
2007-10-25
Nicolas Pe
n
nequin
Make
the audi
o
th
r
ead wa
i
t
w
ith
a
t
imeout even
wh
e
n
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
M
inor tweak
to t
h
e
a
udio thread
b
uffer filli
n
g
lo
g
ic
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las P
e
nnequin
Inc
r
ease MAXTHREA
D
S
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pen
n
equin
A
d
d the "bu
f
fering" status ind
i
cator
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
R
emove some disabled
code from play
b
ack
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Inva
l
idate handle cache on handle r
e
moval
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
C
han
g
e
audio_relea
s
e
_
trac
k
s()
s
o th
a
t it ensur
e
s closing
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Bett
e
r
logic i
n
the
b
uf
f
ering
t
h
r
e
a
d loop
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
nnequin
T
u
rn
b
u
f
c
lose into a qu
e
u
e
event sender to
e
nsure a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Protect the li
n
ked
list with a mutex
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pe
n
nequin
Some cl
e
anup/sim
p
li
f
icatio
n
and an added comment
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Move
t
he call t
o
ata_sleep() in fill_buffe
r
()
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
No bufclosing of han
d
l
es
after track c
h
ange
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Add a bit more debug in
f
o
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
R
e
introduce co
d
ec_ad
v
ance_
b
uffe
r
_count
e
rs()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
n
nequin
D
on't attempt to b
u
ffer track
s
if there are no more
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Hide the buffering thr
e
a
d
and queue insi
d
e buf
f
ering
.
c
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
as
Pennequin
Revert "Replace y
i
eld_codec() with a call to queue_
w
ait_w
_
tm
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pe
n
nequin
Same as the prev
i
o
u
s
c
ommit but
with a di
f
ferent
c
a
l
lb
a
c
k
commit
|
commitdiff
|
tree
2007-10-25
N
icolas P
e
nnequin
Check that
m
e
t
ada
t
a is
p
resent before cal
l
ing back
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
10 ticks is w
a
y too l
o
n
g
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
n
equin
file
b
uf_is_lowdata isn't n
e
e
d
ed anymore
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Replace
y
ield_codec() wit
h
a call to
q
ueue_wait_w_tm
o
()
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
R
e
buffer aft
e
r playlist
ch
a
nges
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Enable and correct a
u
dio_invali
d
ate
_
tra
c
ks to m
a
ke
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Line lengths
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequ
i
n
O
n
ly
attempt to fill the buf
f
er
i
f
i
t ne
e
ds t
o
be filled
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Free t
h
e bu
f
f
er mo
r
e oft
e
n
when there is less data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequ
i
n
Improved buffe
r
us
e
by filling when
t
he disk
i
s act
i
ve
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
The number
of tracks for which we have
h
andles is one
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Add buff
e
red
_
dat
a
() for later use
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Debug scre
e
n for
the buffe
r
ing thread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
n
n
e
quin
Make dir
s
kipping work correct
l
y and proba
b
ly improv
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penne
q
ui
n
codec_advance_b
u
f
fer_callback: Remove
unused code
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
code
c
_se
e
k_buff
e
r_
c
allback: a sim
p
le bufseek call is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make bufad
v
ance rely on
bufseek instead of duplic
a
t
i
ng
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Penn
e
quin
Corre
c
t buf
s
eek
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Some
code
documentation
u
pdates
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penn
e
quin
R
ename free
_
buffe
r
() to shri
n
k_
h
andle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
i
n
audio_current_tr
a
c
k: Don't use
c
u
rtrack_id3 if it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix w
a
r
ning
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
e
q
uin
Clear static structs on
stop
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Improve m
e
tadata use
commit
|
commitdiff
|
tree
2007-10-25
N
i
col
a
s Pennequ
i
n
Pointer cosmetic changes
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas P
e
nnequin
S
i
lence wa
r
nings on co
l
dfire
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las P
e
nnequin
Rename get
p
tr to
b
ufgetc
o
dec and make it ensure the
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
buf
o
pen: I
m
mediately request bu
f
fering f
o
r certain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
Pe
n
nequin
Check for the case when no da
t
a is re
a
dy and
t
he
required
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pe
n
nequi
n
Reve
r
t "Sim
p
lify codec_request_buffer
_
callback()"
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pen
n
equin
curtrack_id3
a
nd next
t
rack_id3
s
hould be st
a
ti
c
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
A bit of
m
a
intena
n
ce
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
P
ennequin
S
i
m
plify cod
e
c_requ
e
st_
b
uffer_cal
l
back()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Only a
s
k
once for buffering, then wait for the data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Fix bufrea
d
impleme
n
tation
.
This fixes problems with
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
n
equi
n
Minor cleanu
p
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penn
e
qu
i
n
Properly clear
t
rack info
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
r
eset_h
a
ndle(): Fix
w
arning an
d
m
a
ke it static
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Factor
o
ut th
e
dupli
c
a
t
e
c
ode from b
u
fadvanc
e
in rebuffer_ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
n
eq
u
in
Implement backwards
s
kipping
b
y commpleting aud
i
o_rebuffer()
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Clear warnin
g
s and more cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
C
leanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pen
n
equin
Silenc
e
the wa
r
n
ing fro
m
reset_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
audio_stop_playback(): Relea
s
e track hand
l
es BEFORE
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Seeking wasn't a
c
tul
l
y
quit
e
correct
:
ma
k
e i
t
seek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ola
s
Penneq
u
in
I
mplement re
b
uff
e
r
i
ng f
o
r
s
eekin
g
o
u
tsid
e
of buffered
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
F
i
x playback resumi
n
g
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Preven
t
f
i
le desc
r
iptor leakag
e
o
r overuse
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
as Pennequin
c
o
dec
_
f
i
lebuf_callb
a
ck
:
Setting c
o
py_n to 0 was a VERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
S
i
lence a
few warnings
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
bufclo
s
e: Make sure the han
d
le's
file
desc
r
iptor is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
nnequin
bufo
p
en()
:
Don't immediately buffer certain types of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
cod
e
c_s
e
ek_bu
f
f
e
r_callb
a
ck(): Check whether it's po
s
s
i
ble
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Un
c
ommen
t
a part of audio_
r
ebuffe
r
(
)
to make rebuffering
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
When data can't w
r
ap, s
t
art over at the beginning of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Don't a
s
k
to buf
f
er tracks
r
ight aft
e
r lo
a
ding them
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequi
n
Add USB conne
c
t
ion ha
n
dling to the buffering th
r
ead
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
F
i
x
t
racks b
e
i
n
g
forgotten about
when there was no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
enne
q
u
in
Imp
r
ove yield
_
codec and use it b
e
tter to
m
ake au
d
io
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
b
u
fgetda
t
a(): fix the available vs
.
required c
h
eck
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix a stu
p
id
bug that caused some ha
n
dl
e
s not to be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Int
r
oduce yield_codec(),
s
im
i
lar to the or
i
ginal audi
o
_yield
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make the target
behave the same as the
s
im
(don't care
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
en
n
e
qu
i
n
Trying
t
o
mak
e
audio start play
i
n
g
fas
t
er
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
F
ix pla
y
back stop
p
ing by c
l
osing all track handles
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
A few
comment tweaks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Add a te
s
t i
n
au
d
io_
c
urr
e
nt_trac
k
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pe
n
nequin
Do the ini
t
ia
l
populating o
f
the static ID3 st
r
ucts
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
M
ake audio_read_nex
t
_m
e
tadata a b
i
t safer
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penne
q
u
i
n
Minor c
o
rrection of a comment
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Use id
3
_hid rather than tagin
f
o_ready
to know if I
D
3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Re
q
uest buf
f
ering
o
f
t
he curre
n
t trac
k
if it
i
s
to
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
las Pennequi
n
A
d
d s
o
me synch
r
onisat
i
on to prevent some deadlo
c
k
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Mak
e
basic seeking actually work
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penneq
u
in
Add close_track_hand
l
es and reenable audio_clear_track_
e
ntri
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icol
a
s
P
ennequin
Release data for
the
f
inished
track on track
change
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pen
n
eq
u
in
Store f
i
l
e
siz
e
on load
.
T
h
i
s
makes
b
asi
c
seeki
n
g
wo
r
k
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequ
i
n
Start using "fill
i
ng" co
r
rec
t
ly to make more tracks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Remove the test
p
lugin
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
la
s
Pennequin
In
c
r
e
ment
track_w
i
dx after loading a track
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
l
as Pe
n
nequ
i
n
Co
s
metics and get rid of war
n
ings
.
commit
|
commitdiff
|
tree
next