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
Some cleanup/simplification and an added comment
2007-10-25
Ni
c
ol
a
s Pennequin
S
o
me cle
a
n
u
p/si
m
plification
and an added comment
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
a
s Pennequin
Move the call to
a
t
a_s
l
eep
(
)
in
fill
_
bu
f
fer()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pe
n
nequin
No b
u
fclos
i
ng of handles af
t
er track change
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequi
n
A
dd a bit more deb
u
g info
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Reintroduce code
c
_advance_buff
e
r_
c
oun
t
ers()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pe
n
neq
u
in
Don
'
t at
t
empt t
o
buffer t
r
acks if there
are no more
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pen
n
equi
n
Hide
t
he buf
f
ering thr
e
ad a
n
d
q
ueue inside buffering
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pen
n
e
q
ui
n
R
e
vert "Repl
a
ce yield_cod
e
c() with
a call to q
u
eue_wait_w
_
tm
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Same as the p
r
evio
u
s commit but with a
differen
t
callback
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Check
t
hat meta
d
ata i
s
present
b
efore calling
back
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
10 ticks is way too
long
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pe
n
nequi
n
f
i
l
e
buf_is_
l
owd
a
t
a
isn
'
t nee
d
ed
anymore
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Replac
e
yield_codec() with
a
c
a
ll t
o
queue_wait_w_tm
o
()
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequi
n
R
e
buff
e
r aft
e
r playl
i
s
t
changes
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Enable and co
r
r
ect audio_in
v
a
l
id
a
te_tracks to ma
k
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
a
s Pennequin
Line
l
e
n
gths
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Only
a
t
tempt to fi
l
l the buffe
r
if it n
e
eds to be filled
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Free the b
u
ff
e
r more often w
h
en ther
e
is less data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Improved buffer u
s
e by filling when the dis
k
is a
c
tive
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
The number of tracks for wh
i
c
h we have handles
is one
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add buffered_
d
a
ta() for later use
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequi
n
D
ebug screen
f
or
the buffer
i
ng thread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Ma
k
e dir skipping work correctl
y
a
n
d
pr
o
babl
y
improve
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
codec
_
adva
n
ce_buff
e
r_
c
allb
a
c
k
: Remove
unused code
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penneq
u
i
n
codec_
s
eek
_
buffer_callback: a s
i
mple bufseek
call is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas
P
e
nneq
u
in
Make bufad
v
ance
rely on bufseek ins
t
ead
o
f duplicating
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
Pe
n
nequin
Correct b
u
fseek
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Some
c
o
de documentation
u
pdates
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequi
n
Rename f
r
ee_buffer() to
s
h
r
ink_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equ
i
n
audi
o
_current_tr
a
ck: Don't
use
c
urtrack
_
id3 i
f
it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pe
n
nequ
i
n
Fix warn
i
ng
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Clear s
t
atic struc
t
s
o
n
s
t
op
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Improve me
t
adata us
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Pointer cosmeti
c
changes
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Silence warnings
o
n
c
oldfire
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Rename getptr to bufget
c
o
dec and make it ensure the
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
bufop
e
n: Im
m
ediately
request buffering fo
r
cert
a
in
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Check for the c
a
se
when
no data is re
a
dy and
th
e
required
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
P
e
nneq
u
i
n
Revert "
S
implify
codec_requ
e
st_bu
f
fer_callback(
)
"
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
curtrack_id3 and nexttrac
k
_id3 sh
o
uld be static
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
A b
i
t of maintenance
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Simplify codec_request_
b
u
f
fer_c
a
llback()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Only ask o
n
ce for buffe
r
ing, then w
a
it
f
o
r the data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
F
i
x bufread implementatio
n
.
This f
i
x
e
s
p
robl
e
ms w
i
th
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penne
q
uin
Minor cle
a
nup
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Properly clear
tr
a
ck in
f
o
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequ
i
n
r
eset_handle():
Fix warning and make
it
s
t
at
i
c
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
F
actor out the duplicate code fro
m
bufadvanc
e
i
n
reb
u
f
f
er_ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Imp
l
em
e
nt backwards s
k
ipping by commpleting audio_r
e
buffer
(
)
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pennequin
Clear wa
r
n
i
n
gs and more cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pe
n
nequin
Cl
e
anup
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penn
e
q
u
in
Silen
c
e the warning from reset_handle(
)
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
Pennequin
a
u
dio_stop_
p
layback(
)
: Release
t
rack h
a
n
dle
s
B
EFO
R
E
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Seeking
w
asn't actul
l
y
quite cor
r
ect: make it seek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nneq
u
in
Implement rebuffering
f
or
s
ee
k
ing outsi
d
e of buffe
r
ed
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Fix
p
layba
c
k r
e
su
m
in
g
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Prevent file
d
e
scriptor lea
k
age or overu
s
e
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas P
e
nneq
u
in
code
c
_filebuf_ca
l
l
back
:
S
e
t
ting copy_n to 0 was a V
E
RY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
P
e
n
nequin
Silenc
e
a few w
a
rni
n
gs
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas
Pennequin
bufclose:
M
ake s
u
re the ha
n
dle
'
s
f
ile
d
escript
o
r is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
b
ufopen(): Don't immedi
a
tely buffe
r
certain
t
ypes of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Penn
e
quin
codec_seek_buffer_ca
l
lbac
k
(): Check whe
t
her i
t
's po
s
sible
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
as P
e
nne
q
uin
U
n
comm
e
nt a part of au
d
io_re
b
uffer() to make r
e
buff
e
r
ing
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
P
e
nnequin
W
hen data can't wrap, st
a
rt over at the beginning of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Don
'
t
ask to buffer tracks right
a
ft
e
r loadi
n
g them
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Add USB connect
i
o
n h
a
ndling to t
h
e buf
f
ering thread
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as P
e
nnequin
Fix tracks being
forgotten about
when there was no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
P
ennequin
I
m
prove yield_codec a
n
d
use it better to make audio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
as Pennequ
i
n
bufgetdata(
)
: fix the
available
vs
.
required ch
e
ck
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equ
i
n
Fix a stupid bug that caused so
m
e ha
n
d
le
s
not t
o
be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Int
r
oduc
e
yie
l
d_
c
odec(
)
, s
i
mi
l
ar to the original audio_yiel
d
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Penn
e
quin
Make the target behave the
s
ame as the sim (don'
t
ca
r
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Trying to make audio start
playing faster
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix p
l
ayback stoppi
n
g
b
y
closing
all track handles
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
P
e
nnequin
A
f
e
w
c
o
mmen
t
tweaks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
e
quin
Add a test
i
n audio_current_track()
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ola
s
Pennequin
D
o t
h
e i
n
itial populating of the static ID3
s
t
ructs
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Make
audio_read_next_met
a
d
ata a bit safe
r
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penneq
u
in
M
inor co
r
rection of a comment
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Use
i
d3_hid
r
ather th
a
n taginf
o
_ready t
o
know if ID3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
R
eq
u
est buffering of the curr
e
nt
t
rack if it i
s
to
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
las Pennequin
Add so
m
e synchronis
a
tion
to preve
n
t s
o
me deadloc
k
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penn
e
quin
Ma
k
e b
a
s
i
c seeking
actually work
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s
Pennequin
Add c
l
ose_track_handles an
d
reenabl
e
au
d
io_clear_tr
a
c
k
_entri
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penne
q
uin
Re
l
ease data for the fini
s
he
d
t
rack on track change
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Store filesize on l
o
ad
.
This makes basic seeking
work
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Start usi
n
g "
f
illing" correctl
y
t
o
make
m
o
re tracks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
Pennequin
Rem
o
ve t
h
e t
e
st plugin
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Incr
e
ment t
r
ack_widx after load
i
ng a t
r
a
c
k
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Cosmetics and get rid
o
f warnings
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penne
q
uin
ID3
h
a
ndling imp
r
ove
m
ents
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Trigger a CP
U
boost bef
o
re reading from disk
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Debug out
p
ut twea
k
ing
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
A bu
n
c
h of im
p
rovem
e
nts that
m
ake pla
y
back of the first
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
Pen
n
equin
Ad
d
a get
_
offset API call to
make
c
ode
c
_adva
n
ce_buffer_loc_c
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penne
q
u
i
n
A couple more tweaks
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
Pen
n
equi
n
Fi
x
a stupid b
u
g that preven
t
ed t
h
e bufferi
n
g system
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
q
u
in
Brut
a
lly ma
k
e pla
y
bac
k
.
c
compile b
y
d
i
s
abling lots
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
More twe
a
king
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
D
isable co
d
ec_pcmbuf_posi
t
i
o
n
_c
a
llback for now
.
commit
|
commitdiff
|
tree
next