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
Fix bufread implementation. This fixes problems with codecs that use it.
2007-10-25
Nicolas
P
enne
q
uin
Fix bufr
e
ad i
m
p
l
e
men
t
a
tion
.
This fixes p
r
oblems with
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequi
n
Minor cleanup
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Properly clea
r
track info
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
reset_handle(): Fix warning and
make it static
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pe
n
nequ
i
n
Factor out the duplicate code from bufadva
n
ce in
r
e
buffer_ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s Penne
q
uin
Impl
e
ment backwards skipp
i
ng by commpleting audio_rebuffer()
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penn
e
quin
Cle
a
r
warnings and more
c
le
a
nup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pen
n
equin
Silence
t
he
w
arnin
g
f
r
om reset_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
a
udio_
s
top_playback(): Release track handles B
E
F
O
RE
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
S
e
e
king wasn't actu
l
ly quite correct:
m
a
k
e it
s
e
ek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
col
a
s
P
ennequ
i
n
Im
p
lem
e
nt rebufferin
g
for seeking outside of buffered
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pen
n
equin
F
ix
playba
c
k
r
e
s
umin
g
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pen
n
equin
Prevent file descriptor leakage or overuse
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
codec_fi
l
e
b
uf_
c
a
l
lback: Set
t
i
n
g
c
o
py
_
n to 0 was a VERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Silen
c
e a fe
w
warnin
g
s
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
enne
q
u
in
bufcl
o
se: Make su
r
e the handle's
file descriptor is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
las Pennequin
bufopen():
Don't imm
e
diatel
y
buff
e
r certain types of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
u
i
n
codec_seek_
b
uff
e
r_callback()
:
Ch
e
ck wheth
e
r
it's possible
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Unc
o
mment a part o
f
audio_
r
e
b
uffer()
t
o
make rebuffer
i
ng
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
When
da
t
a
c
an
'
t wra
p
, start over at the beg
i
nni
n
g
o
f
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas P
e
nn
e
quin
Don't ask to buffer tracks right after lo
a
ding them
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penneq
u
in
Add USB connection
h
andling
to t
h
e
b
uf
f
er
i
ng thread
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
F
i
x
trac
k
s bein
g
fo
r
g
o
t
ten about when there was no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penneq
u
i
n
Impro
v
e
yield_codec and use it
b
e
tter to make
au
d
i
o
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
ic
o
las Pennequi
n
bufgetdata(): fix the avail
a
ble
v
s
.
requi
r
e
d
check
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
en
n
equin
F
ix a
s
tupid b
u
g that caused some han
d
les not to be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Introduc
e
yield_codec(), similar to the original audio_yield
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
P
e
n
n
equ
i
n
Make
t
he target behave the same as th
e
s
i
m (do
n
't car
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
en
n
equin
Trying to make audio st
a
rt playing
f
aster
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Fix playback stop
p
ing b
y
closing all track
handl
e
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
A few c
o
mment t
w
eaks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
A
d
d a test in
aud
i
o_current_track()
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequ
i
n
Do the init
i
al populating of the s
t
atic ID3 struc
t
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s P
e
nnequin
Make audio_read_next_metadata a bit safer
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Minor
correcti
o
n o
f
a comment
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Use id3_
h
i
d
rather than taginfo_
r
eady to know
if ID3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Request buffering of the current
t
rac
k
i
f
it is to
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
e
nnequin
Add
some s
y
nchronisati
o
n t
o
prevent some deadlocks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
M
ake basic seeking actually wo
r
k
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Add close_trac
k
_hand
l
es and re
e
n
a
b
le audio_
c
l
e
a
r_tr
a
ck_e
n
tri
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Release data for the finished trac
k
on tra
c
k change
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
a
s P
e
nne
q
uin
Store
filesize on loa
d
.
This makes b
a
sic se
e
king work
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Start
us
i
ng "filling" correct
l
y
to mak
e
more tracks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penneq
u
in
R
e
move the tes
t
plug
i
n
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Increment
t
rack_widx
a
fter load
i
n
g
a track
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enn
e
q
u
i
n
Cosme
t
ic
s
a
nd g
e
t rid of warn
i
n
g
s
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
qu
i
n
ID3 handl
i
ng imp
r
o
v
eme
n
t
s
commit
|
commitdiff
|
tree
2007-10-25
N
icolas P
e
nnequin
Trigger
a CPU
boos
t
b
e
fore reading
f
rom
di
s
k
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequin
D
e
b
ug ou
t
put t
w
e
aking
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
A bunch of imp
r
ovemen
t
s that make playb
a
c
k of the f
i
rst
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penn
e
quin
Add
a ge
t
_of
f
s
e
t API call to make c
o
d
e
c
_advance_buffer_loc_c
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s Pennequin
A couple
m
ore t
w
eaks
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
as
P
ennequin
Fix a
st
u
p
i
d b
u
g that
p
revented the buffer
i
ng
s
y
stem
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Br
u
tal
l
y make pl
a
y
b
a
c
k
.
c
c
ompi
l
e by dis
a
bling
lots
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
More tweaking
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
D
i
sable cod
e
c_pcmbuf_
p
osition_call
b
ack f
o
r
n
ow
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
More tw
e
aks
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pen
n
equ
i
n
Twe
a
k co
d
ec_advanc
e
_buffer_ca
l
l
b
ack()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Add th
e
bu
f
us
e
d() API call
to replace t
h
e
F
ILEBUFUS
E
D
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
as Pen
n
equin
Fix th
e
error and warn
i
ng
in buffering
.
c
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
A
da
p
t audio_loadcodec() and add
a
sp
e
cia
l
behavi
o
ur
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
la
s
Penne
q
uin
A
b
it
o
f adapti
n
g
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
CUR_TI->id3 is now curtrac
k
_id3
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
P
ennequi
n
Change st
r
uct tra
c
k_inf
o
, add bufg
e
t
i
d3
t
o playb
a
ck
.
c
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s
Pennequi
n
Add buffer
i
ng_init()
a
nd
r
ename GUARD_
S
I
ZE to GU
A
RD_BU
F
SIZE
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
playback
.
c
: Add the
b
uff
e
ring thr
e
a
d
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
In
i
t
ia
l
Met
a
data-On-Buff
e
r fi
l
es
c
ommit
.
commit
|
commitdiff
|
tree