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
Free the buffer more often when there is less data in it
2007-10-25
N
icola
s
Pennequ
i
n
Free
t
h
e
buffer more often wh
e
n there i
s
less data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
I
mproved buffer use by fi
l
ling when the disk is active
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
T
h
e number of t
r
acks
f
or
which we h
a
ve handles is
one
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas P
e
n
n
e
quin
Add buffered_da
t
a()
f
or later
us
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nn
e
qui
n
Debug screen for the buffering thread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enn
e
qui
n
Ma
k
e dir skipping work correct
l
y and probably
improve
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penne
q
uin
codec_a
d
vance_
b
u
f
fer_
c
a
l
lback: Remov
e
unused code
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
co
d
e
c
_
seek_buffer_callback: a simple bufseek call is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make bufadvance r
e
ly on b
u
fseek instead of duplicat
i
n
g
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas P
e
nn
e
quin
Correct bufseek
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pe
n
n
equin
Some code docume
n
tation up
d
a
tes
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
R
e
na
m
e
f
r
ee_buffer() to shrink
_
handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
audio_current_
t
r
ack
:
D
on'
t
use
curtrack_id3 if it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
col
a
s Pen
n
equi
n
F
i
x war
n
in
g
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Cl
e
ar stati
c
s
t
ructs o
n
stop
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pen
n
e
q
ui
n
Improve metad
a
ta use
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Po
i
nter cosmetic c
h
ange
s
commit
|
commitdiff
|
tree
2007-10-25
N
icolas P
e
nnequin
Sile
n
c
e
warnings on
coldf
i
re
commit
|
commitdiff
|
tree
2007-10-25
N
i
col
a
s Pennequin
Ren
a
me get
p
t
r
to bufgetcode
c
and make it ensure th
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
buf
o
p
e
n: I
m
media
t
ely request buffering for ce
r
tain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas P
e
n
n
equin
Che
c
k f
o
r th
e
case when no data is read
y
and the
r
equir
e
d
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
cola
s
Pennequin
Re
v
ert "Simp
l
i
f
y
codec_request_buff
e
r_callback()"
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
c
urtr
a
ck_id3 and nexttrack
_
i
d3 sh
o
uld b
e
static
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
A
b
it of mainte
n
a
nce
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
Penneq
u
in
Simplify
c
od
e
c_req
u
es
t
_b
u
ff
e
r_callback()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
O
nly ask
on
c
e
for bu
f
f
ering, then wait for th
e
data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequ
i
n
Fix bu
f
rea
d
implementation
.
This
f
ixes pro
b
lems with
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penne
q
uin
Minor
c
leanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
P
r
operly clear track i
n
fo
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
reset_hand
l
e(): Fix w
a
r
n
ing and make
i
t static
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
e
nnequin
Factor out t
h
e duplicate cod
e
from bufadva
n
ce in rebuffer_
h
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
nnequin
Imp
l
ement backward
s
skipp
i
n
g
b
y
commpleting a
u
dio_
r
ebuf
f
er()
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
Pen
n
equi
n
C
lear war
n
ing
s
a
nd more cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
C
lea
n
up
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Silence the w
a
rning from reset
_
h
andle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
audio_stop_playback(): Rel
e
ase track h
a
ndles BEFOR
E
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Se
e
king wasn'
t
actully quite correc
t
: make it
se
e
k
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Implem
e
nt re
b
uf
f
er
i
ng for seeking outside of buffe
r
e
d
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
F
ix playbac
k
resuming
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
las Pe
n
nequin
Pre
v
ent file descriptor leakage or
ov
e
ruse
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
codec
_
filebuf_callback: Setting
copy
_
n
t
o 0 was
a
VERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nneq
u
in
Silence a few warnings
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
bufclose: Make
sure t
h
e
h
andle's file descriptor
i
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
bufopen(): Don't imme
d
iate
l
y buffer c
e
rtain
t
yp
e
s of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
codec_seek_buffe
r
_callback(): C
h
eck whet
h
er it's poss
i
bl
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las P
e
nnequ
i
n
Uncomment
a part of
audio_re
b
uffe
r
()
to m
a
ke rebuffer
i
ng
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las P
e
nnequin
When
data can't wrap, start o
v
er at the be
g
inning of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
D
o
n't ask to buffer tracks
right aft
e
r
l
oading
t
hem
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
A
d
d
U
SB connection handling to
t
h
e bufferi
n
g thr
e
a
d
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penne
q
uin
F
ix
tracks bein
g
fo
r
gotten abou
t
when t
h
ere
w
as no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Improve yield_codec and use it better to make audio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
P
ennequin
buf
g
etdata(
)
: fix the
a
v
ailable vs
.
r
equired check
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Fi
x
a stupid bu
g
that
c
aused some
handles not t
o
be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
Pennequin
Introd
u
c
e
yiel
d
_
c
odec
(
), sim
i
lar to the o
r
igi
n
al a
u
d
i
o_yiel
d
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
eq
u
in
Make the targ
e
t behave the s
a
me a
s
the sim (do
n
't
ca
r
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penne
q
uin
Try
i
ng t
o
make
aud
i
o start playing f
a
ste
r
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix pla
y
b
a
ck stopping
by
c
losing all track handles
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
ico
l
a
s Pennequin
A few comment tweak
s
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
P
ennequin
Add a te
s
t in audio_current_track()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enne
q
uin
Do the in
i
tial
populating of the static ID3 structs
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
las P
e
nnequin
M
a
ke audi
o
_read_next_m
e
tad
a
ta a bit
safer
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Mino
r
corr
e
c
t
i
o
n o
f
a
c
ommen
t
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Use id3_
h
id rather than t
a
g
info_ready
t
o kno
w
i
f ID3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Request buffering of
t
he curre
n
t tra
c
k if it is
t
o
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
Pennequin
Add
some synchronisation to
pr
e
vent some deadlocks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Mak
e
basi
c
seeking act
u
ally work
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s Pennequin
A
d
d close_tr
a
ck_handles
and reenable audio
_
clear_tr
a
c
k
_e
n
tri
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penne
q
u
in
R
elease d
a
ta
f
o
r
the finish
e
d track on
t
ra
c
k change
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequi
n
Sto
r
e filesize on loa
d
.
T
his
m
a
kes basic seeking
w
o
r
k
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Start us
i
ng
"filling" corr
e
ctly to
m
ake more track
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Rem
o
ve
the test plugin
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Increme
n
t tr
a
ck_widx
aft
e
r loa
d
ing a track
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Cosmetics
an
d
get rid
o
f warn
i
ngs
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
ID3
h
an
d
ling i
m
proveme
n
ts
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequi
n
Trigg
e
r
a CP
U
boo
s
t
bef
o
re reading from di
s
k
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
D
ebug output twe
a
king
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
A
b
u
nc
h
of improvemen
t
s that mak
e
playback of t
h
e
first
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Add
a
ge
t
_o
f
fset AP
I
call
to m
a
ke codec_advance_buffer_
l
oc_
c
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
A cou
p
le more tweaks
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Fix a stupid
b
ug that prevente
d
the
buffering system
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Brutally make pl
a
yback
.
c
compile by d
i
sabling lots
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pen
n
equin
More t
w
eakin
g
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
las P
e
nneq
u
in
Di
s
able cod
e
c_pcmbuf_
p
o
sition_callba
c
k for now
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
M
ore tweaks
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penne
q
uin
Tweak codec_advance_buffer_callback
(
)
commit
|
commitdiff
|
tree
2007-10-25
N
icolas P
e
nnequin
A
d
d the bufuse
d
() A
P
I call
to replace t
h
e FILEBUFUS
E
D
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Fix the error and warning in buffering
.
c
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
las Penne
q
uin
Adap
t
audio_loadcodec() and
a
d
d
a
special behaviour
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
A bit of a
d
aptin
g
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
CUR_TI->id3 is now curtrack_
i
d3
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Chang
e
s
truct track_
i
nf
o
, add bufgetid3 to playbac
k
.
c
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
ennequin
A
dd bu
f
fering_
i
nit() and rename GUARD_SIZE to
GUAR
D
_BUFSIZ
E
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
playb
a
ck
.
c: Add the
b
uffering threa
d
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
P
ennequin
In
i
tial Metadata-On-Buffer files commit
.
commit
|
commitdiff
|
tree