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
Revert the recent change to bufread()
2007-10-25
Nicolas Penne
q
uin
Revert the recent
c
hange
t
o b
u
f
read()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Genera
l
cleanu
p
: debug out
p
ut, u
n
used code
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s Pe
n
nequ
i
n
Remove another
line of the
d
e
bug screen for sma
l
l
d
isplays
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Repla
c
e da
t
a
accou
n
t
i
ng fun
c
tions with one th
a
t does
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
A few corrections s
u
ggeste
d
by lostlogic
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
n
e
qu
i
n
Replace
t
he aud
i
o de
b
ug screen w
i
th the buffering
o
ne
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Simplify and im
p
rove find
_
han
d
le()
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
Pe
n
nequin
R
evert
to call
i
ng pl
a
ylist_nex
t
() in c
h
e
c
k_new_track
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pe
n
n
e
q
uin
D
e
bu
g
output tweaking
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
ui
n
Attempt to fix cro
s
sfading
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Ask for
new files when the disk is spinning an
d
useful
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas P
e
nnequin
Fix the
bug wher
e
hand
l
es wou
l
d
r
emain open after a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Make the conf_* values
s
etta
b
le by other thr
e
ads
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penneq
u
in
Th
i
s
part
is only
f
or ta
r
gets with more then 8 MB of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
ola
s
Pennequin
A few more im
p
rove
m
en
t
s
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequ
i
n
Improve
bufg
e
tdata and bu
f
read
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
ennequin
M
inor cleanup/comments
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pe
n
n
equin
In
s
tead of using the
ata idle callback,
m
anually p
o
l
l
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
C
l
ean
u
p
, function r
e
naming
and
m
oving, commen
t
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Makes some
v
ariables const and some others volatil
e
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
P
enne
q
u
i
n
R
e
move the un
u
sed "rebu
f
f
e
r
"
para
m
e
ter
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
F
ix
c
om
p
ilation o
n
HWCOD
E
C
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
Pennequin
audio_fil
l
_file_buffe
r
() c
l
eaning and tweaking
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penneq
u
i
n
Forgot this on
e
:(
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s
Pennequin
bool
filling isn't necessary anymore
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix th
e
wps_off
s
et business
for good
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s Pennequin
Cleanup pl
a
y
back
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Us
e
the c
a
l
l
backs in the audio thread
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
P
e
n
n
equin
A
d
d callbacks
t
o
n
o
t
i
fy us
e
rs o
f
th
e
bu
f
fering
API
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
R
emove the "bufferi
n
g" bool i
n
dicator
commit
|
commitdiff
|
tree
2007-10-25
N
ico
l
as Penneq
u
i
n
Make the playlist posit
i
o
n
b
e updat
e
d
on the PCM
t
rack
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Solve the pro
g
ressbar no
t
b
e
ing upd
a
ted in the
l
ast
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequi
n
C
los
e
partially buffere
d
handl
e
s when changing
t
rack
s
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penne
q
uin
Make t
h
e au
d
i
o
threa
d
wait with a timeout ev
e
n
w
hen
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequ
i
n
Mino
r
twea
k
to the
a
udio thread buffer filling lo
g
ic
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequin
I
ncre
a
se MAX
T
HREADS
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penneq
u
in
Add the "buffering" s
t
atus indic
a
tor
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequ
i
n
Rem
o
ve some disabled
c
ode f
r
om playback
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
la
s
P
ennequin
Inva
l
idate handle cache
on handle
r
emoval
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
C
hange au
d
io_release_tracks()
so
t
hat it e
n
sur
e
s closing
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
B
e
tter logic in
the buff
e
ring thread loop
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Turn bufcl
o
se into a queue event sender to
ensure a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nne
q
uin
Prote
c
t
t
he linked
l
ist wi
t
h a
mutex
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
So
m
e
c
leanup/simpl
i
fication and
a
n
added comment
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
P
e
n
n
equ
i
n
M
ove the call to ata_sleep()
i
n fi
l
l_buf
f
er()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
N
o
buf
c
losing of handles after t
r
ack c
h
an
g
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add a bit mo
r
e debug i
n
fo
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
e
qu
i
n
Rei
n
troduce codec_advance_buffer_counters()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Don't attemp
t
to buff
e
r tra
c
k
s
i
f
the
r
e are no m
o
r
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Hide the buf
f
ering thre
a
d and q
u
eue inside
b
uffering
.
c
commit
|
commitdiff
|
tree
2007-10-25
N
icol
a
s Pennequin
Rever
t
"R
e
p
l
a
ce yield_codec() with a call to queue_wait
_
w_tm
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Same
a
s the previous commit but
w
ith a diffe
r
ent ca
l
lbac
k
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Chec
k
that
m
etadat
a
is present befor
e
callin
g
ba
c
k
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
10 ticks
i
s way too long
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
filebuf_is_lowdat
a
i
s
n't n
e
ede
d
anymor
e
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequin
Replace yield_codec(
)
with a call
t
o queue_w
a
it_w_tmo()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
R
ebuffer af
t
er
p
laylist changes
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequin
Enable and correct audi
o
_inva
l
idate_tracks to m
a
ke
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penne
q
uin
Line lengt
h
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
u
i
n
On
l
y attempt to fill the buffer
i
f
it needs to
b
e filled
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Free the buff
e
r more o
f
t
en when
there is less data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Improved buffer use by filling
w
hen the disk is active
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
q
uin
The
n
u
m
ber of t
r
acks
f
o
r
w
h
ich we have handles is one
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
l
a
s Penneq
u
in
Add buffered_d
a
ta() for later u
s
e
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
P
enne
q
uin
Debug screen for the b
u
f
f
erin
g
th
r
ead
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Make dir
skippin
g
work
c
orrectly and probably improve
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
codec_
a
d
vance_buffer_ca
l
lback
:
Remove unused code
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penne
q
u
i
n
co
d
ec_seek_buffer_
c
allback:
a
simple
bufse
e
k ca
l
l
is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make bufadvance r
e
ly on buf
s
e
e
k instead o
f
dup
l
icating
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Correct bu
f
seek
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Some
c
ode docum
e
ntation
update
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
nnequin
Renam
e
f
r
ee
_
buffer() to shrink_h
a
ndle()
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
l
a
s
P
ennequin
audio_cu
r
r
e
nt_track:
Don'
t
u
se curtrack
_
i
d
3 if it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
a
s Pennequin
Fix war
n
ing
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las P
e
nnequi
n
Clear
s
t
atic
s
tructs on stop
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
as P
e
nnequin
I
mpr
o
ve metadata use
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
P
ointer c
o
smetic
c
h
a
nges
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Silence wa
r
nings on cold
f
ir
e
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas P
e
nnequi
n
R
ename getptr to bufget
c
odec
and
m
ake it en
s
ure the
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
b
u
fopen:
I
mme
d
iately request buffering for certain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
las Pennequin
Check for
t
he case whe
n
no data is re
a
dy and t
h
e
r
equired
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s Pe
n
n
equin
Rev
e
rt "Simplify
c
od
e
c
_request_buffer_callback
(
)"
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
c
urtrack_id3 and nex
t
tra
c
k_id3 should
be static
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
A
b
it of m
a
intenance
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
S
implify codec_r
e
que
s
t_buffer_callb
a
c
k()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
q
uin
Onl
y
ask once fo
r
b
u
ffering, then
w
ait for the da
t
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
P
ennequin
F
i
x
bufread implementation
.
Th
i
s fixes p
r
oblem
s
wit
h
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
neq
u
in
M
i
nor cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penn
e
q
uin
Prop
e
rly cl
e
ar track info
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
r
es
e
t_handle(): Fix
warning and make it static
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequ
i
n
Factor
out
t
h
e du
p
licate code
f
rom
bufadvance in rebuffer_ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s
Pennequ
i
n
Implemen
t
backwards
skipping by co
m
mp
l
e
t
ing audio_rebuffer()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
C
l
ear warnings and more cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
u
i
n
Clean
u
p
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penne
q
uin
Silence the warnin
g
from reset_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pen
n
equin
aud
i
o_stop_play
b
ack(
)
: Release t
r
ac
k
ha
n
dles BEFORE
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Seeking wasn't
actully quite co
r
rect: make i
t
see
k
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
i
n
Implement re
b
ufferin
g
for seeking outsi
d
e
o
f b
u
ffe
r
e
d
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penn
e
quin
Fix playba
c
k resuming
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Preve
n
t file
d
e
s
criptor leakage or overuse
commit
|
commitdiff
|
tree
next