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
Nico
l
as
P
e
nnequin
audio
_
f
i
ll_file_buffer() cleaning and tweaking
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
ola
s
Penneq
u
i
n
Forgot this one :(
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
bool
f
illing isn't
necessary an
y
more
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
nequin
Fix the wps_offs
e
t
b
usiness
for goo
d
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Cleanu
p
pla
y
back
.
c
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penneq
u
in
Use the
c
allbacks in the audi
o
thread
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Add callba
c
ks
to no
t
ify
users of the buffering
A
PI
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Remove the "buffering
"
bo
o
l indicator
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pen
n
e
q
uin
Make the playlist pos
i
t
ion
b
e
upda
t
ed on the PCM track
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pen
n
eq
u
in
Solv
e
t
h
e prog
r
essbar not
b
eing upd
a
ted in
t
he last
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Close
p
artially
buffered handles when c
h
anging trac
k
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equ
i
n
Make the au
d
io thread wait with a timeout even whe
n
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s
Pennequin
Mino
r
tweak to the audio thread
b
u
f
f
er filling logic
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Increas
e
MAXTHREADS
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
nequin
Add the "buf
f
e
r
i
n
g"
s
tatus indica
t
or
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
as Pennequin
Remove some disabled code from
playback
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Invali
d
ate handle cache on handle re
m
oval
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Change audio
_
relea
s
e_tracks() so
that it ensures closing
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Bet
t
er logic
in
the
buffering thread loop
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Tu
r
n
b
u
fclo
s
e int
o
a queue event
s
ender to
e
n
s
ure a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Protec
t
the linked list
w
i
t
h a mutex
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penn
e
quin
Some clea
n
up/simplificati
o
n and
a
n
add
e
d comment
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Move t
h
e call to ata
_
sleep() in fill_b
u
ffer()
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
e
nnequin
N
o
bufc
l
osing of handles
a
ft
e
r track change
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
n
nequin
Add
a bit more debug in
f
o
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
R
e
i
n
t
rod
u
ce codec_adv
a
nce_buffer_
c
ou
n
te
r
s()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penne
q
uin
Don't attempt to buff
e
r tracks i
f
there are no more
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
las Penne
q
uin
Hide the buffering thr
e
ad and queu
e
inside
buffering
.
c
commit
|
commitdiff
|
tree
2007-10-25
N
ico
l
as Pennequin
Revert "Replace yield_co
d
ec() wi
t
h a call to queue_wait_
w
_tm
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Same as
t
he
p
revious com
m
it but wit
h
a differe
n
t
callb
a
ck
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pe
n
nequin
Check t
h
at metadat
a
is
p
resent before callin
g
back
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
10 ticks is way to
o
long
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
e
nneq
u
in
fil
e
bu
f
_is_lowdat
a
isn't
neede
d
anymore
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
n
e
quin
Replace y
i
eld
_
codec() with a call to queue_w
a
i
t_w_tmo()
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pe
n
ne
q
ui
n
Rebuffer after pl
a
ylist chang
e
s
commit
|
commitdiff
|
tree
2007-10-25
N
i
cola
s
P
e
nnequin
Enable and correct audio_invalidate_tracks to
m
a
k
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequi
n
L
i
n
e
lengths
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penn
e
quin
Only attempt
to fill th
e
buffer if it needs to be
f
illed
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Free the
b
uf
f
er more often when there is les
s
data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequi
n
I
mproved buffer
use by fillin
g
when the disk is active
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
The
n
u
m
b
er
o
f
t
racks for which we ha
v
e handle
s
is one
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
A
d
d bu
f
fered_
d
ata() for lat
e
r
use
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
D
ebug screen fo
r
the buffering thread
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penne
q
uin
Make dir skipp
i
ng work correctly
and probably improve
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pen
n
e
q
uin
c
odec_advance_bu
f
fer_callback: Remove unu
s
ed
c
o
d
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
code
c
_seek_
b
uffer_callback: a simple buf
s
e
e
k cal
l
is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
u
in
Make bufadvanc
e
r
ely on bufse
e
k instead of duplicat
i
ng
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
as
P
ennequin
Cor
r
ect bufseek
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Som
e
code docume
n
t
a
tion updates
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pe
n
n
equin
Rename free_buffer() to shrink_handle()
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
las Penn
e
qui
n
a
udio
_
curre
n
t
_track
:
Don't use
c
urtrack_id3 if it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequi
n
Fix wa
r
n
ing
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Clear static stru
c
ts
on stop
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
n
equin
Improve metad
a
ta use
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
P
ointer cosmetic chang
e
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
S
i
lence warning
s
o
n
coldfire
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
e
quin
Rename getptr t
o
bufgetcodec an
d
ma
k
e it ensure the
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
bufopen: Immediately request b
u
ff
e
ring for certain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Check
f
o
r
t
h
e case w
h
en
no data is re
a
dy and the required
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as P
e
n
n
e
quin
R
e
vert "Simplify cod
e
c_r
e
qu
e
st_buffer_callb
a
ck()"
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
las Pennequin
cur
t
rac
k
_i
d
3 and
n
exttrack_id3 shoul
d
be static
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
A
b
it of mainten
a
nc
e
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
las Pe
n
nequi
n
S
imp
l
ify
cod
e
c_request_buffer_
c
a
ll
b
ack()
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequ
i
n
Only ask once for bu
f
fe
r
ing, then
w
a
it for the
d
ata
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pen
n
equin
Fix
b
ufread
i
mplemen
t
ation
.
This fix
e
s prob
l
ems wi
t
h
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s Penn
e
quin
M
i
nor cleanup
commit
|
commitdiff
|
tree
2007-10-25
N
icolas P
e
nnequin
P
r
operly clear track
i
nfo
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequ
i
n
r
eset_handl
e
(
)
:
Fix warning
a
nd ma
k
e
it static
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penn
e
quin
F
a
ctor out
the du
p
licate code
fr
o
m bu
f
a
d
v
a
nce
in
r
ebuffer_h
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
I
m
pleme
n
t backwards sk
i
pping by com
m
pleting audio_reb
u
f
f
er()
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s Pennequin
Clear warnings a
n
d more cleanup
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Cleanu
p
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penn
e
quin
Silence the wa
r
n
ing
from reset_h
a
ndle()
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pen
n
equ
i
n
audi
o
_stop_playback()
:
Release track
ha
n
dles BEFO
R
E
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
S
e
e
k
ing wasn't
a
ctully quite
c
orre
c
t:
m
a
ke it
seek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Implem
e
n
t rebuffering for seeking outside of b
u
f
f
ered
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
n
equin
Fix playback resuming
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Penn
e
q
uin
Prevent file des
c
riptor leakage or o
v
eruse
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
codec
_
filebuf_
c
allb
a
ck: Setting copy_n t
o
0 was a VERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penneq
u
in
S
i
lence a
f
e
w
w
arnings
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
las Pennequin
bufclose: Ma
k
e sure
t
h
e han
d
l
e
's f
i
le de
s
criptor is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
bufopen(): Don
'
t immediately
buffer
certain types of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pe
n
nequin
codec_seek_bu
f
fer
_
callback(): Check whether it's possibl
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
en
n
equin
Uncomment a part
o
f
audio_reb
u
f
f
er() to make rebu
f
fe
r
i
n
g
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
Penn
e
quin
W
hen da
t
a can't
wra
p
, s
t
art over at the
beginning of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Don
'
t ask to buffer tra
c
ks r
i
ght after loadin
g
them
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
i
n
Add
USB connect
i
on ha
n
dlin
g
to th
e
bufferin
g
thr
e
ad
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequi
n
Fix tracks be
i
n
g
fo
r
gotten abo
u
t
when
t
here was
n
o
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Improve yi
e
l
d_codec
and use
it better to
m
ake
a
udio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
bufgetdata(
)
:
fix the available vs
.
required check
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
e
nnequin
Fix
a
stupid
b
ug that
caused
s
ome handles n
o
t to be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Introd
u
ce yield_codec(), simila
r
to the original aud
i
o_yield
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
n
n
e
quin
M
a
ke the ta
r
get behave the same as the
s
im (don't car
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Try
i
ng to make
a
u
d
i
o start playing faster
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pe
n
nequin
F
i
x
playb
a
c
k
s
topping by
c
l
o
s
ing all tr
a
ck
h
andles
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pe
n
nequin
A few comm
e
nt tweak
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add a t
e
st in audio_curren
t
_t
r
ack()
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Do the initial populating of the s
t
ati
c
ID3
structs
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Make audio_read_next_metadata
a
bit safer
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Mino
r
corre
c
t
i
on o
f
a
commen
t
commit
|
commitdiff
|
tree
next