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
Hide the buffering thread and queue inside buffering.c
2007-10-25
Nicolas Penne
q
uin
Hide th
e
buffe
r
ing th
r
ead a
n
d que
u
e inside buffering
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pe
n
nequin
Rever
t
"Repl
a
ce
yi
e
ld_codec() with a cal
l
to que
u
e_wait_w_tm
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
S
a
me as the pre
v
io
u
s commit but with a different
callback
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
C
he
c
k t
h
at me
t
ada
t
a is present before calling back
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
nnequin
10 tic
k
s is way too long
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
fi
l
ebuf_is_lo
w
d
a
ta
i
s
n
't
neede
d
anymore
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
en
n
equin
R
e
place yield_codec() w
i
th
a
call
to
q
ueue_wait_w_tmo()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
R
e
bu
f
fer
a
f
ter playlist changes
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
en
n
equin
Enable and corr
e
ct audio
_
invalid
a
te_tracks t
o
make
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s Penne
q
uin
Line lengths
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Only attempt
to fill the buffer if
it
n
e
e
d
s
to be fil
l
ed
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Free
the buffer
more often when ther
e
is less data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pe
n
neq
u
i
n
Imp
r
oved b
u
ffer use by filling when
th
e
disk
is a
c
ti
v
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
Penne
q
uin
The
n
u
mber of track
s
fo
r
which
we have ha
n
dles i
s
one
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
col
a
s
P
enneq
u
in
Add
b
u
ffered_d
a
ta()
fo
r
la
t
er u
s
e
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
P
ennequin
Deb
u
g scree
n
for the buffer
i
n
g
thread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Make dir skipping work correc
t
ly and
probabl
y
improve
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
codec
_
advance_buffer_callba
c
k: Remove unused code
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
a
s Penne
q
ui
n
codec_s
e
ek_buff
e
r_c
a
llback: a
s
i
mple bufseek c
a
ll is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Make bufa
d
vanc
e
r
ely on bu
f
seek
i
n
s
t
ead of duplic
a
ting
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penneq
u
i
n
C
orrec
t
bufseek
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Some
c
ode documentation u
p
d
a
t
e
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
neq
u
in
Rename free_
b
uffer(
)
to shrin
k
_han
d
le()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
audio_cur
r
ent_tr
a
ck: Don't
u
s
e curtrack
_
id3 if it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Fix warn
i
ng
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
nnequin
Clear static
s
t
ructs on stop
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
ui
n
Improve m
e
tadata use
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
P
ennequin
Pointe
r
cosm
e
tic c
h
an
g
es
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
P
ennequin
Si
l
ence warnings
o
n
cold
f
ire
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Rename getptr to bufgetcodec and make it ensu
r
e
the
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
P
e
nn
e
q
u
in
b
u
fopen
:
Immediately request buffe
r
i
n
g for certain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Ch
e
ck for th
e
case wh
e
n no
d
at
a
is
r
e
a
d
y
a
nd t
h
e r
e
q
uired
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
R
evert "Simplify codec_request_buffer_callba
c
k()"
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
cur
t
rack
_
id3 and
n
extt
r
ack_i
d
3
should be static
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
A bit
o
f mainte
n
ance
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
S
i
mplify c
o
dec_request_buff
e
r_callb
a
ck()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Onl
y
ask once fo
r
buffering, then w
a
it f
o
r the data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penn
e
quin
Fix bufread i
m
p
lem
e
ntation
.
This
f
i
xes p
r
obl
e
m
s
with
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
M
i
n
or
cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Properl
y
clear
track
i
nfo
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
reset_handle(): Fix warn
i
ng and make it static
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
F
a
ctor
out
the dupl
i
cate
c
od
e
from
bufa
d
v
ance in reb
u
ffe
r
_ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Implement backwards skipping by commpleting audio_rebuffe
r
()
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Cle
a
r
w
a
r
nings and mo
r
e cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enne
q
uin
Silen
c
e the warning from reset_h
a
n
d
le
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
audio
_
s
t
op_p
l
a
yback(): Relea
s
e track handle
s
BEFORE
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Seeking
wasn't actull
y
quite correct: m
a
ke it see
k
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Impleme
n
t rebuffering
for seeking outside of buffered
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
q
uin
Fix playbac
k
res
u
min
g
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pe
n
nequ
i
n
Prev
e
nt
f
ile
d
esc
r
iptor l
e
aka
g
e or overus
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
codec_f
i
lebuf_c
a
l
lback
:
Setting
c
opy_n to 0 w
a
s
a VERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
P
en
n
equin
Silence a
f
e
w
w
a
r
ni
n
gs
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
P
enn
e
q
uin
bufclose: Make su
r
e
the handle's file descrip
t
or is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
n
n
e
q
uin
bufopen(): Do
n
'
t immediate
l
y
b
uffer certain types of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pennequ
i
n
c
odec_
s
eek_buffer_c
a
llbac
k
():
C
h
eck whethe
r
it's possible
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequi
n
Uncomment a
part of
a
udio_rebu
f
fer() to make rebuffering
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
When
d
ata
can't wrap, sta
r
t over at the beginning of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penn
e
quin
Do
n
't ask to
b
u
ffer tracks right aft
e
r loading them
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Add USB connec
t
i
on han
d
ling t
o
the
b
uffering
t
h
read
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
F
i
x tracks being forgot
t
en about when there
w
a
s
no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
as Pe
n
nequin
Improve yield_codec
a
nd use it bett
e
r
t
o make audio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s Pennequin
buf
g
etdata
(
): fix the
ava
i
la
b
l
e
vs
.
required check
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
e
nneq
u
in
Fix a stupid bu
g
that cause
d
s
o
m
e
ha
n
dles
not to be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enneq
u
in
Introduce
y
ield_codec()
,
s
im
i
lar to
the original au
d
io_yield
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequi
n
M
a
ke
t
he t
a
rget behave
t
he same as
t
h
e si
m
(
don't care
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pe
n
nequi
n
T
ryi
n
g
to ma
k
e
audio star
t
pla
y
ing fast
e
r
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
nnequin
Fix pla
y
back stop
p
ing
b
y clo
s
ing all t
r
ack handle
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
A few commen
t
t
weaks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add
a test in
a
u
d
io_current_track()
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penneq
u
in
Do
the i
n
itial pop
u
lating of
t
h
e static ID
3
struct
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Make audio_read_next_metadata a bit safer
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Min
o
r c
o
rrection
o
f
a comment
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Use id3_
h
i
d r
a
ther than taginf
o
_ready to know if ID
3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Request buff
e
ring of
th
e
cur
r
ent
track if it is to
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
A
d
d some sync
h
roni
s
a
t
ion to prevent s
o
me deadlocks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penneq
u
in
Make basic seeking actually work
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
ne
q
uin
A
d
d close_track_han
d
le
s
and reenable
a
ud
i
o_clea
r
_trac
k
_entri
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pe
n
nequ
i
n
Re
l
ease data fo
r
the finished track on t
r
a
c
k
c
h
a
nge
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Store fi
l
e
s
iz
e
on lo
a
d
.
Thi
s
m
a
kes ba
s
ic
s
ee
k
i
ng
w
ork
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
las
Pennequin
Start using "filling" correctly to make m
o
re tracks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas P
e
nn
e
quin
Remove the test plugin
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
Pe
n
nequin
Incr
e
ment track_widx after load
i
n
g
a track
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequi
n
C
osme
t
ics and get
rid of warning
s
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequ
i
n
ID3 han
d
ling i
m
prov
e
ments
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
Pennequin
T
r
igger a CPU boost before
reading from disk
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Debug
output tweaking
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pe
n
nequin
A bunch of improvement
s
that ma
k
e playback of the first
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add a
g
et_offset API call to mak
e
co
d
e
c
_advanc
e
_buffer_loc_c
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
A couple mo
r
e
tweaks
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Fi
x
a
s
tup
i
d bug that prevented the bu
f
f
ering system
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Br
u
t
a
lly
ma
k
e pl
a
yback
.
c compile by disabling lots
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
las Pennequin
More tweak
i
n
g
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Disab
l
e codec_pcmbuf_positio
n
_callback fo
r
now
.
commit
|
commitdiff
|
tree