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
Nicolas
P
ennequin
Revert to calling
p
laylist_next() in che
c
k_new_track
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pe
n
nequ
i
n
Debug
o
utput tweaking
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Att
e
mpt to fix
c
rossfading
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Ask
f
o
r new fi
l
e
s
when the disk
is
spinning and useful
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
enn
e
quin
Fix the
b
ug where handles would remain open af
t
er a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequ
i
n
Make the c
o
n
f_* values se
t
table
by other t
h
reads
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Th
i
s part is o
n
ly for
t
arge
t
s
w
ith more then
8 MB o
f
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
a
s
Pe
n
nequi
n
A few more improveme
n
ts
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
I
mp
r
ove bufge
t
data and
b
ufread
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Minor clea
n
up/com
m
e
nts
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
In
s
tead of using the
a
t
a idle callba
c
k, manually poll
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
ui
n
Clean
u
p, function
re
n
aming an
d
moving, com
m
ents
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Makes
some
v
ari
a
bles const and some othe
r
s
volatile
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Remov
e
the
u
nused "rebuffer" parame
t
ers
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ola
s
Pennequin
Fix compilation on HWCODEC
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pe
n
n
e
quin
au
d
io_fill_
f
ile_bu
f
fer() cleaning an
d
tweaking
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pen
n
equin
Forgot this one :(
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
e
nn
e
q
ui
n
b
o
o
l
f
i
lling isn
'
t necessary a
n
ymore
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fi
x
the wps_offset business for
good
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pe
n
nequin
Cl
e
anup playback
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
U
s
e the callback
s
i
n
the audio thread
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penneq
u
in
A
d
d
callbacks to notify users of the buffe
r
ing API
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ola
s
Penneq
u
in
Remove the "buf
f
ering
"
b
ool
i
ndicator
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
M
a
ke the playlist
p
osition be
updat
e
d on the PCM tr
a
c
k
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
cola
s
Penn
e
quin
Sol
v
e
the progressbar not being
u
pdated in the
l
a
st
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
ico
l
as P
e
nnequin
Close
p
artially
b
uffe
r
ed handles when ch
a
nging tracks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penn
e
qu
i
n
Make the audio thread
wait with a timeout even w
h
en
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nn
e
quin
Minor tweak
to the audio
thread buffer filling
l
ogic
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Increase MAXTHREAD
S
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Add the "bufferin
g
" stat
u
s indic
a
tor
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Remove
s
ome
d
isabled code f
r
om playback
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Invalidate handle cache on h
a
ndle
removal
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
C
h
ang
e
a
ud
i
o_relea
s
e_tracks() s
o
t
hat it
e
nsures closi
n
g
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s Penneq
u
i
n
Better logic in
t
he bufferin
g
thread loop
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Turn bufclose into a
q
ueue event sender to en
s
ure a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
ne
q
uin
Pr
o
tect the linked list with a mutex
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
S
ome cleanup/simplificatio
n
a
nd an
a
dded comment
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Move t
h
e
ca
l
l t
o
a
t
a
_
s
l
eep() in
f
ill_buffer
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
No bufclosing of handles after track change
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penneq
u
i
n
Add a bit mor
e
de
b
u
g
in
f
o
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pe
n
nequin
Reintr
o
duce
c
odec_a
d
vance_buffer_counter
s
()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
n
nequin
D
o
n't
attempt to
buffer tr
a
cks if
t
here ar
e
n
o more
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
H
i
d
e
the buffering
thread
an
d
queue inside buffering
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Revert
"R
e
place yield_codec() with a call to qu
e
ue_wait_w_tm
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequi
n
Same as the previ
o
u
s commit but
w
ith a different callback
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Check that metadata
is present befo
r
e calling back
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
10 tic
k
s
is way too long
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
filebuf_
i
s_lowdata i
s
n
'
t nee
d
ed anymore
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Replace yi
e
ld_cod
e
c() with a
c
a
l
l t
o
queue
_
wait_w_
t
mo()
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Rebuffer af
t
er play
l
ist chang
e
s
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Enable and cor
r
ect audio_invalid
a
te_tracks to make
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
las Pennequi
n
Line
l
en
g
t
hs
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
On
l
y
att
e
m
pt to fill the buf
f
e
r i
f
it needs to
b
e filled
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Fr
e
e
t
he buf
f
e
r
mor
e
oft
e
n when there is less da
t
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequi
n
I
m
proved bu
f
fe
r
use by filling
w
h
e
n
the disk is active
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pennequ
i
n
The number of tra
c
ks for which
we have handles is on
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Add buffer
e
d_da
t
a(
)
for later
u
s
e
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penneq
u
in
Debu
g
scr
e
en f
o
r
the bufferi
n
g thread
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
M
a
ke dir skipping work correctly and pr
o
b
ably improve
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas P
e
nnequi
n
codec_advance_buffer_callback
:
Remove
u
nused code
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
codec_seek_buffer_callback: a simple bufseek call is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make
bufad
v
anc
e
rel
y
on bufseek in
s
tead
of
d
u
p
licating
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
Pennequin
Correct
b
ufseek
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
n
nequin
Some c
o
de
d
ocumentation upda
t
es
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Rename free_
b
uffer()
to
shrink_handle()
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pennequin
a
u
di
o
_cu
r
ren
t
_tra
c
k
: Don't use
c
urt
r
ac
k
_id3 if it'
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
nn
e
quin
Fix warning
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Clear static structs on sto
p
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Improve metadat
a
use
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penneq
u
in
P
o
i
n
ter cosmetic changes
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
as Penneq
u
i
n
Sil
e
nce w
a
r
nings on coldfire
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Rename
g
e
tp
t
r
t
o bufgetcodec and ma
k
e it
e
n
sure the
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
buf
o
pen: Immediat
e
ly request buff
e
ring for certain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
i
n
C
h
e
c
k for th
e
case
w
h
en no
d
ata i
s
r
e
ady and the required
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
R
e
vert "Simplify codec_reque
s
t_buf
f
er_c
a
llback()
"
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
curtrac
k
_id3 and nexttrack_id3 should be
s
tatic
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penneq
u
in
A bit of maintenance
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
Pennequin
Simplify codec_request_buffer_callback
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
On
l
y
a
sk o
n
ce for bu
f
fering
,
then wait for
t
he data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Fix b
u
fread implementation
.
This fixes pr
o
bl
e
ms wit
h
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Minor cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequ
i
n
Prop
e
rly clear track info
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pen
n
e
quin
reset_ha
n
dle(): Fix warning
and make
i
t static
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
las Pennequin
Factor out the dupl
i
c
a
te code
f
rom bu
f
a
d
vanc
e
in re
b
u
ffer_ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequin
Impl
e
ment
b
ackwa
r
ds skipping by
c
ommpl
e
ting audio_reb
u
ffer()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Clear warnings and mo
r
e
c
leanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Cleanup
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
las Pen
n
equin
Silence th
e
warning fr
o
m reset_
h
andle
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
audio_stop_
p
laybac
k
(
)
:
R
ele
a
se track handles BEFORE
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
S
e
eking
w
asn't actull
y
quite correct: make it seek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Implement r
e
bufferin
g
for seeki
n
g outsid
e
o
f
b
uffered
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penn
e
quin
F
ix play
b
ack re
s
um
i
ng
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Prevent file descriptor leakage or
o
v
e
r
u
s
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
nequ
i
n
co
d
e
c_filebuf_callback: Setting copy_n to 0
was a V
E
R
Y
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
Pennequin
S
i
lence a
f
e
w
warnings
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
la
s
P
enn
e
q
u
in
bufclose: Make sure the
h
a
n
dle's file descriptor is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
bufopen(): Do
n
't immediatel
y
buffer
c
e
rtai
n
type
s
o
f
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
codec_s
e
ek_buf
f
er_
c
allback(
)
:
C
heck whe
t
he
r
it's possible
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Uncommen
t
a part of a
u
dio_re
b
uffer() to make rebuffering
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penne
q
uin
When data can't wrap, star
t
over at
the begin
n
ing of
.
.
.
commit
|
commitdiff
|
tree
next