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 to calling playlist_next() in check_new_track() as in SVN.
2007-10-25
Nicol
a
s Pennequin
Re
v
ert
t
o
call
i
n
g playlist_n
e
xt() in check_new_track
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Debug output twea
k
ing
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penne
q
uin
Att
e
mpt to fix cros
s
fading
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Ask for
n
ew files when the
disk is spinni
n
g and useful
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
F
ix t
h
e bug wher
e
handl
e
s would remain open after a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make
th
e
co
n
f_* values settabl
e
by
other thre
a
ds
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
T
h
is part is
o
n
l
y for targets with more then 8 MB of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
A few more improvements
commit
|
commitdiff
|
tree
2007-10-25
N
i
col
a
s Pennequin
Improve bufgetdata a
n
d bufread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Minor
cleanup/com
m
ents
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Instead
o
f using the ata idle
callbac
k
,
manually poll
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequ
i
n
Cleanup,
f
unc
t
ion rena
m
ing and moving, comments
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Make
s
some variab
l
es cons
t
and some other
s
volatile
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Penn
e
quin
Re
m
ove
t
he unused "rebuffer" paramet
e
r
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Fix compilation on HWC
O
DE
C
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
au
d
io_fill_file_
b
uffer()
cleani
n
g a
n
d tweaking
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Forgot this
o
n
e
:(
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequ
i
n
bool fi
l
ling isn't n
e
c
e
ssary
anymor
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
eq
u
i
n
F
ix the wps_
o
ffset
b
u
s
iness for goo
d
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penne
q
uin
Cleanup
playback
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
n
e
q
uin
Use the ca
l
lbacks
i
n
t
he audio thread
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Add
c
allbacks to notify u
s
ers of the buff
e
r
i
n
g
API
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequ
i
n
Remove the "buffering"
bool indicator
commit
|
commitdiff
|
tree
2007-10-25
N
icol
a
s
Pen
n
equin
M
ake the
p
laylist pos
i
tion b
e
updated on the P
C
M
t
rac
k
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
Pe
n
n
e
qu
i
n
Solv
e
th
e
pr
o
gressbar not
b
e
i
ng u
p
dated in the last
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
enn
e
qui
n
Close partially buffered ha
n
d
le
s
whe
n
changin
g
tracks
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
ennequin
Make the audio th
r
ead
w
a
i
t with a timeout even when
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Minor
t
weak to the
a
udio
thread
buffer filli
n
g logic
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Increase MAXTHREADS
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Add the
"bu
f
fering
"
s
t
atus
i
n
dicator
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nn
e
quin
R
e
move some disabled
c
ode
from
playback
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Invalidate han
d
le cache on handle removal
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Change
a
udio_release_tracks() so tha
t
it ensures
c
losing
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
P
e
nneq
u
i
n
Better logic in the buf
f
ering th
r
ead loo
p
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Turn bu
f
clos
e
into a queue event sender to
e
nsure
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as P
e
nnequin
Protect the l
i
nk
e
d list
w
it
h
a mutex
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Penn
e
qui
n
Some cleanup/simplification and an added c
o
mment
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
Penne
q
uin
Move the call to ata_sleep() in fill_buffe
r
()
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequi
n
No bufclos
i
n
g
of handles a
f
te
r
track c
h
ange
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Add a bit more debug info
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Reintroduce codec_advan
c
e
_
buffer_count
e
rs
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Don't attempt to
b
u
f
fer t
r
acks if t
h
ere are no more
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Hide the buff
e
ring thread and queu
e
inside bufferin
g
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Revert
"
Replace
yield_
c
odec() with a call to q
u
e
ue_wait_w_t
m
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Same as th
e
previous commit but with
a
different callback
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
as Pennequin
Ch
e
ck that
met
a
d
ata is
p
resent before calling back
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
e
nnequin
10 ticks i
s
way too
long
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
filebuf
_
is_lowda
t
a isn't
needed any
m
ore
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pen
n
equin
R
eplace yield_cod
e
c
(
)
w
i
t
h
a c
a
l
l
to queue_wait_w_tmo()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Re
b
uffer after playl
i
s
t
ch
a
nges
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
E
nable
a
n
d correct au
d
io_
i
n
va
l
id
a
te_tra
c
ks
to
m
ake
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Line
l
en
g
ths
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
qu
i
n
O
n
ly att
e
mp
t
t
o fil
l
the buffer if it needs
to be filled
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
a
s
P
enn
e
qu
i
n
Free the
b
u
ffer more often when there i
s
l
ess d
a
t
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pen
n
equin
I
mproved buffer use by fillin
g
whe
n
the disk is ac
t
ive
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pen
n
equin
Th
e
numb
e
r of tracks for which we hav
e
handles is
one
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add buf
f
ered_d
a
ta(
)
for late
r
u
se
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Debug
screen for the bu
f
f
ering thre
a
d
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequi
n
M
a
ke dir ski
p
pi
n
g
wor
k
corre
c
tly and proba
b
ly imp
r
o
v
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Penne
q
uin
codec_a
d
van
c
e_
b
uffer_ca
l
lback: Remove unused code
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
codec_seek_buffer_callback: a simple bufseek
cal
l
is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
a
s
Pe
n
n
e
quin
M
ake bufadvance rely on bufs
e
ek instead of duplicating
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
as Pennequi
n
C
orrect bufseek
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Some code
d
ocumentation updates
commit
|
commitdiff
|
tree
2007-10-25
N
icolas P
e
nnequin
Ren
a
me
fr
e
e_buffer() to shrink_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as P
e
nne
q
uin
audio
_
curr
e
nt_track
:
Don't u
s
e
c
urtrack_id
3
if
it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
Pennequin
F
i
x
w
arning
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequin
Clear sta
t
ic structs on stop
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pe
n
nequin
Improv
e
meta
d
a
ta use
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
las
P
e
nnequ
i
n
Pointer cosmetic
c
han
g
e
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penne
q
uin
S
ilence
w
a
r
n
ings on co
l
dfire
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Rename ge
t
ptr to b
u
fgetcodec and
make it ensure the
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
u
in
bufopen: I
m
mediatel
y
request buffering for ce
r
t
ain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Check for the case when no da
t
a is ready and the require
d
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Revert "Simpl
i
fy codec_re
q
u
est_bu
f
fe
r
_ca
l
l
back()"
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
curtrack_id3 and nexttrack_id
3
should be static
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
A bit
o
f
m
ain
t
enance
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Simpli
f
y co
d
ec_r
e
quest_buffer_callback()
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pen
n
equin
On
l
y ask o
n
ce fo
r
bufferin
g
, then
w
ait for the
data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
cola
s
Pennequin
Fi
x
b
uf
r
e
ad implementation
.
This
f
ixes pro
b
lems wi
t
h
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequi
n
Mi
n
or cl
e
anup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Pro
p
erly clear track in
f
o
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
reset_handle(): Fix warning an
d
make it
stati
c
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penn
e
q
u
in
Factor ou
t
the duplicate code from
b
ufadv
a
n
c
e in rebuffer_
h
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Imple
m
ent backwards ski
p
p
i
ng by com
m
pleting au
d
io_re
b
uffer()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
C
lear warning
s
and more cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
Penneq
u
in
Cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Sile
n
ce
t
he wa
r
ning
f
ro
m
reset_ha
n
dle()
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
a
udio_sto
p
_pl
a
ybac
k
(): R
e
le
a
se tra
c
k handl
e
s
B
E
FORE
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
Pennequin
Seeking w
a
sn't
a
c
tully
quite c
o
rrect:
m
a
ke
i
t seek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Implem
e
nt re
b
uf
f
ering for seekin
g
outside of buffered
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequi
n
Fix playback res
u
ming
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Preve
n
t file descriptor
leakage or overuse
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
c
odec_filebu
f
_
ca
l
l
b
ack: Setting copy_n to 0 wa
s
a
VERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
S
ilence a few warnings
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pen
n
equin
bufclose: Ma
k
e sur
e
t
h
e handle's file descriptor is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
bufopen(): Don'
t
immedia
t
e
ly buffer certa
i
n
typ
e
s of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
codec_se
e
k
_buffer
_
callb
a
c
k(): Che
c
k
w
hether it's
pos
s
ibl
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Uncom
m
ent a part of au
d
io
_
rebuffer
(
) to make re
b
uffe
r
ing
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
When
data can't wrap,
s
tart
o
ver
at the beginning of
.
.
.
commit
|
commitdiff
|
tree
next