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
filebuf_is_lowdata isn't needed anymore
2007-10-25
Nic
o
las Pennequ
i
n
fil
e
b
uf_i
s
_lo
w
d
a
ta i
s
n't needed any
m
ore
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as P
e
n
nequin
Replace yield_codec()
w
ith a
call
t
o q
u
eue_w
a
i
t
_w_tmo()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Rebuffer a
f
ter playlis
t
changes
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Enable and
c
orrect audio_i
n
valida
t
e_trac
k
s t
o
ma
k
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
Pennequin
Line
leng
t
hs
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequi
n
Only attempt
t
o fill the buffer
if it need
s
to be f
i
l
l
ed
commit
|
commitdiff
|
tree
2007-10-25
N
i
cola
s
Pennequin
Free the buffer
more often when th
e
r
e is less data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequ
i
n
Improved buffer use
b
y filling
w
hen the disk
i
s
active
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
The number of tr
a
cks
for which we have
h
an
d
les is one
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Add buffered_data() for later u
s
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Debug sc
r
ee
n
for the buffering thread
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pen
n
equi
n
Mak
e
d
i
r sk
i
pping
work correct
l
y and prob
a
bly improve
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
col
a
s Pennequin
codec_advance_bu
f
fer_callba
c
k
: Remove unus
e
d c
o
de
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
as Pen
n
eq
u
in
codec_se
e
k_buffer_
c
allback: a sim
p
l
e
bufseek c
a
l
l i
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Make buf
a
dvance rely on
bufseek instead of duplicating
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penn
e
quin
C
o
rrect bufseek
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s P
e
nnequin
Some code documen
t
ation up
d
ates
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
e
nneq
u
i
n
Ren
a
m
e
f
r
ee_buff
e
r() to
shrink_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
neq
u
in
audio_current_track: Don't
use curt
r
ack_id
3
if it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequ
i
n
Fix wa
r
n
i
n
g
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
C
lea
r
st
a
tic stru
c
t
s on stop
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Improv
e
metadata use
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pen
n
equin
Poin
t
er co
s
metic changes
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Silence warning
s
on coldfire
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pe
n
ne
q
u
in
Rename
getptr
t
o
bufgetcodec and make it ensur
e
the
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
bufopen
:
Im
m
e
d
i
a
t
ely request buffering for certain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s Pennequin
Che
c
k for the
c
ase when no data
i
s read
y
and the required
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enn
e
qui
n
Reve
r
t
"
Simp
l
if
y
codec_reque
s
t_buf
f
er_ca
l
lback()"
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pen
n
equin
curtrack
_
id3 and nexttrack_id3 should be static
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
A
bit of mai
n
tenance
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Penne
q
uin
Simplify codec_request_
b
uffer_callback()
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penneq
u
i
n
O
n
ly ask
once for bufferi
n
g, then wait for
t
he data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
la
s
Pennequ
i
n
Fix bufread implementation
.
T
h
is fixes
p
r
o
blems w
i
th
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Mi
n
or cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
Penne
q
uin
P
r
operly
cl
e
ar tr
a
ck info
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
res
e
t_handle(
)
:
F
ix w
a
rning and ma
k
e it
static
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Factor out th
e
duplicate code from bufadvance
i
n rebuffer_ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
ne
q
ui
n
Implement backwards skipping b
y
commpl
e
ti
n
g audio_rebuffer()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
C
lear warnings an
d
mor
e
clean
u
p
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ola
s
Pen
n
equin
Cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Silence the wa
r
ni
n
g fr
o
m reset_h
a
ndle()
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
Pe
n
nequin
audio_st
o
p_playb
a
ck
(
):
Rele
a
se
t
rack handles BEFORE
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Se
e
king wasn't
act
u
lly quite c
o
rre
c
t:
make it seek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequ
i
n
Implement rebuffer
i
ng f
o
r
s
e
eking outsi
d
e
o
f
bu
f
fere
d
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penne
q
uin
Fix playb
a
ck
r
esum
i
ng
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Penneq
u
i
n
Prev
e
nt file de
s
crip
t
or leaka
g
e
or overuse
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
en
n
equin
c
o
dec_filebuf_ca
l
l
b
ack: Setti
n
g
copy
_
n to 0 was a VERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pen
n
e
q
uin
S
i
lence
a
f
ew
w
arnings
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
buf
c
lo
s
e: Make sure t
h
e hand
l
e's
file descrip
t
or i
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
bufope
n
(): D
o
n
't immediate
l
y b
u
ff
e
r cer
t
ain t
y
pes of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequ
i
n
codec_seek_buffer_callb
a
ck(): Che
c
k
w
h
ether i
t
's possibl
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Un
c
omment a p
a
rt
o
f audio_rebuffer(
)
to
make rebuffering
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pen
n
equi
n
When d
a
t
a
can
'
t wrap, start over at
the begi
n
ni
n
g of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
ico
l
a
s Pennequin
Don't ask to buffer tra
c
ks right after loading t
h
em
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enn
e
quin
A
dd USB conne
c
t
i
on ha
n
d
l
i
n
g to the buffering thread
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
F
ix tracks be
i
n
g
f
orgo
t
ten a
b
o
u
t
when there was no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
Pen
n
equin
Improve yield_codec and use it better to
ma
k
e au
d
io
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
as Pennequin
bufgetdat
a
(): fix the
available vs
.
required check
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
F
ix
a
stupid bug
that caused some handles
not t
o
b
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pen
n
equin
I
ntroduce yield_cod
e
c(), similar to the original audio_yield
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Ma
k
e the
t
arget behave the sam
e
as the sim
(don'
t
care
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Try
i
n
g to make audio start playi
n
g faster
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Fi
x
playback stopping by
c
losing al
l
track ha
n
d
les
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
A few comme
n
t tweaks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add a test i
n
aud
i
o_curr
e
nt_track()
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequi
n
Do the i
n
it
i
a
l
populating of the
s
tatic ID3 struc
t
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Make au
d
io_read_
n
e
xt_metadata a bi
t
s
afer
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
M
i
n
or correction
o
f
a comme
n
t
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penn
e
quin
Use id3_hid rathe
r
t
ha
n
taginfo_ready to
k
now if ID3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
u
i
n
Req
u
est b
u
ffering of the current t
r
ack if it is
t
o
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icol
a
s Pennequin
Add som
e
s
y
n
c
hroni
s
ation to
p
r
event som
e
deadlocks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s Penneq
u
i
n
Make bas
i
c seeking actuall
y
wo
r
k
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add
close_
t
ra
c
k_handles
and ree
n
a
bl
e
a
u
dio_
c
lear_t
r
ack_entri
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enneq
u
in
Release data fo
r
the f
i
ni
s
hed track
o
n track chan
g
e
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Stor
e
f
i
l
e
size on load
.
This
makes basic seeking work
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
u
i
n
Start
u
sin
g
"filling" correctly to make more track
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s Pennequin
Remove the test plug
i
n
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Increment t
r
ack_widx after loading a track
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Cosmetics
a
nd get rid of warning
s
.
commit
|
commitdiff
|
tree
2007-10-25
N
icol
a
s Penne
q
uin
ID3
handli
n
g
imp
r
ovements
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Trig
g
e
r a CPU
b
oost
be
f
ore readi
n
g from disk
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
las Pennequin
Debug output tweaking
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pe
n
ne
q
uin
A
bunc
h
o
f
impro
v
eme
n
ts t
h
at make pl
a
yback of the f
i
rst
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
A
dd a g
e
t_of
f
s
e
t
A
PI
c
a
ll to make codec_advance_b
u
ffer_loc
_
c
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
Pe
n
nequin
A couple more tweaks
commit
|
commitdiff
|
tree
2007-10-25
N
i
col
a
s Penne
q
uin
Fi
x
a stupid bug that
p
revente
d
t
h
e buffering syste
m
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
B
r
utally make
p
l
a
yb
a
ck
.
c compile by disabling lots
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
la
s
Penn
e
q
u
in
More t
w
e
ak
i
ng
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
P
ennequin
Dis
a
ble
codec_pcmbuf_pos
i
t
ion_callback for now
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
enn
e
quin
More tweaks
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
las
Pen
n
e
q
uin
Tw
e
ak cod
e
c_advance_buf
f
er_callback()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Add the
b
ufused() API call to r
e
pla
c
e
the FILEBUFUSED
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Fix the error and wa
r
nin
g
i
n bu
f
ferin
g
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Adapt a
u
di
o
_l
o
ad
c
ode
c
() and add a
s
p
e
cial behavio
u
r
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
A bit of adapti
n
g
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
C
U
R_
T
I->id
3
is now curtrac
k
_id3
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Change
s
tr
u
ct track_
i
nfo,
a
d
d bufgetid3 to
p
layback
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add buf
f
ering_ini
t
() an
d
re
n
a
m
e
G
UARD_SIZE to G
U
A
R
D_BUFSI
Z
E
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
e
nnequin
playback
.
c
: Add the buffe
r
ing
thread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Initia
l
M
etadata-On-Bu
f
fer files
c
ommit
.
commit
|
commitdiff
|
tree
next