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
Remove the unused "rebuffer" parameters
2007-10-25
Nicolas
P
e
n
neq
u
in
Remove the un
u
sed "rebuffer" parameters
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pe
n
neq
u
in
Fix compilation o
n
HW
C
ODEC
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
audio_
f
ill_file
_
buffer() cle
a
n
ing and tweaking
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enn
e
quin
F
o
rgot
t
his one
:
(
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
bool fil
l
in
g
i
s
n
'
t
n
ecessary anym
o
re
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Fix the wps_
o
ffset business for go
o
d
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las P
e
n
nequin
Cleanup
p
l
ayb
a
ck
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Use the
callbacks
i
n the audio
thr
e
ad
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pen
n
e
q
uin
Add callba
c
ks to notify users of t
h
e b
u
f
fering API
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Penn
e
quin
Remove the
"buffering" bo
o
l indicator
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Make t
h
e playlist position be
u
pd
a
ted on th
e
P
CM tra
c
k
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
So
l
ve
the progressbar not
b
ein
g
up
d
ated in the
last
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pe
n
nequ
i
n
Close part
i
a
l
ly buffer
e
d
handles when changing tracks
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequ
i
n
M
a
ke
the
audio thread wait with a ti
m
e
o
ut
e
v
en when
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Min
o
r
t
weak
to the audio th
r
ead buffer
f
illing
logic
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Increase MAX
T
HREADS
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
Pennequin
Add the "buf
f
er
i
ng" statu
s
indicat
o
r
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
ennequin
Remove
s
ome disabl
e
d code f
r
om playbac
k
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Invalidate h
a
ndle c
a
che on handle removal
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequ
i
n
Chan
g
e
a
udio_rele
a
s
e
_tracks()
s
o tha
t
it ensu
r
es
c
losing
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icol
a
s
P
e
nneq
u
in
Better logic in the buffer
i
ng
threa
d
loop
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequ
i
n
Tur
n
bufc
l
ose i
n
to a queue e
v
ent sender to ensure
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
P
r
ote
c
t
t
he linked list
w
ith a mutex
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s Penne
q
uin
Some cleanup/simpl
i
fication and an added comment
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Penn
e
quin
Mo
v
e the call to ata_sleep() in
f
ill_buf
f
er
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
No bufclosin
g
of hand
l
e
s after track change
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
P
ennequin
Add a bit mo
r
e debug info
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Re
i
ntroduce codec
_
advance_buf
f
er
_
counters()
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
enneq
u
in
Don't at
t
e
m
p
t
t
o
buffer tr
a
c
k
s if th
e
re
a
re no more
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
as Pennequin
Hide the
b
uffering thread and
queue inside buffering
.
c
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Revert
"Repla
c
e yield_codec() with a
c
all to queue_wa
i
t
_w_tm
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Same as
t
he previous commit but w
i
t
h
a differe
n
t callback
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Che
c
k
that me
t
adata is pr
e
sent before cal
l
ing back
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
10 ticks is
w
ay too long
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nn
e
quin
filebuf_is_lo
w
data
i
sn't neede
d
a
n
ymore
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Re
p
lace
y
ield_
c
odec()
w
i
th a
c
all to queue_wait_w_tmo()
commit
|
commitdiff
|
tree
2007-10-25
N
ico
l
as
P
e
n
n
e
quin
Reb
u
f
fer
a
fte
r
playlist
change
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Enable
a
nd corr
e
ct
a
udio_invalidate_tracks to make
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Line len
g
ths
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Only attemp
t
t
o
fill
t
he buffer if it
needs
to
be filled
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as P
e
nneq
u
in
Free the buffer more often when
there is
l
ess
data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
I
mprov
e
d bu
f
f
e
r
u
se by filling whe
n
the
d
i
sk is activ
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
The number of tra
c
ks for whic
h
we have handles is one
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
n
equin
Add bu
f
fered_
d
ata()
f
or lat
e
r u
s
e
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
as Pen
n
equi
n
Debu
g
screen for th
e
bufferin
g
t
hread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequ
i
n
Mak
e
dir
s
k
i
ppin
g
work correc
t
ly
and probably
i
mprove
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
codec_ad
v
ance_bu
f
fer_callback: Remove
u
nused code
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
codec_se
e
k_b
u
ffer_cal
l
back:
a
s
imple bufseek
c
all
i
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas P
e
nnequin
Make bufadvan
c
e rely o
n
b
u
fsee
k
instead of du
p
lica
t
ing
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pen
n
equin
Correct bufseek
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penneq
u
in
Some
c
ode
docume
n
tation upd
a
tes
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
P
ennequin
R
e
name free
_
buffer() to shri
n
k
_
handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
audio_current_track: Don't
u
s
e curtrack_i
d
3 if it
'
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enneq
u
in
Fix warni
n
g
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
C
l
ear s
t
atic structs
on
stop
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequi
n
I
mprove meta
d
ata us
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Poin
t
er c
o
sme
t
ic changes
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Silence warnings on co
l
dfire
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
R
ename getptr to
bu
f
getcod
e
c and make it ens
u
r
e
t
h
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
bufopen: Im
m
ediat
e
ly request
buffering for certain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
l
a
s
Pennequin
C
h
eck for the case w
h
en n
o
d
a
t
a is
re
a
d
y
and the required
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pe
n
nequin
R
e
vert "Simplify co
d
ec_requ
e
st_buff
e
r_callback()"
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
c
u
rtrack_id3 an
d
nexttrack_id3 sh
o
uld
be static
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
eq
u
in
A bit
o
f maintenance
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
P
e
n
n
equin
Simplify cod
e
c_
r
equest_buf
f
e
r_c
a
l
l
back()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Only ask
onc
e
for
buffering, then wait for the dat
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Fix bufr
e
ad imple
m
entatio
n
.
This fi
x
e
s
probl
e
ms w
i
th
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Min
o
r
c
leanup
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Properly clear
tra
c
k info
commit
|
commitdiff
|
tree
2007-10-25
N
ico
l
as
P
enne
q
u
i
n
reset_handle(): Fix
w
arning and ma
k
e it static
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Factor
o
u
t
the duplicate code from
buf
a
d
van
c
e in
r
ebuffer_h
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
I
m
plement bac
k
w
ards skipping b
y
comm
p
leting
a
u
dio_rebuffer
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Clear warnings and more cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pe
n
n
e
q
uin
Cleanup
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
l
a
s Penn
e
quin
Si
l
ence the wa
r
ning fr
o
m r
e
set_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
nnequin
audio_
s
t
o
p_playback(): Release
tr
a
ck
handles B
E
FORE
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Seek
i
n
g wasn'
t
actully quite
correct: mak
e
it seek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pe
n
n
equin
Imp
l
ement r
e
b
u
ffering for seeking outs
i
de of buffered
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
as Pennequin
F
ix playback resuming
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequi
n
Prevent file descriptor lea
k
ag
e
or o
v
eruse
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
codec
_
fi
l
ebu
f
_callback: Setting copy_
n
to 0 wa
s
a
V
E
R
Y
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
S
i
lenc
e
a few warnings
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
bufclose: Mak
e
su
r
e the handle's file d
e
scriptor is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
bufopen(
)
: Don't immedi
a
tely buffer
c
ert
a
i
n types of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
qui
n
codec_
s
eek_buffer_ca
l
lback()
:
Check whether it's possible
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Un
c
omment a part of audio_
r
ebuff
e
r()
t
o
m
ake rebuffering
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pe
n
nequin
When data can't wra
p
, start
over at the
beg
i
nning of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Don'
t
ask to buffer tra
c
k
s
r
ight after loa
d
ing t
h
em
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Add USB
c
onne
c
ti
o
n ha
n
dling to the b
u
ffering thread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
n
e
quin
Fi
x
t
r
acks be
i
ng forg
o
t
t
e
n
about when
there was no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequ
i
n
Improve yield_codec and use it better t
o
make a
u
dio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
bu
f
getdata(): fix the ava
i
lab
l
e vs
.
requ
i
red check
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
F
ix a s
t
upid bu
g
tha
t
ca
u
sed some handles
not to b
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Introdu
c
e yield_c
o
d
e
c(
)
, similar to the
original audio
_
yiel
d
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
Pennequi
n
Make t
h
e ta
r
get behave the same
a
s t
h
e
s
i
m
(don't care
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Trying to make audio sta
r
t pla
y
ing fast
e
r
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix
p
l
ayback stopp
i
ng
b
y clos
i
n
g
all
t
rack ha
n
dles
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pen
n
eq
u
in
A few comment twe
a
ks
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas P
e
nnequin
Add
a
test in audio_
c
urrent_tr
a
ck()
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as P
e
nnequ
i
n
Do the initia
l
pop
u
lating of the static ID
3
stru
c
ts
.
.
.
commit
|
commitdiff
|
tree
next