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
audio_fill_file_buffer() cleaning and tweaking
2007-10-25
Nicolas Pennequin
audio_fill_file_buf
f
er()
c
l
eaning and tweakin
g
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pe
n
nequin
Forgot t
h
is o
n
e :(
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
bool fi
l
ling isn
'
t neces
s
ary anymore
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequi
n
Fix the wps_offset
busin
e
ss for g
o
od
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
C
l
ea
n
up playba
c
k
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Use the ca
l
l
backs
i
n the audio th
r
ea
d
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
A
d
d callback
s
to notif
y
users
o
f
the buffering
A
PI
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Remove the "bu
f
fe
r
ing" bool
i
ndicator
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Mak
e
the playlist posit
i
o
n be
u
pd
a
ted on
t
he PCM tr
a
c
k
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequi
n
Solve
t
he p
r
o
g
re
s
sbar not bei
n
g updated
i
n
the last
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penneq
u
i
n
C
l
ose partially
b
u
ffered handle
s
when ch
a
nging tracks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make the aud
i
o t
h
read w
a
i
t with
a
t
i
meout e
v
e
n when
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Minor tweak
to the aud
i
o thread
b
uffer filling
l
o
gic
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
P
enn
e
quin
Increase MAXTHREADS
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Add th
e
"bu
f
fering"
s
t
at
u
s indi
c
ator
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Remove some disabled code f
r
om pl
a
y
b
a
c
k
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Inval
i
date
hand
l
e c
a
che on ha
n
dle remov
a
l
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
C
hange aud
i
o_r
e
lease_track
s
() so
that it ensures c
l
osing
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pe
n
nequin
Better logic in the
b
uffering th
r
e
a
d loop
commit
|
commitdiff
|
tree
2007-10-25
N
icol
a
s
P
enn
e
quin
T
urn b
u
fc
l
ose into a queue event sender to e
n
s
u
re
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
P
ennequi
n
Protec
t
the
linked lis
t
with a mut
e
x
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
Pen
n
equin
S
o
me cleanup/sim
p
lifica
t
ion and a
n
added commen
t
commit
|
commitdiff
|
tree
2007-10-25
N
ico
l
as
Penn
e
quin
Mov
e
the call t
o
ata_sleep() in fill_buffer()
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s Pennequ
i
n
No
buf
c
losing of handl
e
s
after
track change
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
l
a
s Pennequin
Add a bi
t
more debug info
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
las Penn
e
quin
Reintroduce codec_advance_buffer_counter
s
()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enne
q
uin
Don'
t
attempt to buffer tracks i
f
there
a
r
e no more
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
e
nnequin
Hide the buffer
i
ng thread and queue inside buffering
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Revert "Replac
e
y
ield_codec
(
) with a call to queue_wait_w_tm
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penneq
u
in
Sam
e
as the previous commit bu
t
w
ith
a
different ca
l
lback
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
C
h
e
ck th
a
t metadata is present before calling back
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pen
n
eq
u
in
1
0 ticks
i
s
w
a
y too
l
o
n
g
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pe
n
neq
u
in
filebuf_is
_
l
o
wdata isn'
t
n
eede
d
a
nymo
r
e
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
las Pennequi
n
R
e
pl
a
ce
yield_codec() w
i
th a call to queue_wa
i
t
_w_tmo
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penneq
u
in
Rebuffer after playl
i
st changes
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pe
n
n
equin
Enable
an
d
correct audio_in
v
alidate_tr
a
cks to make
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
L
i
ne lengths
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Only attempt to fill the buffer
i
f
i
t needs to be filled
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Free the buf
f
er
m
o
re o
f
t
e
n
when t
h
er
e
is less data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
I
mpr
o
ved buffer use
b
y
f
illing when the disk is active
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penneq
u
in
The number of tracks
f
or which we have handle
s
i
s on
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add buffered_data() for later
u
se
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Debug screen for
t
h
e
b
uffering thread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make dir s
k
i
p
ping wo
r
k corr
e
c
tly and probabl
y
improve
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
c
o
d
ec_a
d
v
a
n
ce_buffer_callback:
R
em
o
ve unuse
d
c
o
de
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enn
e
quin
codec_seek_buff
e
r_call
b
a
ck: a simple bufseek
c
a
l
l
is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make bufadvance rely on
b
ufseek i
n
ste
a
d
of du
p
licating
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
C
orrect b
u
fs
e
ek
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penneq
u
i
n
Some
code d
o
cumenta
t
ion
up
d
ates
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
Pen
n
equi
n
Rename f
r
ee_buffer() to shrink_hand
l
e()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enneq
u
in
audio_cur
r
ent_t
r
ack: Do
n
't
u
se
curtrack_id3
if it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Fix warning
commit
|
commitdiff
|
tree
2007-10-25
N
i
cola
s
Pennequin
Clear s
t
atic
structs on st
o
p
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
I
mpr
o
v
e
metadata use
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
en
n
equin
Pointer cosm
e
t
i
c chan
g
es
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas P
e
nnequin
Silence warnings
on coldfi
r
e
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
P
ennequin
Rename
g
etptr to bufgetco
d
ec and make it
e
nsure
t
he
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
b
ufopen: Immediately req
u
est
buff
e
ring for certain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequin
C
heck f
o
r the
c
ase
w
hen no da
t
a is ready and th
e
required
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Rev
e
rt "S
i
mplify
codec_request_buffer_callba
c
k()"
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
c
u
rtrack_id3 and nexttrack_id3
shou
l
d be static
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
A bit of
m
ain
t
en
a
nce
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Simplify
c
odec
_
request_buffer_callback()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Only ask once fo
r
b
ufferin
g
, th
e
n wait
f
o
r the data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
Penneq
u
i
n
Fix bufread impl
e
mentation
.
This fixe
s
p
r
oblems with
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
n
e
q
u
i
n
Minor clean
u
p
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
as Penne
q
uin
Pr
o
perly clear tra
c
k info
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as P
e
nn
e
quin
re
s
et
_
handle(
)
: Fix warning
an
d
make it stati
c
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequi
n
Fact
o
r
out t
h
e duplica
t
e code from buf
a
dvanc
e
i
n
rebuffer_ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
Pennequin
Implement backwards skippi
n
g by comm
p
leting audio_rebu
f
fer()
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
Pennequin
Clear warni
n
g
s and more cleanup
commit
|
commitdiff
|
tree
2007-10-25
N
icol
a
s Pennequin
Cleanup
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s Pennequin
Silence the
wa
r
n
ing fro
m
r
eset_hand
l
e()
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
a
u
dio_stop_
p
layback(): Release track handles BEFOR
E
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
las Penn
e
quin
Seeking wasn't actully qu
i
te correct: m
a
ke it seek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s Pennequi
n
Implement rebuffer
i
n
g
for seeking out
s
ide of buffered
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix playback resuming
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penn
e
q
u
in
Preven
t
file descriptor leakage or overuse
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enn
e
qui
n
codec
_
f
i
lebuf_cal
l
back: Setting
copy_n to
0
was a VERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Silence
a
few warnings
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
buf
c
lose:
M
ake s
u
re the
handle's
file
descriptor is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
bufo
p
e
n
(): Don't i
m
mediately buffer
certain types of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequ
i
n
codec_se
e
k_buffer_callback(): Ch
e
ck
w
hether it's po
s
sible
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
U
n
comment a part
of
au
d
io
_
rebuf
f
er() to make rebu
f
fering
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
P
e
nnequin
When data can't wr
a
p, start
o
ver
a
t
th
e
beginning of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s P
e
nnequin
D
o
n't
ask to buffer tracks
right after loading the
m
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Add USB con
n
ection handlin
g
t
o t
h
e bu
f
f
e
r
i
ng threa
d
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Fix track
s
bei
n
g f
o
rgotten about when there was no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Improve yield_c
o
dec
a
nd use it bette
r
to m
a
ke aud
i
o
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
qu
i
n
bufgetd
a
ta():
fix the available vs
.
required check
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Fix
a
stupid
bug that
c
aused some handles not to be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequi
n
Introduce yield_codec(), s
i
milar
to the origin
a
l audio_yie
l
d
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
e
n
nequin
Make
t
he target behave the same as the
s
i
m (d
o
n
't care
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Trying to make a
u
dio st
a
r
t
p
l
aying
f
as
t
er
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Fix play
b
ack stopping by closing all track ha
n
d
les
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
las Penne
q
uin
A few comment twea
k
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add a t
e
st in audi
o
_current_
t
rack
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Do the in
i
tial pop
u
lating of the st
a
tic ID3 str
u
cts
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Make audio_
r
ead_ne
x
t_metadata a bit safer
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Mino
r
cor
r
ection of a
c
o
mment
commit
|
commitdiff
|
tree
next