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
Ni
c
olas Pennequin
Rem
o
ve
s
ome disabled code fr
o
m play
b
ack
.
c
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
Pennequin
Inva
l
id
a
t
e
hand
l
e cache
o
n handle
removal
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pe
n
nequin
Change audio_release_trac
k
s() so that it en
s
ures c
l
osing
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
cola
s
Pennequin
Be
t
ter l
o
gic i
n
the buffering
threa
d
loop
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
Pennequin
T
u
r
n bufclo
s
e into a qu
e
ue event se
n
der
t
o
ensure a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pen
n
equin
Protect
t
he
l
inked
list
wi
t
h a
mutex
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
as Penneq
u
in
Some
cleanup/simplification a
n
d an added
comment
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penneq
u
in
Mo
v
e the
c
all to ata_sleep()
in fill_buffer()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
No bufclosi
n
g of
h
andles a
f
ter track change
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add a b
i
t
m
ore debug i
n
fo
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
la
s
P
en
n
eq
u
in
Reint
r
od
u
ce co
d
ec_advance_buff
e
r
_counters()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
D
o
n
'
t
attempt to buffer tracks if
t
here
a
re no more
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Hide the
b
u
f
fering thread and queue inside bu
f
f
e
r
i
ng
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
R
evert "Re
p
lac
e
yield_codec()
with
a call to queue_wait_w_t
m
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Same
as
t
he
pr
e
viou
s
commit
but
w
i
t
h a different callback
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penneq
u
in
Check that met
a
data
i
s
present before calling
b
ack
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
1
0
t
icks is way too
l
ong
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
fi
l
ebuf_is_lowdata isn't n
e
ede
d
anym
o
re
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Replace yield
_
codec() with
a
ca
l
l to queue_wait_w_
t
m
o
()
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pe
n
neq
u
in
R
ebuffe
r
aft
e
r playli
s
t ch
a
nges
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas P
e
nnequin
Enable and co
r
rect
a
udio_invalidate_track
s
t
o make
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
L
i
n
e
len
g
t
hs
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Only attempt
to fill the buffer if i
t
ne
e
ds to
b
e fil
l
ed
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penne
q
uin
Free the buffer more o
f
ten
w
hen t
h
ere is less da
t
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
I
mpro
v
ed bu
f
fer use by fillin
g
wh
e
n
the
disk
is
active
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
Penneq
u
in
The n
u
mber
o
f tr
a
cks for
wh
i
ch
w
e ha
v
e handles is o
n
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequi
n
Ad
d
buffered_data() for lat
e
r us
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Deb
u
g screen fo
r
the buffer
i
ng thread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
nequin
Make dir skipping wor
k
cor
r
ectly a
n
d
pr
o
bably
improv
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
codec_advance_buffer_callb
a
ck
:
Remove un
u
sed code
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
codec_seek_buffer_callback: a
simple bufseek
c
a
l
l is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Mak
e
bu
f
a
d
v
ance rely on bufseek instead of dup
l
ica
t
i
n
g
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pe
n
nequ
i
n
C
o
r
rect bu
f
seek
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
neq
u
in
S
ome code doc
u
mentation
u
p
dates
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pe
n
nequin
R
e
name free_buffer() to shrink_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
audi
o
_
c
urrent_track: Do
n
't use cur
t
rack_id3 if it
'
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
Penneq
u
i
n
Fix warn
i
ng
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Clear
s
t
a
ti
c
stru
c
ts on sto
p
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
las Pennequin
Improve
metadata u
s
e
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penneq
u
in
Pointer cosmetic chang
e
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pe
n
nequin
Silence warni
n
gs on co
l
dfire
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
n
equin
Rename getptr t
o
bufgetcodec a
n
d m
a
ke it ensu
r
e the
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
bufopen: I
m
medi
a
t
ely r
e
q
u
est buffering
for certain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Check fo
r
the case w
h
en
no data is ready
and th
e
requ
i
red
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Rever
t
"Simpl
i
fy codec_r
e
qu
e
st_buffer_callback()
"
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
cu
r
tra
c
k
_
id3 and nexttr
a
ck_id3 sho
u
ld be static
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
i
n
A bit of maintena
n
ce
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Si
m
pl
i
fy codec_r
e
quest_bu
f
f
e
r_callback()
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
Penn
e
quin
Only a
s
k once
f
or b
u
fferin
g
, th
e
n
wai
t
for t
h
e data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Fix bufread
implementation
.
This
fixes problems with
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
e
nneq
u
in
Minor cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
i
n
P
roperly
c
le
a
r
track info
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
reset_handle(): Fix warning and make it sta
t
ic
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
P
enneq
u
in
Fa
c
tor out the
d
u
plicate code from b
u
fadvance
in re
b
uffer_ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Im
p
lement backwards skipping
by commplet
i
n
g au
d
io_
r
ebuffer()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enn
e
q
u
in
Clea
r
warnings an
d
more cl
e
anup
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Cleanup
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
las Pen
n
e
q
uin
Silence the w
a
rni
n
g from re
s
et_ha
n
d
l
e()
commit
|
commitdiff
|
tree
2007-10-25
N
i
col
a
s
Pennequ
i
n
audio_stop_playback(
)
: Release track handles
BEFOR
E
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
S
e
eking
wasn't actully quite correct: make it
s
eek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
P
ennequin
Im
p
lement
r
e
b
uffering for se
e
king ou
t
side o
f
buf
f
ered
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
F
i
x play
b
a
ck resuming
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
ne
q
u
in
P
reve
n
t file descriptor leakage or ove
r
u
se
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
ola
s
Pennequin
codec_filebuf_callback
:
Setting cop
y
_n to
0
was a
V
ERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Silence a
f
ew war
n
ings
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
b
ufclose:
Make sure the handle's file de
s
criptor
is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
bufopen(): Don't immediatel
y
b
u
ffer certain types of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
las Penn
e
quin
co
d
e
c_seek_bu
f
fer_callback(): Ch
e
ck whether it's poss
i
b
le
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Penneq
u
i
n
Unco
m
m
e
nt a part of audio_rebuffer() t
o
make rebuffering
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
When data can
'
t wrap
,
s
tart over
a
t the beginning o
f
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
l
a
s Penneq
u
i
n
Don't ask to
bu
f
f
e
r tracks right after l
o
a
d
ing them
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
A
dd USB conn
e
ction handling t
o
the buffering thread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix trac
k
s
being forgo
t
t
e
n about when there
was no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequi
n
Impro
v
e yield_code
c
a
n
d
use it
better to
make audio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penneq
u
in
bufge
t
data():
f
ix the available vs
.
requi
r
ed
check
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix a
stup
i
d b
u
g that ca
u
sed
s
om
e
h
a
ndles
n
ot t
o
be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
la
s
P
enneq
u
in
Introd
u
ce yield_codec(), simi
l
ar t
o
the
o
riginal audio_
y
ield
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas P
e
nnequin
Make the target behave
t
he same as the
s
i
m (don't care
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
as P
e
nnequ
i
n
Trying to
m
ake audio start play
i
ng faster
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Fix
p
layback stoppin
g
b
y
clo
s
ing a
l
l track handles
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pe
n
ne
q
uin
A f
e
w c
o
mment twe
a
ks
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Add a test in audio_
c
urrent_tra
c
k
()
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s Pennequ
i
n
Do
t
he initial
pop
u
l
a
ting of the sta
t
ic ID3 struc
t
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas P
e
nnequin
Make audio_read_next_metadata a b
i
t safer
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Minor correcti
o
n of a comment
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Use id
3
_h
i
d rather than t
a
ginfo_ready to know if ID3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Request buffering of th
e
current tr
a
c
k
if it is t
o
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
A
d
d
some synchronisation to pre
v
e
n
t some deadl
o
cks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
M
a
ke
basic see
k
i
n
g ac
t
ually work
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Add close_tra
c
k_handl
e
s and reenable audio
_
cl
e
ar_tra
c
k_e
n
tri
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Relea
s
e da
t
a for th
e
fi
n
ished track on t
r
ack change
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Store filesize on l
o
ad
.
This make
s
b
asic seeking wor
k
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Start u
s
ing "fil
l
i
ng
"
c
o
rrectly to make more tracks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Remove
th
e
t
e
st plugin
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Incremen
t
track_widx af
t
er loading a track
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penn
e
qu
i
n
Cosmetics and get rid
o
f w
a
rnin
g
s
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
n
equ
i
n
ID3 handling im
p
rov
e
men
t
s
commit
|
commitdiff
|
tree
2007-10-25
N
i
col
a
s Pennequin
Trigger a CPU boost before
r
eading f
r
om di
s
k
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Debug o
u
tput tweaking
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
Pennequin
A b
u
n
c
h of improvements
that make pla
y
back o
f
the first
.
.
.
commit
|
commitdiff
|
tree
next