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
No bufclosing of handles after track change
2007-10-25
Nicolas Pennequin
No bufclo
s
ing of ha
n
d
les
after track change
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Add a bit more debug info
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
R
ei
n
t
r
oduc
e
codec_ad
v
a
nce
_
buffer_co
u
nters()
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pe
n
n
equi
n
Don't at
t
e
m
pt t
o
buffer
tracks if th
e
r
e
are no
m
ore
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
H
i
d
e
t
he buffering th
r
ea
d
a
n
d
que
u
e inside buffering
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Revert "Repla
c
e yield_cod
e
c(
)
with a call to queue_wait
_
w_tm
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
i
n
Sa
m
e as the previou
s
comm
i
t
but with a differe
n
t callbac
k
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Check th
a
t metada
t
a i
s
p
resent before
calli
n
g
back
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
10
ti
c
k
s is way too long
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
f
ilebuf_is_lo
w
d
ata
i
sn't ne
e
ded
a
nymor
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Replace yiel
d
_codec() with a call to queu
e
_wai
t
_w_tmo()
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
Pennequin
Re
b
uffer after
p
laylist chan
g
e
s
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Enable
a
nd
correct
audio_invalidate
_
tracks
t
o
m
a
ke
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequ
i
n
Line lengths
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pennequin
Only attempt to
f
i
l
l
t
he buffer if it needs to
be filled
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
P
e
nneq
u
in
Free
t
he b
u
ffe
r
more often
w
hen there is less data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pe
n
n
equin
Impro
v
ed buffer u
s
e b
y
fi
l
ling wh
e
n th
e
disk is act
i
ve
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
T
he number
of t
r
ac
k
s for which we have handle
s
is one
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s
Pennequin
Add buffered_data()
fo
r
l
a
ter use
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pen
n
equin
Debug
s
creen for the bufferin
g
t
h
r
ead
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penneq
u
in
Make dir
s
kipping work
co
r
re
c
tly and
p
rob
a
bly i
m
prove
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
P
ennequin
codec_advance_bu
f
f
e
r_callback: Remove
unused co
d
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
c
odec_seek_buffer
_
c
allback: a simpl
e
bufseek
c
all is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make bufa
d
vance
rely on b
u
fseek inste
a
d of dup
l
icating
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penne
q
uin
Correct bufseek
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s Pennequin
So
m
e cod
e
doc
u
me
n
tation updates
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Rename free_b
u
ffer() to sh
r
ink
_
h
a
ndle()
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequi
n
audio_c
u
rrent_track: Don't use c
u
r
t
r
a
c
k_id3 i
f
it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pe
n
nequin
Fix warning
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Clear st
a
tic structs on stop
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
I
m
prove metadata use
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Pointer cosm
e
t
ic
c
hang
e
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Silence warn
i
n
g
s on
c
oldfire
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penn
e
quin
Rename
g
etptr to
b
u
f
g
e
t
cod
e
c and make it ensure
the
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
bufopen: Immedi
a
tely re
q
ue
s
t buff
e
r
i
ng for cert
a
in
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
C
h
eck for the cas
e
when no data is ready and the required
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Reve
r
t "Simplify c
o
dec
_
r
e
q
u
e
s
t
_
bu
f
f
e
r
_
callback()"
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
c
ur
t
r
a
ck_
i
d3 and nextt
r
ack_id3 shoul
d
be static
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
A bit of ma
i
nt
e
nance
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
S
i
mp
l
ify codec_request_buffer
_
ca
l
l
b
ack()
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Only ask once for bu
f
ferin
g
, then wa
i
t for
the data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Fix buf
r
ead implementa
t
ion
.
Thi
s
fixes
p
roblems
with
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Minor cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Properly c
l
e
a
r
track inf
o
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
rese
t
_han
d
le(
)
: Fix
w
a
rning and make it static
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pe
n
nequin
Factor
o
u
t
t
h
e
d
up
l
i
c
ate
code from
b
ufadvance in
rebuffer_ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Imple
m
e
nt backwa
r
ds
s
kipping by com
m
pleting audi
o
_rebuffer()
commit
|
commitdiff
|
tree
2007-10-25
N
icol
a
s Pennequin
C
l
e
ar warn
i
ngs an
d
mo
r
e cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
Pe
n
nequin
Clea
n
up
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Silence the w
a
rning from reset_h
a
ndle()
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penne
q
u
in
a
udio
_
stop
_
playback(): Release tr
a
ck hand
l
es BEFORE
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
S
e
eking wasn't actully quite correct:
make
it seek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Implem
e
n
t
r
e
buffering fo
r
seeki
n
g o
u
t
side of buff
e
red
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix
playback resum
i
ng
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Prevent fi
l
e
descriptor leakage or overuse
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
cod
e
c
_fi
l
ebuf
_
callb
a
ck:
S
etting copy_n
to 0 was a VERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penn
e
quin
Si
l
e
n
ce a few
warning
s
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
enneq
u
in
b
u
fclos
e
:
Make sure the handle's file
des
c
riptor is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
bufopen(): Don't
i
mmediatel
y
b
uffer certain type
s
of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
codec_
s
eek_buffer
_
callback(): Check whether it's possible
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Uncom
m
ent a par
t
o
f audio_rebu
f
fer()
to ma
k
e rebuff
e
ring
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
as Pennequin
W
h
en da
t
a can't wrap, start over at the begin
n
in
g
o
f
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Do
n
't a
s
k
t
o
buffe
r
tracks right afte
r
loading
them
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequ
i
n
A
d
d
USB connection handling to t
h
e
bufferin
g
thread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix tr
a
cks being for
g
otten about
w
hen there was no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pen
n
equ
i
n
Imp
r
ov
e
y
ield_codec and use it
bett
e
r
to make
audio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
e
nn
e
q
uin
bufge
t
data(): fix t
h
e avail
a
b
le vs
.
require
d
chec
k
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Fix a stupid bug that caused some han
d
l
e
s
n
ot to
b
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Intro
d
uce
y
ield_codec(),
s
imilar to t
h
e or
i
g
i
nal audio_yi
e
ld
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make
t
h
e
targ
e
t
behave the sa
m
e as the sim (don'
t
care
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
P
enne
q
uin
Tryi
n
g to make audio st
a
rt playing fa
s
ter
.
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
las
P
ennequin
Fix playb
a
ck stopping by
c
losin
g
all
track handles
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
A few commen
t
t
weaks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add a test
i
n audio_
c
urrent_trac
k
()
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
P
enneq
u
in
D
o the initial popul
a
ting of the s
t
atic ID3 structs
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
P
ennequi
n
Make au
d
io_read_nex
t
_metadata
a b
i
t
safer
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
as
P
ennequin
Minor correction of
a
comm
e
nt
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequi
n
Use id3_hid rather than taginfo_r
e
ady to know if
I
D3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s P
e
n
n
equin
Requ
e
st buffering
of the current track
i
f
it
i
s to
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add some synchronisation to pr
e
vent some deadloc
k
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequin
Make basic seekin
g
act
u
ally
work
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add clos
e
_track_handles a
n
d reenable audio_cle
a
r_
t
rac
k
_entri
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
R
elease
d
ata for the finished track
o
n track change
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Store filesize o
n
load
.
This ma
k
es
b
asic see
k
ing
work
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Sta
r
t using "fil
l
ing" correctly to
make
m
ore tracks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Remove t
h
e te
s
t
p
l
ugin
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Increment t
r
ack_widx after loading a track
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
P
e
nnequin
Cosmetics
and
g
et ri
d
of w
a
rnings
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
ID3 han
d
li
n
g
i
mprovements
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Trigger a CPU boost before r
e
ading from disk
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pennequin
Debug outpu
t
tweaking
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
ui
n
A
bunch of
impr
o
vements that make playb
a
ck of the first
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
ui
n
Ad
d
a get_offset A
P
I call to make codec_advance_b
u
f
f
e
r
_loc_c
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
P
en
n
equ
i
n
A
couple mor
e
tweaks
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
Pennequin
F
ix a stupid bug that prevented th
e
bu
f
f
ering system
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Brutally ma
k
e playback
.
c co
m
pile
b
y
disabling lot
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
More tweaki
n
g
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequin
Disable code
c
_pcmbuf_
p
osition_call
b
a
ck for n
o
w
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pen
n
equi
n
More tweaks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Tweak
c
o
d
e
c_a
d
v
a
nce_buffer_
c
a
l
lback()
commit
|
commitdiff
|
tree
next