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
filebuf_is_lowdata isn't needed anymore
2007-10-25
Nicolas Pennequin
filebuf
_
is_lowdat
a
isn't needed
a
ny
m
ore
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
Pennequin
R
eplace yield_code
c
() with a call to q
u
eue_wait_w_tmo(
)
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as P
e
nnequin
Rebuffe
r
after playlist ch
a
nges
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
n
n
equin
Enable
an
d
correct audio_invalidat
e
_tracks to make
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
P
e
nnequin
L
i
ne lengths
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ola
s
P
e
nnequi
n
Only
a
t
te
m
pt to fill
t
h
e
buffer if it n
e
eds to be filled
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas P
e
nnequi
n
Free the
buff
e
r more o
f
ten when there
i
s less data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Improved buffer u
s
e
b
y
filling when th
e
disk is a
c
tive
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s Pennequ
i
n
The n
u
mber
o
f tr
a
c
ks for which we have h
a
ndles is one
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
Add bu
f
f
ered_data() for later use
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
as Pennequin
Debug s
c
r
een for th
e
b
ufferi
n
g
threa
d
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pen
n
e
q
uin
Ma
k
e dir s
k
ipping wor
k
c
orrec
t
ly
a
n
d pr
o
bably impro
v
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
codec_
a
dvance_buffer_callback:
Remove u
n
u
s
ed cod
e
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequ
i
n
codec_seek_buffer_callback
:
a si
m
ple b
u
fsee
k
call is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make bufadva
n
ce rely on bufseek inste
a
d
o
f
du
p
licating
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penneq
u
in
Correct bufsee
k
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Some code docu
m
entation upda
t
es
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Rename free_buffer() to sh
r
ink_
h
andle()
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
P
ennequi
n
aud
i
o_curre
n
t_track
:
Don't use cu
r
track_id3 if
i
t's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pen
n
equ
i
n
Fix warning
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
C
l
ear static structs on stop
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Im
p
rov
e
metada
t
a use
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Point
e
r cos
m
et
i
c changes
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Silence warnings on co
l
df
i
r
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Rename
g
etptr to bu
f
getcodec and make it
ensure
the
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
b
ufopen
:
Immediately request buffering for cer
t
ain
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
P
ennequin
Ch
e
ck for the cas
e
whe
n
no data is r
e
ady and the required
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
R
e
vert
"Simpli
f
y
c
odec
_
request_buffer_c
a
ll
b
ack()"
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
curtrack
_
i
d
3 and n
e
xttra
c
k_id3 should be s
t
atic
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
A bit of
m
a
int
e
nance
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Si
m
pl
i
f
y
codec
_
request_buffer_callback()
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Only ask once for buffering, t
h
en wait for the
da
t
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Fi
x
bufr
e
ad implementat
i
on
.
This f
i
xe
s
problems wit
h
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
M
i
nor
c
leanup
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
P
ennequin
Prope
r
ly
c
le
a
r track info
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
reset_handle(): Fix warning and make
i
t
static
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Factor out
the duplic
a
te
c
o
d
e fr
o
m bufadvance
in rebuffer_
h
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Imp
l
ement backwards skipp
i
ng by commpletin
g
aud
i
o_reb
u
ffer()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Clear
war
n
ings and mor
e
clean
u
p
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequin
Cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
qu
i
n
Sil
e
nce
the
w
arn
i
ng from reset_handle()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
i
n
a
u
d
i
o
_
stop_
p
layback():
R
elease tra
c
k handl
e
s BEFORE
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Seeking wasn't a
c
tully qu
i
te correct: make it seek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Imple
m
ent rebuffer
i
ng for
see
k
ing outside of buffe
r
ed
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icol
a
s P
e
nn
e
quin
Fix playback resum
i
ng
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
P
r
eve
n
t fil
e
d
e
scri
p
tor l
e
akage or ov
e
r
u
se
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penne
q
ui
n
c
o
de
c
_f
i
lebuf_c
a
llback: S
e
tting c
o
py_n
t
o 0 was
a VERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
S
i
lence a few warnings
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Penneq
u
in
bufclose: Make
s
ure the handle's file descri
p
tor is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
b
u
fop
e
n()
:
Don't i
m
m
e
diately
buffer certai
n
types of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
codec_
s
eek_buffe
r
_callb
a
c
k
(): Check whether it's
pos
s
i
ble
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Uncomment
a
part of audio_rebuffe
r
() to
make rebuffe
r
ing
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
ico
l
as
Pennequin
When d
a
ta can't w
r
ap,
s
tart over at the be
g
inning of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Don't as
k
to
b
u
ffer tracks
right after loading
t
hem
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
l
as
P
ennequin
Add USB connection handling to
t
he buffering th
r
ead
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix track
s
being
f
org
o
tten about
when there was no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Impr
o
ve yield
_
code
c
an
d
u
s
e
i
t
bett
e
r to make audio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
bufgetdata(): fix the available
v
s
.
requ
i
red check
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enn
e
quin
Fix a
stupid
b
u
g that cause
d
some handles not to be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Introduce yield_codec
(
), s
i
mi
l
ar to th
e
or
i
gi
n
al au
d
i
o
_yield
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Penneq
u
in
Make t
h
e tar
g
et behave the same as
the sim
(
don't care
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s
Pen
n
equin
Trying to ma
k
e audio start playing faste
r
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Fix playback st
o
pping by clos
i
n
g all
t
rack handles
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
A few c
o
mment
t
weaks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Add a test in audio_
c
urrent_track()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Do the
in
i
tial populating of the static ID3 structs
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequi
n
Make audi
o
_read
_
next_metadata a bit
s
af
e
r
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequ
i
n
Min
o
r cor
r
ecti
o
n o
f
a comment
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
las P
e
nnequin
Use id
3
_
hid
rat
h
er than taginfo_rea
d
y to know
if I
D
3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
R
e
ques
t
buffe
r
ing of th
e
cu
r
r
ent
t
rack i
f
it is to
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Penne
q
u
i
n
Add some sy
n
chronisa
t
ion to prev
e
nt some deadlocks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pen
n
equin
Make
b
asic see
k
i
n
g actually work
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penneq
u
i
n
Add close_tr
a
ck_handles
a
n
d reenable audio_c
l
ear_tra
c
k
_
e
n
tri
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
en
n
equin
Rel
e
ase data for
t
he finish
e
d tr
a
ck on track change
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Store filesize on
load
.
This makes ba
s
ic s
e
eking wo
r
k
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
Pennequin
Start usi
n
g "fil
l
ing" correctly to make more track
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
cola
s
Penne
q
ui
n
Remove t
h
e tes
t
plugi
n
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pe
n
nequin
Inc
r
ement track_
w
id
x
afte
r
lo
a
ding a t
r
ack
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penn
e
qui
n
Cosm
e
tics and ge
t
rid of warning
s
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penneq
u
in
ID3 handl
i
ng improvements
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Trigger a CPU boost
before reading from
d
isk
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
q
u
in
Debug output tweaking
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
A
b
unch of improve
m
ents
t
hat make play
b
ack of the f
i
rst
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Add a get_off
s
et
A
PI call to make codec_advance
_
b
u
ffer_loc_c
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
A coupl
e
more tweaks
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penneq
u
in
Fix a stupid bug th
a
t prevented the buffering system
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
n
e
qu
i
n
Br
u
ta
l
l
y
m
a
ke
playback
.
c compil
e
by
disab
l
ing lots
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
a
s Penn
e
q
uin
More tweaking
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
q
u
in
D
isable codec
_
pcmbuf_po
s
i
t
ion_callback for
now
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequ
i
n
More tweaks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Tweak codec_advance_buffer
_
callback()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add
t
he
bufused(
)
API
c
all t
o
replace the FI
L
EBUFUS
E
D
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
F
ix the error and warning in buffering
.
c
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Adapt
audio_lo
a
d
c
odec() and add a special beha
v
i
ou
r
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
A bit of a
d
apt
i
ng
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
n
e
q
uin
CUR_TI->id3
i
s now curt
r
ack_id3
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penn
e
quin
C
h
ange struct track_inf
o
, add b
u
fge
t
id3 to playba
c
k
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Add buffering_i
n
it()
a
n
d r
e
n
a
m
e
GUA
R
D
_SIZE to
G
UARD_BUFS
I
ZE
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
playback
.
c: Add t
h
e buffe
r
ing
th
r
ea
d
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nneq
u
in
Initial Me
t
a
data-On-Buffer
f
i
les comm
i
t
.
commit
|
commitdiff
|
tree