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
Add buffered_data() for later use
2007-10-25
Nicol
a
s
Pennequi
n
Add buffered_data()
f
or later use
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equ
i
n
Debug screen for the buffering thread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Make
d
i
r skipping work correc
t
l
y
a
nd probabl
y
improve
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
codec_
a
dvan
c
e_buffer_callback:
R
e
move unused code
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
ui
n
codec_se
e
k_buffe
r
_ca
l
lback: a sim
p
l
e bufseek call is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Make bufad
v
a
n
ce rely
o
n bufseek
instea
d
of dupl
i
catin
g
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Correct
b
ufseek
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Penne
q
uin
Some code docume
n
tation
u
pdates
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pe
n
n
e
quin
Rename
f
ree_bu
f
fer(
)
to
s
hrink
_
hand
l
e
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
audio_
c
urrent_trac
k
:
Don't use c
u
rtrack_id3 if it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
F
i
x
warning
commit
|
commitdiff
|
tree
2007-10-25
N
icol
a
s Penneq
u
in
Clea
r
stati
c
s
t
ructs on s
t
o
p
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequi
n
Improve metadata use
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
P
enn
e
quin
P
ointer cosm
e
tic changes
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas P
e
nn
e
q
uin
Silence
warnings on cold
f
ire
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
ennequ
i
n
Rename
g
etptr to
bufgetcodec and make it e
n
s
ure
t
he
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
bufopen
:
I
mmediately request buffering
f
or cert
a
in
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Check
for the cas
e
w
h
en n
o
data is ready and the required
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Rev
e
rt "Simp
l
i
f
y
c
odec_request_buffe
r
_ca
l
lba
c
k()"
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
Pennequin
curt
r
ack_id3 and n
e
xttrack_id3 s
h
ould
b
e static
commit
|
commitdiff
|
tree
2007-10-25
N
i
col
a
s P
e
n
n
eq
u
in
A bit
o
f m
a
in
t
e
n
ance
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Simpl
i
fy codec_re
q
uest_buff
e
r_callback()
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas P
e
nnequi
n
Only ask o
n
ce for b
u
ffering, then wait for the
data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s P
e
n
n
equin
F
ix buf
r
ead i
m
pl
e
mentation
.
This f
i
xe
s
pr
o
blems with
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pen
n
e
qu
i
n
Minor cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Properly clear track
info
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
ne
q
uin
reset_handle(
)
: Fix warn
i
n
g an
d
make it
s
tatic
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
qui
n
Factor out th
e
duplicate code from bufa
d
vance
i
n rebuffe
r
_ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Implement backwards skipping by
co
m
mpleti
n
g audio_
r
e
b
u
ffer()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Cle
a
r warnin
g
s and more
c
leanup
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pe
n
n
equi
n
Cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penn
e
quin
Silen
c
e t
h
e warning fr
o
m reset_ha
n
dle()
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
aud
i
o_stop_playba
c
k(): Release track
h
a
n
dles BEFOR
E
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s Pennequ
i
n
S
eeking was
n
'
t
actully quite cor
r
ect:
m
a
ke it s
e
ek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Implement
rebu
f
f
e
ring
f
o
r
se
e
king o
u
t
side of
b
uffere
d
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
Pe
n
ne
q
uin
Fix playback resuming
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
Penne
q
uin
P
revent fil
e
d
e
s
criptor leakage or ove
r
us
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
e
q
uin
codec_filebuf_callback:
S
ettin
g
copy_
n
to
0 was
a
VERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequin
Silence a few
w
arnings
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
bufclose: M
a
ke
s
ur
e
the h
a
ndle'
s
file descriptor
is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pe
n
nequin
bufopen()
:
Do
n
't immediat
e
ly b
u
ffer
c
ertain types of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
codec_s
e
ek
_
buff
e
r_cal
l
back(): Check whether it's possible
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pe
n
nequin
U
n
comment a part
of audio_rebuf
f
er()
to make rebuffering
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
as P
e
nnequin
When data can't w
r
a
p
, start over at the
b
e
ginn
i
n
g
of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
D
on't ask
to buffer
t
r
acks r
i
g
ht
a
fter l
o
a
din
g
them
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Add U
S
B connection h
a
n
d
l
ing
to the bufferi
n
g thread
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Fix
t
racks being forgotten abou
t
w
h
en t
h
ere
w
as no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Impro
v
e yield_co
d
ec and use it better to
mak
e
audio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penne
q
uin
bufgetdata(): f
i
x
t
he available vs
.
r
equired ch
e
ck
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
F
ix a stupi
d
bug that c
a
u
sed so
m
e
h
andles not to be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
las
Penne
q
uin
Introduce yield
_
codec(),
similar to the o
r
i
ginal audio_yield
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Make the t
a
rget behave the same as the sim (do
n
't care
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
ennequin
Tryin
g
to make audio star
t
pl
a
ying faster
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas P
e
nnequ
i
n
Fix
p
layb
a
c
k sto
p
ping by cl
o
sing all
track handles
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penne
q
uin
A few com
m
ent tweaks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
nequi
n
Add
a te
s
t in
audio_current_track()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Do t
h
e
i
ni
t
ial populating of
t
he static ID3 structs
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penne
q
uin
Mak
e
au
d
io_read_next_m
e
t
a
d
a
ta a bit safer
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
n
e
quin
Min
o
r correction of a comme
n
t
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pen
n
equin
Use id3_hid
rathe
r
than taginfo_ready to kno
w
if ID
3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pen
n
equin
Reques
t
buf
f
ering of the curre
n
t track
i
f it is to
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas P
e
nneq
u
in
Ad
d
some synchronisation
t
o
p
revent s
o
me deadlocks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
as
P
en
n
e
q
u
i
n
Mak
e
basic seeking actually work
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequ
i
n
Add close_
t
r
a
ck_h
a
ndles and reenab
l
e audio_clear_track_e
n
tri
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Release
data
f
or th
e
finished
track on
t
rack change
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pennequin
S
to
r
e
f
ilesize
o
n load
.
T
h
i
s
makes bas
i
c
s
eeking work
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
las Pe
n
nequin
Start using "filling" corr
e
c
tly
t
o make more tra
c
ks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
qu
i
n
R
emove the test plugin
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pe
n
nequin
Incre
m
ent
t
rack_widx
after loading a track
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pe
n
n
e
q
u
in
Co
s
m
etics and
g
et rid of warnings
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pen
n
equin
ID3 h
a
ndli
n
g
improvement
s
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
n
n
equin
Trigger a CPU bo
o
st befo
r
e readi
n
g from disk
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s Pen
n
e
qu
i
n
Debug o
u
tput tweaking
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
A bunch of improvements th
a
t mak
e
play
b
ack
o
f the
first
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
a
s
P
en
n
equin
A
d
d a get_offset API call to make cod
e
c_
a
d
va
n
ce_buffer_loc_
c
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
A couple more
t
weaks
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Fix
a
s
t
u
p
id
b
u
g
th
a
t prevented
the buffering
sy
s
tem
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Bruta
l
l
y
m
ake playback
.
c com
p
ile
b
y d
i
s
a
bling lots
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Penneq
u
in
More tweak
i
ng
commit
|
commitdiff
|
tree
2007-10-25
N
ico
l
a
s Pennequin
Disable codec
_
pcmbuf_positi
o
n
_
call
b
ack for now
.
commit
|
commitdiff
|
tree
2007-10-25
N
icol
a
s Penneq
u
in
More tweaks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
Tweak
c
o
dec_advance_
b
uffer_callback()
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s Penneq
u
in
Add the buf
u
s
ed()
API call
t
o replace the FI
L
EBUFUSED
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
F
i
x t
h
e
e
r
ror and warning in buffe
r
ing
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Adap
t
audio_loadcodec() an
d
a
dd a special behaviour
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
n
nequin
A bit of ad
a
pting
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Penneq
u
i
n
C
U
R_TI->
i
d
3
is now curtrack_i
d
3
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penn
e
qui
n
Change struct tr
a
c
k
_i
n
fo, a
d
d bufgetid3 to
playbac
k
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Add buffering_i
n
it() and r
e
n
a
me GUA
R
D_SIZE to GU
A
R
D
_
B
UFSIZE
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
col
a
s Pen
n
equin
playba
c
k
.
c:
A
d
d the buffering thread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
e
quin
Initial
M
etadata-On-Buf
f
er files commit
.
commit
|
commitdiff
|
tree