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
Rename getptr to bufgetcodec and make it ensure the codec is ready to load
2007-10-25
Nic
o
l
a
s Pe
n
n
equin
Rename
g
et
p
tr to bufgetcodec an
d
make it
e
nsure the
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
b
u
fop
e
n: Immediately request buffering for certain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Ch
e
ck for the c
a
se when n
o
data is re
a
dy and the requi
r
ed
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Revert "Sim
p
lify cod
e
c
_request_buffe
r
_callback()"
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
eq
u
in
c
u
r
track_i
d
3
a
nd nex
t
track
_
id3 s
h
ould be
s
t
a
tic
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
e
nnequin
A bit of maintenance
commit
|
commitdiff
|
tree
2007-10-25
N
ico
l
as Pennequin
Simplify codec_reques
t
_buffer_call
b
ack
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enne
q
uin
Only ask on
c
e for buffering,
then wait for t
h
e data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
e
n
ne
q
uin
Fix bufread implementation
.
This fixes prob
l
e
m
s
with
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Mino
r
cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penneq
u
in
Pr
o
p
erly
clear tra
c
k info
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
P
e
n
n
e
quin
reset_
h
andle():
F
i
x warn
i
ng and m
a
ke it sta
t
ic
commit
|
commitdiff
|
tree
2007-10-25
N
icol
a
s Pennequin
Fac
t
or out the
d
uplicate code from b
u
fadvance
i
n rebuf
f
er_ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Implem
e
nt backward
s
skipping by
c
ommpleting audio
_
r
e
buffe
r
()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
C
l
ear warni
n
g
s
and more cle
a
nu
p
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s
Pennequin
Cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Silen
c
e the warn
i
n
g from re
s
et
_
handle()
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
Pennequin
audio_st
o
p_playba
c
k
(
):
R
elease
t
r
a
ck handle
s
BEFORE
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Seek
i
ng was
n
't actully quit
e
correc
t
: make
i
t seek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ola
s
Pennequin
Implement reb
u
fferi
n
g
f
o
r
seeking
o
ut
s
ide of
buffered
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Fix
playback
r
e
suming
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
Pennequin
Prevent file descriptor
l
eakage or ove
r
u
s
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
codec_fileb
u
f_callback
:
S
e
t
ting co
p
y_n to 0 was a VERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pen
n
equ
i
n
Si
l
ence
a few warn
i
ngs
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pe
n
nequin
bufclos
e
:
Mak
e
sure the
handle
'
s
file d
e
scriptor is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pen
n
equin
bufopen()
:
D
on't immediatel
y
buf
f
e
r certain
t
yp
e
s of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
c
odec_seek_buff
e
r_callback()
:
Check w
h
ether it
'
s
p
ossible
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Un
c
omment a p
a
rt o
f
audio_rebuff
e
r()
to make rebuffer
i
ng
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
Pennequ
i
n
When data
can'
t
wra
p
, star
t
over at the
b
e
ginn
i
ng of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Don't ask to buffer tracks righ
t
af
t
er load
i
ng
t
he
m
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penn
e
q
u
i
n
Ad
d
USB
c
on
n
ection handling to the buffering thr
e
ad
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Fix t
r
ack
s
be
i
ng forgotten
a
bout w
h
e
n
t
her
e
was no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
P
e
nn
e
quin
Improve
y
i
e
l
d
_c
o
d
e
c
a
nd use
it better
t
o ma
k
e audio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
bufgetdata(): fi
x
the
available vs
.
required che
c
k
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
Penne
q
uin
Fix a stupid bug
th
a
t ca
u
sed some
handles not to be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Introduce yield_
c
odec(), similar to the or
i
ginal audio_yi
e
ld
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Make the ta
r
get behave
t
he same as th
e
sim (don't care
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
enneq
u
in
Trying
t
o make audio
start
p
lay
i
ng faster
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Fix
playback
stopping by clo
s
ing
all track handles
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
as Pennequin
A few comm
e
nt tweak
s
commit
|
commitdiff
|
tree
2007-10-25
N
i
cola
s
P
ennequin
Add
a test in audi
o
_
c
urrent_track()
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s
Pennequin
Do the ini
t
ial
populating
of the s
t
atic
ID3 st
r
u
cts
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Mak
e
audio_read_
n
ext_metadata
a
bit safer
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pen
n
equin
Mino
r
co
r
rection of a comment
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas P
e
nnequin
Use id3_hi
d
rather than tagin
f
o_ready
t
o know i
f
I
D3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Request bufferin
g
o
f
the
c
u
r
r
ent track i
f
it
is t
o
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add s
o
m
e sy
n
chronisation
to pre
v
ent some deadlocks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Ma
k
e b
a
sic seeking actually work
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Add close_track_
h
andles
and r
e
en
a
ble audio_clear
_
t
rack_entri
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pen
n
e
q
uin
R
elease dat
a
for the fini
s
hed
tra
c
k on tra
c
k change
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nneq
u
i
n
Store fil
e
s
i
ze
on
l
o
ad
.
This ma
k
es basic seeking work
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Sta
r
t using "filling
"
co
r
r
ec
t
ly to m
a
k
e mo
r
e
t
racks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Remove the test
p
lugin
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas
Pennequin
Increme
n
t track_w
i
d
x
after loading a track
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Cosmetics
a
nd
g
et rid o
f
warnings
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
I
D
3
handling improve
m
ents
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
T
r
igger
a
CPU
b
o
ost befor
e
reading from
d
isk
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penne
q
uin
D
e
bug output tweaking
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
as Penn
e
q
u
in
A bu
n
ch of
i
mprov
e
m
e
n
t
s
that make playback of th
e
f
irst
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penn
e
q
uin
Add a get
_
off
s
et API call to make codec_advance_buffer_loc_c
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
A couple
m
ore tweaks
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pe
n
nequ
i
n
Fix a stupid bug
t
h
at prevented the bufferin
g
system
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
e
quin
Brutall
y
m
a
ke pla
y
back
.
c
compile
b
y
disabling lot
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nneq
u
i
n
Mor
e
tweak
i
ng
commit
|
commitdiff
|
tree
2007-10-25
N
i
col
a
s Pennequin
D
i
sable codec_pcmbuf_position_callbac
k
for
n
ow
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
More tweaks
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s
Pennequin
Tweak
cod
e
c_ad
v
ance_buffer_ca
l
lback()
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Add the bufused(
)
API ca
l
l to replace the FILEBUFUSED
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pe
n
n
equin
Fix the er
r
or a
n
d w
a
rning i
n
buffering
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Adapt audio_load
c
odec() and add a special behaviou
r
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequ
i
n
A bit of
a
dapting
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
CUR
_
TI-
>
id3
i
s now curtrack_
i
d3
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s Pen
n
equin
Change
s
tru
c
t track_
i
nfo, add bu
f
getid3 to
playbac
k
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add buffering_init() and
r
ename GUARD_SIZE to G
U
ARD_
B
UFSIZE
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
Pennequin
playback
.
c: Add the buffering thread
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
ola
s
Pen
n
equin
Initial Metadata-On
-
Buffer files
c
o
mmit
.
commit
|
commitdiff
|
tree