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
Debug screen for the buffering thread
2007-10-25
Nicola
s
Pe
n
ne
q
uin
Debug screen for t
h
e buffer
i
ng t
h
r
e
ad
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pen
n
equin
Make dir sk
i
pping work c
o
r
rectly and probabl
y
improve
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nne
q
uin
codec_
a
dvance_buf
f
e
r_c
a
llback: Remove unused code
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pe
n
nequin
co
d
ec
_
seek_bu
f
f
er_cal
l
back: a si
m
ple bufsee
k
call is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
col
a
s
Pennequin
Make bufa
d
vance rely
o
n
b
ufsee
k
instead of duplicati
n
g
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Correc
t
bufseek
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
n
nequin
Some code documen
t
ation update
s
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Rena
m
e
f
r
ee_b
u
f
fer() to shrink_han
d
le()
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s Pe
n
ne
q
uin
a
u
dio_curren
t
_t
r
ack
:
Don't
use cu
r
track_id3 i
f
it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
F
ix w
a
rning
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
Pennequin
Clear s
t
a
t
ic
structs on st
o
p
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
Pennequin
Improve metadata use
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penn
e
quin
Po
i
nter
c
osmetic changes
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s P
e
n
n
equin
S
ilen
c
e
warnings on coldfire
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Rename g
e
tptr to bufgetc
o
dec and
make it
ensure the
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequ
i
n
bufo
p
en:
Immed
i
ate
l
y r
e
qu
e
st
b
uffe
r
ing
f
or c
e
rtain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Check fo
r
t
h
e cas
e
when no data
is ready and the required
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
l
a
s
Pe
n
nequin
Revert "
S
implify
c
odec_request_buffer_callba
c
k()"
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pen
n
equi
n
c
ur
t
rac
k
_id3 an
d
n
e
xttr
a
ck
_
i
d3 should be sta
t
ic
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
A bit of maintenance
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Simplify codec_req
u
est_buff
e
r
_
callback()
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
ennequ
i
n
Only ask
o
nce for b
u
ffe
r
ing
,
the
n
w
a
it for the
d
at
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fi
x
bufre
a
d implementation
.
This fixe
s
prob
l
ems with
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Minor cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
nn
e
quin
P
rop
e
rly clear track info
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
Pennequi
n
reset
_
han
d
le(): Fi
x
warning and make it sta
t
ic
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Factor out the dupli
c
ate code fro
m
bufadvance i
n
rebuffer_ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequ
i
n
Implement backwards
s
k
ipping by
c
ommpleting audio_rebuffer()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Clear warnin
g
s and m
o
r
e
cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Cleanup
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penne
q
uin
S
i
lenc
e
t
he warning from reset_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
audio_stop_pla
y
back
(
): Release
t
r
ack handles BE
F
O
R
E
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequ
i
n
See
k
ing wasn
'
t
a
ctully qui
t
e
c
o
rrect: make
i
t see
k
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
l
as P
e
nnequin
Im
p
lement re
b
ufferin
g
f
o
r seeking outsi
d
e
o
f b
u
ff
e
red
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix
playbac
k
resumin
g
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enneq
u
in
Pr
e
v
e
nt file
descriptor leakage or o
v
erus
e
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penne
q
uin
codec_filebuf_
c
allback: Setting
copy_n to
0
was a VERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
Pennequi
n
Silence a
few warning
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
buf
c
l
o
se: Make sure the h
a
ndle's file descr
i
p
t
or is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equ
i
n
b
u
fopen(): Don't imme
d
iately
buff
e
r cert
a
in types of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
codec_seek_buf
f
er_callback():
C
heck
w
hether it's p
o
ssibl
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s Pennequin
Uncomm
e
nt a part of audio_rebuffe
r
() to make r
e
b
uffering
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
When data
can't wr
a
p, s
t
art over at th
e
beginn
i
ng o
f
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequi
n
Don't ask to buffer track
s
r
i
ght af
t
er loa
d
ing them
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
u
i
n
Add USB connectio
n
handling to the buffering thread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Fix tracks being forgotten about w
h
en
t
h
e
r
e was
n
o
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
e
nnequin
I
mpr
o
ve yield_co
d
ec and use it
bett
e
r to make audio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Penn
e
quin
bufgetdata():
fix the av
a
ilab
l
e vs
.
r
equired
che
c
k
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
la
s
Pe
n
nequin
Fix a
stup
i
d
bu
g
t
hat caused
some handl
e
s
no
t
to
be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Introduce yield_codec(),
similar to
the ori
g
inal audio_yield
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
eq
u
i
n
Ma
k
e th
e
targe
t
behave the same
a
s
the sim (don't care
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Trying to
ma
k
e
aud
i
o
start
p
lay
i
ng
f
aster
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix playbac
k
stopping by
closing all track
h
a
ndles
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
as Pennequin
A few comm
e
nt tweaks
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Ad
d
a test in audio_
c
urren
t
_track(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
D
o
the initial po
p
ul
a
ting
of
t
he static ID3 str
u
c
ts
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Make audio_read_next_metadat
a
a
b
i
t
safer
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
las Penneq
u
in
Minor correction of a comment
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Use id3
_
hid rather than taginfo_
r
eady to kno
w
i
f ID3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Reques
t
buffering
of the current
track if it
i
s
to
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Add so
m
e synchronisati
o
n
to preve
n
t some de
a
dl
o
cks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pen
n
equin
Ma
k
e basi
c
s
eeking ac
t
ually work
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequ
i
n
A
d
d close_track
_
handles
an
d
r
e
enable audio_clea
r
_
track_entri
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Release data
f
or the fini
s
hed track
on track chang
e
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Store filesize o
n
l
oad
.
This makes basic s
e
eking wo
r
k
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
S
t
a
rt using "filling" correctly t
o
ma
k
e more tracks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
P
e
nnequin
Re
m
ove the
t
est plugin
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Inc
r
emen
t
t
ra
c
k_widx aft
e
r loa
d
i
ng a
track
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
i
n
Cosmeti
c
s a
n
d get r
i
d of warnings
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
P
ennequ
i
n
ID3 handling impr
o
vements
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pen
n
equin
Trigger a CPU boost b
e
fore reading
f
ro
m
disk
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
D
eb
u
g
output
t
we
a
king
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
A bunch of improvemen
t
s
t
hat make pl
a
yb
a
ck
o
f
the first
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
col
a
s Penne
q
uin
Add a get_offs
e
t API c
a
ll to ma
k
e codec_advance_buf
f
er_loc_c
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pe
n
nequin
A couple more
t
weak
s
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas P
e
nn
e
quin
Fix a
stupid bug that prevented the bu
f
f
ering system
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
P
ennequin
Brutally make pla
y
back
.
c
c
ompile by disabling l
o
ts
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
as Pennequi
n
More tweaki
n
g
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas P
e
n
n
equin
Disabl
e
codec_pc
m
buf_po
s
i
t
i
o
n_callback
f
or now
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Penn
e
quin
More tweak
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
T
weak
codec_advance_buffe
r
_ca
l
l
back()
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Add t
h
e bufused() API call to r
e
p
l
ace the
F
ILEBU
F
USED
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pennequin
Fix th
e
error
a
nd warning
i
n buffe
r
ing
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Adapt
audio_loadcodec() and add a special behavi
o
ur
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
e
nnequin
A bit of a
d
apting
.
commit
|
commitdiff
|
tree
2007-10-25
N
icol
a
s Pennequin
C
U
R_
T
I-
>
i
d3 is now cur
t
rac
k
_id3
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Change stru
c
t
t
r
a
c
k
_info, ad
d
bu
f
ge
t
id3 to
p
la
y
b
ack
.
c
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
ol
a
s Pennequin
Add buffering_init() and re
n
a
m
e GUARD_SIZE to
G
U
A
R
D_BUFSIZE
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
playback
.
c: Add
t
he buff
e
ring threa
d
commit
|
commitdiff
|
tree
2007-10-25
N
icolas P
e
n
nequin
Initia
l
Met
a
data
-
On-Buffer fil
e
s commit
.
commit
|
commitdiff
|
tree