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
Free the buffer more often when there is less data in it
2007-10-25
Ni
c
o
las Pennequi
n
Free t
h
e bu
f
fer mor
e
often
when
t
here is
l
ess dat
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Improve
d
buff
e
r us
e
by filling when t
h
e
disk is active
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequ
i
n
The number o
f
tracks for which we ha
v
e
h
andl
e
s is one
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penneq
u
in
Add buffe
r
ed_data() for later use
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Debug
screen fo
r
the buffering threa
d
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
M
a
ke dir skipp
i
ng work correctly and pro
b
ably
i
mprove
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
P
en
n
e
quin
codec_
a
d
v
a
nce_b
u
f
fer_callbac
k
: Remove u
n
used
c
ode
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
codec_s
e
ek_buffer
_
callback: a simple bufs
e
e
k
ca
l
l is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Mak
e
bufadvanc
e
r
ely on
bufse
e
k
instead
o
f duplicating
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
la
s
Pennequin
Correct bufseek
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
S
ome code docu
m
entation updates
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Re
n
ame free_bu
f
fer(
)
to shri
n
k_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
audio_current_track: Don't use curtrack_id3 if it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s Pen
n
equi
n
Fix w
a
rning
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Cl
e
a
r
static struc
t
s
on stop
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penneq
u
i
n
Improve metadata use
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penneq
u
in
Pointer cosme
t
ic changes
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Silence warning
s
o
n
coldfire
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Rename
g
etptr to bufgetcodec and make it ensure the
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s
Penneq
u
in
bufopen: Immediately reques
t
buffering for c
e
rtai
n
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
as Penn
e
q
uin
C
h
e
ck for
the case when no data is ready and the req
u
ired
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Revert "S
i
mplify
codec_request
_
buffer_cal
l
back()"
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
las Pennequi
n
c
u
rtrack_id3 and nexttra
c
k_id3 s
h
ould be static
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
A
bit of mainte
n
ance
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Simplify codec_req
u
est_buffer_
c
allb
a
ck
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
nn
e
quin
Only ask o
n
ce f
o
r
b
u
ff
e
ring, then wait for t
h
e dat
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix bufread
i
m
p
lementat
i
on
.
T
his fixes problems with
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Minor cleanup
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s Pennequin
Properly clear
trac
k
info
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
res
e
t
_
handle(): Fix warning and make
i
t
stati
c
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Fac
t
or out th
e
du
p
licate
c
ode from bufadvance in rebuf
f
er_ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Implement
b
a
ckwar
d
s skipping by
c
ommplet
i
ng aud
i
o_r
e
b
uffer(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Clea
r
warnin
g
s and mo
r
e cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nne
q
uin
C
l
ea
n
up
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequi
n
Silence the
w
arni
n
g from reset_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penneq
u
in
a
u
dio_stop_playback(): Release
tr
a
ck handles BEFORE
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Seeking wasn't actu
l
ly
q
u
i
te
c
orrect: make it seek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Im
p
lement reb
u
f
f
ering for s
e
e
k
ing outside of
b
u
ff
e
red
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penneq
u
i
n
F
ix play
b
ack resuming
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pen
n
equin
Preve
n
t file desc
r
iptor leakage or overuse
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
codec
_
filebu
f
_callba
c
k: Set
t
ing copy_n to 0 wa
s
a
VERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
as Pennequ
i
n
S
ilence
a
few w
a
rnings
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
Pennequin
bu
f
close: Make sur
e
the handle's file descriptor i
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequi
n
b
u
fopen()
:
D
o
n
't imme
d
iately buffer certai
n
types of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
u
i
n
cod
e
c
_se
e
k_buffer_callba
c
k(): C
h
eck w
h
ether it's possi
b
le
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Un
c
omme
n
t a p
a
r
t
o
f
a
udio_rebuffer() to
m
ake
rebuffering
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Whe
n
data can't
w
rap, start ov
e
r at
the be
g
i
nn
i
ng of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penneq
u
in
Do
n
't ask to buffer tracks right after loading them
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penne
q
uin
A
d
d
USB connecti
o
n handling
to
the buffering thread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix tr
a
cks being forgotten about when the
r
e
w
as no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
I
m
p
rov
e
y
ield_codec and us
e
it better to
m
a
k
e audio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
as Pennequ
i
n
bufgetdata(): fix
t
h
e av
a
ilabl
e
vs
.
requi
r
ed check
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pennequin
Fi
x
a stupid bu
g
that cau
s
ed some hand
l
es n
o
t to
b
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
In
t
roduce yie
l
d_codec(), similar t
o
the original audio_yi
e
ld
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
n
equ
i
n
Ma
k
e the tar
g
e
t
beh
a
ve the same as t
h
e sim (
d
on't care
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enneq
u
in
Try
i
ng to make audio start play
i
n
g
fast
e
r
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequ
i
n
F
ix playback s
t
opping by clo
s
i
n
g
a
ll track handles
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas P
e
nnequin
A few comment
t
w
e
a
k
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add
a test in audi
o
_
c
urre
n
t
_track()
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s Pe
n
ne
q
uin
Do
the initial p
o
pulat
i
ng
o
f t
h
e
static
I
D3 structs
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make audio_r
e
ad_next_metadata a bit safer
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
M
inor
c
o
r
r
e
c
tion o
f
a
c
omment
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penneq
u
in
Use id3_h
i
d
r
a
ther than
t
aginfo_
r
eady to know if ID3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
i
n
Req
u
est
buffering
o
f the
cu
r
rent tra
c
k if it
i
s to
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pen
n
equin
Add some syn
c
hronisat
i
on to pr
e
ven
t
som
e
dea
d
locks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
cola
s
Pennequin
Make basic s
e
ekin
g
actual
l
y
w
ork
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
A
dd close
_
t
rack_handles and reenabl
e
aud
i
o_
c
l
e
ar_
t
r
a
ck_e
n
tri
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Re
l
ease dat
a
for the finished track
o
n
t
rack
ch
a
n
g
e
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequi
n
Sto
r
e f
i
l
e
size on lo
a
d
.
This makes b
a
si
c
s
eeking
w
ork
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pe
n
nequi
n
Start usi
n
g "fi
l
ling" correc
t
ly to
make
m
ore tracks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Remove the test plugin
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Increment
track_widx after l
o
a
ding
a track
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s Pennequin
Cosmetics and
g
e
t rid of wa
r
nings
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nne
q
uin
ID3 handling improvements
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Trigger a CP
U
boo
s
t be
f
ore reading from disk
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Debug output t
w
e
a
ki
n
g
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
A bu
n
c
h
o
f
improvements that m
a
ke playba
c
k of
t
he first
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequ
i
n
Add a g
e
t_off
s
e
t
A
PI call to
m
ake codec_a
d
v
a
nce
_
buffer_loc_c
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
A co
u
ple
more tweaks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Fix a stupid bu
g
that prevented
the
b
uffer
i
ng system
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
e
nnequin
Brutal
l
y make playb
a
ck
.
c compile b
y
d
i
sabling
lots
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
More tweaking
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Disable
c
odec_pcmbuf
_
position_callback for now
.
commit
|
commitdiff
|
tree