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
Rebuffer after playlist changes
2007-10-25
Nic
o
las Penn
e
quin
R
e
buffer a
f
ter pla
y
list changes
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pennequin
Enable and cor
r
ect audio_inval
i
date_tracks t
o
m
a
ke
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Line l
e
ngths
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penn
e
qui
n
Onl
y
at
t
e
mpt t
o
fil
l
the buffer i
f
it
n
eeds t
o
be filled
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penn
e
quin
Free the buffer more
o
ften when there is less data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Improv
e
d buffer
use by fillin
g
when
the disk is
a
cti
v
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penne
q
uin
The number of tracks
f
or wh
i
ch we h
a
ve handles is one
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
nnequ
i
n
A
dd buffered_data() for later use
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
n
n
equin
D
e
bug screen for the buffer
i
ng threa
d
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Make di
r
s
kipping wo
r
k correctly an
d
prob
a
bl
y
imp
r
ove
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
Pennequin
c
odec_advance
_
buffer_call
b
ack:
R
emove unused code
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
c
o
d
ec_seek_buffer_c
a
llback: a simple bufseek cal
l
is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
col
a
s Pennequin
Make bu
f
ad
v
ance
r
ely on bufseek inst
e
ad of duplicat
i
ng
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s Pennequi
n
C
o
rrect bufseek
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Som
e
c
o
d
e
docume
n
tation updates
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Rename free_buffer() to shrink_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
audio_c
u
r
re
n
t_track:
D
on't use
cur
t
r
a
ck
_
i
d
3
if it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pennequi
n
Fix warning
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
Penneq
u
in
Clear stati
c
str
u
cts on
s
top
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Improve metadata u
s
e
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequ
i
n
Poi
n
ter cosmetic c
h
anges
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nne
q
uin
Si
l
en
c
e
w
arnings on coldf
i
re
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Rename getptr to b
u
fgetcodec and
m
ake it
ens
u
re the
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
bufo
p
en: Immediately reque
s
t buffering
f
o
r
c
ertain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Check for the case when n
o
data is ready and the required
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Revert "Sim
p
li
f
y codec_request_buffer_callback
(
)"
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
curtrack_id3 and ne
x
ttrack_id3 shoul
d
b
e
s
t
atic
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penn
e
quin
A b
i
t of maintenance
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Simplify co
d
e
c_reques
t
_buffer_c
a
l
lbac
k
()
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Only ask once f
o
r
buffering, then wait for the data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
las Pennequin
Fix bufread implementation
.
Th
i
s
f
i
xes problems with
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Min
o
r c
l
eanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Properly clear
t
ra
c
k i
n
fo
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
qui
n
reset_handle(): Fi
x
warning and make it
static
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
la
s
Pennequin
Factor out
t
he d
u
plicate code from bufadvance in rebuf
f
e
r_ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
P
ennequin
Impl
e
me
n
t
backwards skipping by com
m
pleti
n
g audio_rebuffer()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Clear warn
i
ngs
a
n
d mo
r
e
clean
u
p
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las P
e
n
n
equin
Sil
e
nce the warning fr
o
m re
s
et_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nne
q
u
i
n
a
u
d
i
o
_stop_playback
(
): Release track h
a
ndles
B
E
FORE
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pe
n
nequin
S
e
eking wasn't actu
l
l
y quite correct: make it seek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
las Pennequin
Implement
r
eb
u
ffering for
s
ee
k
ing out
s
ide of buffer
e
d
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Fix playback resumi
n
g
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
l
as Pennequin
P
r
even
t
f
i
l
e descriptor
leakag
e
or ove
r
use
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
codec
_
fil
e
buf_callback:
Setting co
p
y_n to 0 was
a
VERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
ui
n
S
ilence a few wa
r
nings
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
bufclose: Make sure th
e
handle's file descriptor is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
P
ennequin
bufop
e
n(): Don't im
m
ediately bu
f
fe
r
certa
i
n types of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penneq
u
in
codec_seek
_
buffer_callback(): Check
whet
h
er it's po
s
sible
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
cola
s
Pen
n
equi
n
Uncomment
a
p
art o
f
audio_rebuffer() to make
r
ebufferin
g
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
When
d
a
ta can
'
t wra
p
, start over at t
h
e
b
eginn
i
ng of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
D
on't ask to buff
e
r
t
rac
k
s
rig
h
t after loading
the
m
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penne
q
uin
Add USB connection hand
l
ing to the buffering thread
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pe
n
nequin
Fix
tr
a
cks being for
g
o
tten ab
o
ut when there was no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Impr
o
v
e
yield_code
c
and use i
t
bett
e
r
t
o ma
k
e aud
i
o
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pe
n
n
equin
b
uf
g
etdata(): f
i
x the
a
v
a
il
a
ble vs
.
requ
i
red check
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Fix a stupid bu
g
t
h
at caused s
o
me handles n
o
t
to be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
la
s
Pennequi
n
Int
r
oduce yield_code
c
(), similar
to the orig
i
n
a
l audi
o
_yi
e
ld
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Mak
e
t
he
t
arget
behave
t
he same as
t
he sim (don't care
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Trying to make au
d
i
o
s
t
ar
t
playing faster
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
cola
s
Pe
n
n
e
quin
Fix playb
a
ck stopping by
closing
a
ll tra
c
k ha
n
dle
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pe
n
nequin
A
f
ew comment tweaks
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pe
n
nequin
Add
a
test in au
d
io_c
u
r
rent_track()
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
ola
s
Pennequ
i
n
Do the initi
a
l
populating of the s
t
atic ID3 s
t
ructs
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Make a
u
dio_read_next_meta
d
ata a bit
s
a
fer
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pe
n
n
e
qui
n
Minor
correction of a comment
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Use id3_
h
id rather than ta
g
i
n
f
o
_ready
t
o know if ID3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
R
e
quest buffering of the curr
e
nt
t
r
ack if it
i
s
to
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Ad
d
some syn
c
hronisatio
n
to p
r
event some deadlocks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Make basic seeking
a
c
tually wo
r
k
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add c
l
ose
_
t
r
ack_h
a
n
dles and
r
een
a
bl
e
a
u
dio_
c
lear
_
track_entr
i
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Release data for the fini
s
hed track
o
n track change
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
ola
s
P
e
n
neq
u
in
Store
f
ilesize
o
n load
.
T
his m
a
kes basic
s
eeking work
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penneq
u
in
Start using
"filling
"
correc
t
ly to
make more tracks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Re
m
ov
e
the
t
est plugin
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Increme
n
t
tra
c
k_widx after lo
a
d
i
ng
a
tr
a
c
k
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Cosmetics and get
rid o
f
w
arnings
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
ID3 h
a
ndli
n
g im
p
rove
m
e
n
ts
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las P
e
n
nequi
n
Trigger a CPU boost
before readi
n
g from disk
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Debug output tweaking
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
A bunch of improvemen
t
s that
m
a
k
e playback o
f
th
e
firs
t
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequi
n
Ad
d
a
g
et_o
f
fse
t
API call to make codec_advance_bu
f
fer
_
loc_c
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequin
A
c
ouple
more tweaks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequ
i
n
Fi
x
a stupid
bu
g
tha
t
preve
n
te
d
the buffering syste
m
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
B
r
ut
a
lly
ma
k
e
pl
a
yback
.
c
c
ompile by di
s
ablin
g
lots
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
las Penneq
u
in
More tweaking
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
nneq
u
in
Disable c
o
dec_pcmbuf_position_callback fo
r
n
o
w
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequi
n
M
ore tweaks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
n
nequin
Tweak codec_advance
_
buffer_callback()
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
A
dd the
b
ufused() API call to replace the
FIL
E
B
U
FUSED
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
F
i
x
the error and warning
in bufferi
n
g
.
c
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pen
n
equin
Adapt au
d
io_loa
d
codec() a
n
d
a
dd a special behaviour
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penn
e
quin
A bit of adapting
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
a
s Pennequin
CUR_TI->id3 is now curt
r
ack_id3
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enn
e
quin
Change struc
t
track_info
,
add bufgetid3 t
o
playback
.
c
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas P
e
nn
e
quin
Add bu
f
fering_init() and
rename
G
U
ARD
_
S
I
Z
E
to GUARD
_
BUFSIZE
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
qui
n
p
la
y
back
.
c: Add
t
h
e
buffering thread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
I
nitial Metadata
-
On-
B
u
ff
e
r
f
iles commit
.
commit
|
commitdiff
|
tree