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
Nico
l
as Pennequ
i
n
Rebuff
e
r a
f
t
e
r playl
i
st chan
g
es
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las P
e
nnequin
Enable and c
o
rrect audio_invalidate_tra
c
k
s
to
m
ake
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Penne
q
uin
Line l
e
n
gt
h
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Only attempt to
fill the buf
f
er if it need
s
to
be filled
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequi
n
Fr
e
e the
b
uffer mor
e
o
ften when
t
here
is less dat
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penn
e
quin
Improved buffer use by filling when the
d
i
sk is
active
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
P
e
n
nequin
T
h
e
number
o
f tra
c
ks for which we have handl
e
s
i
s
one
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
Penn
e
quin
Add buffered_data(
)
f
o
r later
u
s
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
e
q
uin
Debu
g
scr
e
en fo
r
the buffering thread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Make di
r
s
ki
p
ping work correctl
y
a
nd p
r
obably impr
o
ve
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
c
o
dec_ad
v
ance_buffer
_
ca
l
lback: Re
m
o
ve u
n
u
s
ed code
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
codec_seek_buf
f
e
r_cal
l
b
ack: a simple bufseek call is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
n
e
qui
n
Ma
k
e bufadvance rely
on bufsee
k
in
s
tea
d
of duplicating
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Corr
e
ct bufs
e
ek
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pen
n
equin
Some co
d
e docum
e
ntation updates
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
R
e
name free_buffe
r
() to
s
hr
i
n
k_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Penne
q
uin
audio_current_tra
c
k
:
D
on't us
e
curt
r
ack_id
3
if it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
P
enne
q
ui
n
F
i
x w
a
rning
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Clear static s
t
ructs on
s
t
o
p
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Penneq
u
in
Improve
m
etadata use
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
P
ointer cos
m
etic
c
hanges
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Silence warnings on coldfire
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
as Penne
q
u
i
n
Rename getptr to bufgetcod
e
c and make it ensure
th
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
enne
q
u
i
n
bufopen: Immediately
reques
t
b
uffering
for c
e
rta
i
n
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Che
c
k for the case when no da
t
a is ready and the requir
e
d
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
P
enn
e
quin
Revert "Si
m
plify
c
o
d
ec_req
u
e
st_buffer
_
cal
l
bac
k
()"
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
n
eq
u
in
curtrac
k
_id3 and nexttrack_id3 s
h
ould b
e
stat
i
c
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
A bit
of m
a
i
ntenan
c
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
S
i
mplif
y
codec_request_bu
f
fer_c
a
llback()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
On
l
y
ask
o
nce fo
r
buf
f
ering,
t
hen wait
f
or
the da
t
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
P
ennequin
F
i
x bufread impl
e
m
e
ntation
.
This fixes problems with
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
Pennequi
n
Min
o
r cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
P
rop
e
rly cle
a
r
t
rack info
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
reset_handle(): Fi
x
warn
i
n
g an
d
mak
e
it static
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penneq
u
in
Factor out t
h
e
d
u
p
licate code fro
m
bufadvance in rebuffer_ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Imp
l
ement back
w
ard
s
skipping
b
y com
m
pleting audio
_
r
ebuffer
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
C
le
a
r warnings and mo
r
e cl
e
a
n
up
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Cl
e
a
n
up
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
qui
n
S
ilenc
e
the
warning
f
rom rese
t
_h
a
n
d
l
e()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
a
udio_stop_p
l
a
y
back()
:
Release track handle
s
BEFORE
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
P
e
n
nequin
Seeking wasn't a
c
tully
q
uite correct: ma
k
e
it seek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Impl
e
ment
r
ebuffering
for seeking outside of buffered
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penneq
u
in
F
ix pl
a
yback resuming
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
P
enne
q
ui
n
Prevent file desc
r
iptor leakage or overuse
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
co
d
ec_f
i
lebuf_callback: Settin
g
copy_
n
to
0 was a VERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
P
e
n
nequin
S
ilence
a
few wa
r
n
ings
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
b
u
f
cl
o
se
:
Mak
e
sure the handle's f
i
le d
e
scr
i
ptor is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
Pennequi
n
bufop
e
n(
)
: Don
'
t immediately buffe
r
cer
t
ai
n
type
s
o
f
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
col
a
s Pennequin
codec_seek_buffer_callba
c
k
(): Check w
h
ether it's p
o
ssi
b
l
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas
Pe
n
neq
u
i
n
Un
c
omment a
p
art of audio_rebuf
f
er()
t
o
make
r
ebuffering
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
W
hen data can't wrap,
start over at th
e
beg
i
n
n
in
g
o
f
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penn
e
qu
i
n
Don'
t
ask to buffe
r
tra
c
ks r
i
ght af
t
er load
i
ng
t
h
em
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enneq
u
i
n
Add USB connect
i
o
n handling to
t
h
e
b
u
f
fering thread
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penne
q
uin
Fix tracks
being forgotten abou
t
when there was no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Improve yield_c
o
dec and use
i
t better to make a
u
dio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
ico
l
a
s
Penn
e
quin
bufg
e
tdata(
)
: f
i
x the av
a
ilable vs
.
requ
i
red check
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
Penneq
u
in
Fix a stupid
bug that c
a
used some
han
d
les
n
ot to be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
I
ntroduce yield_codec(), similar to the original audio_yield
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pe
n
neq
u
in
Make the target behave the same as the si
m
(don't care
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
las P
e
n
n
e
q
u
in
Trying to
m
ake audio start playing
f
aster
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Fix playbac
k
stopping
b
y
closi
n
g all tr
a
c
k handles
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s Pennequi
n
A
f
ew com
m
ent tweaks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
A
dd a test in
a
u
d
i
o
_current_track()
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
D
o the initial popul
a
ting
o
f t
h
e static ID3 structs
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
las Pennequin
Make
aud
i
o_read
_
next_metadata a bit safer
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penneq
u
in
Minor
c
orrection
o
f
a comment
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penn
e
quin
Use id3_hid rather than taginfo_rea
d
y
t
o know
if I
D
3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Request buffering of t
h
e current track if it
i
s to
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add some syn
c
hronisation to prevent some deadlocks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Make basic seeking actually work
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
e
q
uin
Add close_track_han
d
l
es and reenable audio_clear_track_entri
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penn
e
quin
Re
l
ease data for the finished
t
rack on track c
h
a
nge
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
P
ennequin
Store filesize on load
.
This makes basic
s
ee
k
ing work
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
l
as Penn
e
quin
Start using "f
i
lling" correctly to make more tracks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
Penn
e
quin
Rem
o
v
e the test plug
i
n
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
neq
u
in
I
n
crement track_widx af
t
e
r
loading
a track
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Cosmetic
s
a
n
d get
r
id of warni
n
gs
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
I
D
3 handling impr
o
vements
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s Pennequi
n
Trigger a CPU boost
be
f
ore re
a
d
in
g
from disk
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Debug output tweaking
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
ennequin
A
b
u
n
ch of improveme
n
t
s that ma
k
e
p
layb
a
c
k
of the f
i
rst
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
A
d
d a
get_
o
f
fset
A
PI call to make codec_advance_bu
f
fer_loc
_
c
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
A coup
l
e m
o
re tweaks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
F
ix
a
stup
i
d b
u
g
that prev
e
nted the buffering s
y
s
tem
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enn
e
quin
Brutally m
a
k
e play
b
ack
.
c compile by
dis
a
bling lots
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pen
n
equin
Mo
r
e twe
a
king
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Di
s
able codec_pcm
b
uf_
p
osition
_
callback for now
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
More tweaks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Tweak codec_a
d
v
a
nce_buffer_callback()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Add the b
u
fused() API call
t
o replace the FILEBUF
U
SED
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Fix the er
r
or and warni
n
g in b
u
ffering
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Ada
p
t audio_
l
o
a
dcodec() an
d
add a sp
e
cia
l
behaviour
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
n
e
quin
A bit
of adapting
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penn
e
quin
CUR_TI-
>
id3
is now curtrack_id3
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Change st
r
u
ct
t
rack_in
f
o
, a
d
d bufgetid
3
to
playbac
k
.
c
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
Pennequin
Add buffering_init() and rename GUARD
_
SIZE t
o
GUAR
D
_BUFSIZE
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pen
n
equ
i
n
play
b
ack
.
c: A
d
d the buffe
r
ing t
h
r
e
ad
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ola
s
P
enneq
u
in
Init
i
al Metadata-
O
n-Buffer fi
l
es comm
i
t
.
commit
|
commitdiff
|
tree
2007-10-25
learman
F
a
c
t
o
r out some c
o
mmon code, for simplicity (I
h
ope
.
.
.
commit
|
commitdiff
|
tree
2007-10-14
learman
Update
Swedish tr
a
nslation
.
commit
|
commitdiff
|
tree
next