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
Remove some disabled code from playback.c
2007-10-25
Nicol
a
s
P
e
nn
e
quin
R
emove some disabled co
d
e from p
l
ayback
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
P
ennequ
i
n
I
nvalidate hand
l
e cache
o
n handle removal
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pen
n
e
q
uin
Change audi
o
_r
e
lease_
t
racks() so that it ensu
r
es
c
losi
n
g
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Better
logic in the buf
f
e
r
ing threa
d
loop
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
Pe
n
nequin
Turn bufclose into a queue event sender to ensure a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Prot
e
ct
the
l
inked l
i
st with a mutex
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
S
o
me
c
leanup
/
simpli
f
ication and an added c
o
mme
n
t
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
M
o
v
e
t
he call
t
o ata_
s
lee
p
() in fill_buffer()
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
No
b
ufclos
i
ng of handles aft
e
r track chang
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add a bit more d
e
bu
g
i
n
fo
commit
|
commitdiff
|
tree
2007-10-25
N
i
col
a
s Pennequi
n
R
eintroduce codec_advance_buff
e
r_c
o
unters()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penn
e
quin
Don't a
t
tempt
to
b
uffer tracks
i
f there are
no more
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequin
H
i
de the bufferin
g
threa
d
a
n
d queue inside bu
f
fering
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pe
n
nequin
Revert "Replace yield_co
d
ec() with
a
call t
o
queue_wait_w_tm
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Sa
m
e as
t
he previous commit but with a di
f
fe
r
ent callbac
k
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penne
q
u
in
Check t
h
at metadata is p
r
e
se
n
t be
f
ore
c
alling
back
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
10 ticks is way too long
commit
|
commitdiff
|
tree
2007-10-25
N
i
col
a
s Pennequin
f
ilebuf_is_lowdata isn't needed anymore
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequi
n
Replac
e
yie
l
d_codec() wi
t
h
a ca
l
l
to
q
u
e
ue_wait_w_tm
o
()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Re
b
u
ffe
r
after playli
s
t chang
e
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Enab
l
e and
co
r
rect a
u
d
i
o_
i
nval
i
date_tracks to mak
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Line length
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Only attempt to fill the buffe
r
if it
n
eeds to be filled
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Free
the
buffer
m
or
e
often wh
e
n there is l
e
ss
da
t
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pe
n
nequ
i
n
I
m
proved buffer use by filling when the
disk i
s
act
i
ve
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
The number
of tracks f
o
r whic
h
we have hand
l
es is on
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
nequi
n
Add b
u
f
f
e
red_data() for later use
commit
|
commitdiff
|
tree
2007-10-25
N
ico
l
as Penne
q
u
i
n
D
e
bug sc
r
ee
n
for
t
he buffering thr
e
ad
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
Pennequ
i
n
Make dir s
k
ipping wo
r
k
c
orr
e
ctly and p
r
obably i
m
p
rove
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
Pennequin
codec_advance_buffer_callback: Remove unused code
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
cod
e
c_seek_b
u
f
f
er_c
a
llback
:
a simple bufse
e
k call is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Make bufadvance rely
o
n
bufseek instead of dupl
i
cating
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pennequin
C
o
rrect bufseek
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pennequin
Some code
do
c
umentation updates
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequ
i
n
R
e
nam
e
fr
e
e_buffer()
to shrink_handle
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
audio_current_
t
r
a
ck: Don't use curtrack_id3 if it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
u
i
n
F
i
x w
a
r
nin
g
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequ
i
n
Cle
a
r stat
i
c structs on
s
top
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
I
m
prove metadata u
s
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Pointer cosmetic
c
hanges
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Silence warnings
o
n co
l
dfire
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Ren
a
me getptr
to bufgetc
o
dec and
m
ake
it ensur
e
th
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
bufopen: Immediately re
q
ue
s
t bufferin
g
fo
r
cer
t
ai
n
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
Pennequin
Check
f
or the
c
ase
w
hen no data
i
s ready
a
n
d
t
he req
u
ired
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s Pe
n
nequin
Reve
r
t
"
S
implify codec
_
r
e
quest_bu
f
fer_callback
(
)"
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
curtra
c
k
_
id3
and nexttrack
_
id3 sh
o
uld be static
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pe
n
ne
q
uin
A bit of maintena
n
ce
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
S
i
mplify codec_request_b
u
ffer_c
a
llback()
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pen
n
equin
Only
a
sk once for
b
u
ffering,
t
hen wait f
o
r the
d
ata
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
la
s
Pennequ
i
n
Fix bufr
e
ad implemen
t
ati
o
n
.
This
f
ixes problems with
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penne
q
uin
Minor clean
u
p
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequi
n
P
roperly clear track
info
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
reset_handle(): Fix warning and make
it s
t
atic
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Factor out the duplicate code from bufadvan
c
e in rebuffer_ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penneq
u
in
Implem
e
n
t backwards skipping by commpleting audi
o
_re
b
uffer(
)
commit
|
commitdiff
|
tree
2007-10-25
N
icolas P
e
nnequin
Clear warni
n
gs and more cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
C
l
eanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Silence
the w
a
r
n
i
n
g from r
e
set_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
audio_stop_playback
(
): Re
l
e
a
se track handl
e
s BEFO
R
E
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enne
q
u
in
See
k
i
n
g wasn't actu
l
ly quit
e
corre
c
t: make it seek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
n
equi
n
Implement rebu
f
fe
r
ing for seeking
o
utside of bu
f
fered
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix playback resuming
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Preven
t
f
i
l
e de
s
criptor lea
k
age or overuse
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
Pennequin
code
c
_filebuf_callback: Setting copy_n to 0 was a V
E
RY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Silence a few war
n
ing
s
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
Pennequin
b
ufclose: Make su
r
e
t
he han
d
le's file
d
escriptor
i
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
ennequin
bufopen(): Don't imme
d
iately buffer
certain types of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penneq
u
in
code
c
_
see
k
_buffe
r
_callback
(
): Check whether it's possible
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Uncomment a par
t
of audio_rebuffe
r
() to
make rebuffering
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
When data can't wrap, st
a
rt o
v
er at th
e
b
e
ginning of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pen
n
equin
Don'
t
ask
to buffer tracks right after loading them
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Add USB con
n
e
c
tion handlin
g
to
t
he buffering thread
commit
|
commitdiff
|
tree
2007-10-25
N
i
cola
s
P
enn
e
qui
n
F
ix trac
k
s being forg
o
tten about when there
w
as no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
I
m
p
ro
v
e yield_codec and
use
it bet
t
er to make
audio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequ
i
n
bufgetda
t
a()
:
fix
the available vs
.
required check
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pe
n
nequi
n
F
i
x a stupid b
u
g
that caus
e
d some ha
n
dles no
t
to be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequ
i
n
Introduce yield_codec(),
s
imilar
to the
ori
g
i
n
al audi
o
_yi
e
ld
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
ico
l
as Pennequin
Make the target behave the
s
ame as the
s
im (don
'
t care
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Tryi
n
g to make audio start pla
y
ing faster
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Fix pl
a
yback stopp
i
n
g
b
y
closi
n
g all
t
rack handles
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
A few c
o
mment twea
k
s
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pen
n
equin
Add a
t
est in audio_current_track()
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
as Pennequin
Do the initi
a
l po
p
ulat
i
ng of the static
ID3 structs
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Mak
e
a
u
dio_re
a
d_next_met
a
data a
b
it safer
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Minor correcti
o
n
of
a
comment
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pe
n
nequin
Use
i
d
3_hid
rather than
t
aginfo_
r
eady to know i
f
ID3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Request b
u
ffering
o
f the
current
track if it is
to
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
l
a
s
Penn
e
quin
Add
some
s
ynchronisation
t
o
prevent
s
ome deadlo
c
k
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make
b
as
i
c
seeking actually w
o
rk
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
Pen
n
equin
Add clos
e
_track_ha
n
d
l
es and reena
b
le a
u
dio_clear_trac
k
_ent
r
i
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Re
l
e
ase
data for the finished track on tr
a
c
k
change
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ola
s
Pe
n
nequin
S
t
or
e
filesize on load
.
This
m
akes basic s
e
ekin
g
work
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s Pennequin
Start us
i
ng "
f
illing" cor
r
ectly to ma
k
e more tracks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
as Pennequi
n
R
e
move th
e
test p
l
ugin
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
e
quin
Increm
e
nt trac
k
_widx after
l
oading a track
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pe
n
neq
u
in
Cosmetics and get rid of warnings
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
las
P
ennequin
ID3
h
andling
improvements
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
las Pe
n
nequ
i
n
Trig
g
e
r
a C
P
U boost before r
e
ad
i
n
g
from disk
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
D
e
b
u
g output tweaking
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equ
i
n
A
b
un
c
h of
i
mprovemen
t
s
that make
p
lay
b
a
ck of the first
.
.
.
commit
|
commitdiff
|
tree
next