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
Nicolas Pe
n
n
e
quin
Rebuffer after
p
layl
i
st changes
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequ
i
n
Enable a
n
d correct a
u
d
i
o_invalidate_tracks to ma
k
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Li
n
e length
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enne
q
uin
Only
attempt to fi
l
l the buf
f
er if i
t
needs to be filled
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Free the
b
uffer more
o
ft
e
n when there is less
d
a
ta
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
I
m
proved buffer use by filling w
h
en t
h
e disk is a
c
tive
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enne
q
u
i
n
The
n
umber of t
r
a
c
ks
f
or which w
e
h
ave ha
n
dl
e
s is one
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pe
n
n
equin
Add b
u
ffered_
d
at
a
() for later use
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
ne
q
uin
Debug sc
r
een for the buf
f
ering
t
hre
a
d
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make dir
skipping
w
ork correct
l
y an
d
probabl
y
improve
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
la
s
Pennequin
co
d
ec
_
ad
v
ance_buffer_callback: Re
m
ove u
n
us
e
d code
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penn
e
q
u
in
codec_seek_b
u
ffer_c
a
llback: a s
i
mple bu
f
seek
c
all is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Make bufadvance rely on bufs
e
e
k
instead of
d
upl
i
c
ating
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pen
n
equin
Correct bufsee
k
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Som
e
code document
a
tion updates
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
R
en
a
me free_buffer() t
o
s
h
rink_hand
l
e
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
e
q
u
in
audi
o
_current_
t
rack: Don't
use curtrack_id3 if it
'
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
F
i
x war
n
ing
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Clear static stru
c
ts on
stop
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequi
n
I
mprove
me
t
adata
use
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penn
e
quin
Poin
t
er cosmetic chang
e
s
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penn
e
quin
Silence warnings o
n
coldfire
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Rename
ge
t
ptr t
o
b
ufg
e
tcodec
a
nd make
i
t en
s
u
r
e the
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
bufopen:
I
m
m
e
di
a
tely request buffe
r
ing for certain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequi
n
Check for the
c
a
se when no d
a
ta is read
y
and t
h
e requ
i
red
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
R
e
v
ert "Simpl
i
fy
c
odec
_
request_b
u
ffer_callback()"
commit
|
commitdiff
|
tree
2007-10-25
N
icol
a
s
P
enneq
u
in
curtrack_id3
a
nd nexttrac
k
_id3 should be sta
t
ic
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
A b
i
t
of mai
n
tenance
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pen
n
e
q
uin
S
implify cod
e
c_r
e
quest_buffer_callback()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
O
n
l
y ask on
c
e for buffering, then wait for the data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
F
i
x buf
r
ead imple
m
ent
a
tion
.
Th
i
s fixes problems
w
i
th
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
ico
l
a
s
Pen
n
equin
Minor cleanup
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penn
e
qu
i
n
P
roperly clear track
i
nfo
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pe
n
neq
u
in
r
eset_
h
an
d
le(
)
: Fix w
a
rning and make it static
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequi
n
Factor out the dupl
i
cate code
f
rom bufadvance in reb
u
ffer_ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Imp
l
ement b
a
c
k
w
a
rds s
k
i
p
p
in
g
b
y comm
p
leting audio_rebuffe
r
()
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
P
ennequin
Clear war
n
ings and m
o
re cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Cl
e
a
n
u
p
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penneq
u
i
n
Silence
t
he warning from reset_handle(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
a
udio_stop_playback():
Release
t
rac
k
handles B
E
FORE
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Seeki
n
g w
a
s
n
't ac
t
ully quite c
o
rrect: make it seek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Imple
m
ent r
e
buffe
r
in
g
for seeking outside of buffered
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Fix playb
a
ck resuming
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penne
q
u
i
n
Prevent file desc
r
iptor leakage o
r
overuse
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
codec_filebuf_call
b
a
c
k
:
Se
t
ting copy
_
n to
0
w
a
s a VERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
en
n
equin
Sile
n
ce a fe
w
warnings
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
bufclose: Make sure t
h
e handle's file
desc
r
iptor is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icol
a
s Pen
n
eq
u
in
bufopen(): Don't i
m
mediat
e
l
y b
u
ffer certai
n
types of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
codec
_
s
eek_buffer_callb
a
ck
(
): Check whether it's
po
s
sible
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
i
n
Uncomme
n
t
a
p
art of au
d
io_rebuffer()
to
m
ake
r
e
buf
f
ering
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
When dat
a
can't
wrap, start over at the beginning of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
q
u
in
Don
'
t ask to buffer
tracks right after load
i
ng them
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pe
n
n
e
q
u
in
A
dd USB c
o
nnection handling to the b
u
ffering thread
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ola
s
Pennequin
Fi
x
t
racks be
i
ng forgotten
about wh
e
n there was
n
o
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penn
e
quin
I
mpr
o
v
e yield_codec and use
i
t better to make a
u
d
i
o
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
n
e
quin
bufge
t
da
t
a(): fix t
h
e available vs
.
r
e
q
uired che
c
k
.
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
las
P
e
nnequin
Fix a stupid b
u
g
that caused some
h
a
n
dles not
t
o be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
In
t
roduce yield_codec
(
), si
m
i
l
ar to
the origi
n
al audio_y
i
eld
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make th
e
target
b
eh
a
ve the sa
m
e a
s
the sim
(don't care
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
l
a
s Pennequin
Trying to make
audio s
t
art playing
faste
r
.
commit
|
commitdiff
|
tree
2007-10-25
N
icol
a
s Pennequin
Fix playback stopping by closin
g
a
l
l track
h
andl
e
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
A
few comm
e
n
t
t
w
eak
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add
a test i
n
aud
i
o_current_tra
c
k()
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Do
t
he initial populati
n
g of
t
h
e
static
I
D3 structs
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penneq
u
in
M
a
ke
audio_r
e
ad_
n
e
xt_metad
a
t
a
a
bit
s
af
e
r
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequ
i
n
Mino
r
correction o
f
a comment
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penneq
u
in
Use id3_hid
rather
t
h
a
n tagi
n
fo_rea
d
y to know if ID3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequ
i
n
Re
q
uest buffering o
f
the current trac
k
if it is
t
o
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nn
e
qu
i
n
Add some synchroni
s
ation
t
o
prevent some deadlocks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Make
bas
i
c seeking actua
l
ly wor
k
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Add clos
e
_tra
c
k_handles and
r
eenab
l
e au
d
io_clear_
t
rack_entri
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Releas
e
data for th
e
finished track on track change
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
col
a
s Pennequin
S
to
r
e filesize on load
.
This
m
a
k
es ba
s
ic
seeking wo
r
k
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
nnequ
i
n
Start using "fi
l
ling" correctly to mak
e
m
o
r
e
tracks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Remove
the test plugin
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
P
ennequin
Increm
e
nt trac
k
_widx after loadi
n
g a track
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
e
nnequin
Cosmetics and get ri
d
of
warnings
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
I
D3 handling improvements
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Tr
i
gger a CPU boost
b
efo
r
e re
a
di
n
g from disk
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Debug o
u
tput
t
weaking
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
A bunch o
f
improvements that
m
a
k
e p
l
ayback of
the first
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Penneq
u
in
A
d
d a
get_offset API ca
l
l t
o
make codec
_
adva
n
ce_buffer_loc
_
c
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
A coupl
e
m
ore tweak
s
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Fix a stupid bug that prevented the bu
f
fering system
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Br
u
t
ally make play
b
ack
.
c compile by
d
isabling lo
t
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas P
e
n
nequin
More
t
we
a
king
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
P
ennequin
Disable codec
_
pcmbuf
_
position_ca
l
lback for no
w
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
More
tweaks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penn
e
qu
i
n
Twe
a
k codec_advance_buf
f
er_callback()
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Add the b
u
fused(
)
API
c
all to replac
e
the FILEB
U
F
U
SED
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penne
q
uin
Fix
t
he e
r
ror a
n
d warning in buffering
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s Pen
n
equin
Adapt audi
o
_loadcodec() an
d
add a specia
l
beha
v
iour
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
A bit of adaptin
g
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
CUR_TI->id3 is n
o
w curtrack_
i
d3
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Change s
t
ru
c
t track_i
n
f
o
, add buf
g
etid3 to playback
.
c
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Add bu
f
fering_init()
and
r
enam
e
GU
A
RD
_
SIZE
to GUARD_B
U
FSIZE
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
p
l
a
yback
.
c: Add the bu
f
fer
i
ng
t
hread
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
Pennequin
Initial Metadata-On-B
u
ff
e
r files c
o
m
m
it
.
commit
|
commitdiff
|
tree