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
Check for the case when no data is ready and the required size was 0.
2007-10-25
Ni
c
olas Pennequ
i
n
Check
f
o
r
t
he ca
s
e w
h
en no data is ready and the r
e
q
uired
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Revert
"Simplify codec_request_buffer_ca
l
lbac
k
()"
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
c
u
r
t
rack_
i
d3
a
n
d nexttrack_id
3
should b
e
static
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
A bit of m
a
intenance
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
a
s Pennequin
Simpli
f
y codec_request
_
buf
f
er_
c
allback(
)
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Only a
s
k once f
o
r buffering
,
t
h
en wait
f
o
r the
d
ata
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix b
u
fread implemen
t
ation
.
This fixes problem
s
with
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pen
n
equin
Minor cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
P
r
o
perly clea
r
track i
n
fo
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
reset_handle(): Fix wa
r
n
ing and make it sta
t
ic
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas
P
ennequin
Factor out the duplicate code f
r
om bufadvance in rebuffer
_
h
a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Implement backw
a
rds
s
kipping
b
y commpleting audio_r
e
buffer()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Clear wa
r
nings and
more clea
n
up
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Cleanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequ
i
n
S
i
lence th
e
warnin
g
fro
m
reset_han
d
le()
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
audio_stop_p
l
ayback(): Release tr
a
ck handles BEFORE
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
S
eeking
w
asn't actully quit
e
corre
c
t:
make it seek
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penneq
u
in
Imp
l
ement rebuf
f
ering for se
e
k
i
ng outside of b
u
ffered
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Fi
x
pla
y
back resuming
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Prevent file descriptor leakage
or overuse
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
las Pennequin
co
d
ec_filebuf_callback: Setting copy_n to
0
was a VERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
Silence a few wa
r
nings
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Penn
e
q
u
in
bufclose: Make sure t
h
e handle's file descr
i
ptor is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
b
u
fopen(): Do
n
't immediately
b
uffer cer
t
a
in types of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
codec_
s
eek_buffer_
c
allback(): Chec
k
whether it's
p
ossi
b
le
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Uncomment a part of audio_reb
u
ffer() to
m
a
k
e rebu
f
fering
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penneq
u
i
n
When data can't
w
r
ap, start over
a
t th
e
beginning of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
as
Pennequin
D
on't ask to buff
e
r tracks right after loading them
commit
|
commitdiff
|
tree
2007-10-25
N
i
cola
s
Pen
n
equin
Add USB con
n
ection han
d
l
i
n
g
to
the bufferin
g
t
h
read
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
F
ix
t
r
a
cks being
forgotten a
b
out when the
r
e was no
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
qu
i
n
Impro
v
e yield_co
d
ec
a
nd use i
t
b
e
tter t
o
make audio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pen
n
equin
bufgetdata(): fix
the available vs
.
r
e
quired
ch
e
ck
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequi
n
F
i
x a stupi
d
b
u
g tha
t
caused some h
a
ndles not to be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s P
e
nneq
u
in
Introduce yield_codec(), similar to
t
he original audio_
y
ie
l
d
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s P
e
nnequin
Make the target behave the sam
e
as the s
i
m
(d
o
n't c
a
re
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
Trying to
make audio sta
r
t pl
a
ying
f
a
s
ter
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
F
ix playback stopping by
c
losing all tr
a
ck h
a
ndles
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequ
i
n
A
f
e
w comment tweaks
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
o
l
as Penne
q
uin
Add a test in a
u
dio_current_track()
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pe
n
nequin
Do the init
i
al populating of the
static I
D
3 structs
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
P
enn
e
qui
n
Make audio_read_next_meta
d
a
t
a a bit safer
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
u
in
Min
o
r corr
e
ction of a c
o
mmen
t
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penne
q
uin
U
se id3
_
hid rather than taginfo_ready to kn
o
w if ID3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
Pennequin
Requ
e
st buf
f
ering of
the current
t
r
ack i
f
it is t
o
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
enne
q
uin
Ad
d
some
s
y
nchronisat
i
on
t
o preve
n
t some deadlo
c
k
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
Make basic seeking actually work
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
equin
Add close_tra
c
k_ha
n
dles and reenable audio_clear_track_entri
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Release data for th
e
f
inis
h
ed track on track change
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Store filesize on load
.
This make
s
basic seeki
n
g w
o
rk
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pe
n
nequin
S
tart using "filling" correc
t
ly
t
o make
m
ore tracks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icola
s
Pe
n
nequin
Remove the
t
est plugin
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penne
q
uin
Increment tra
c
k_widx
a
fter
loading a t
r
ack
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
n
e
q
uin
Cosmet
i
cs and
g
et rid of warni
n
gs
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
ID3 handl
i
n
g
im
p
rovements
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequi
n
Tri
g
g
er a C
P
U boost before r
e
ading from disk
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ola
s
Pennequin
Deb
u
g
output
t
weaking
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
A
bunch of impr
o
v
eme
n
ts that ma
k
e pl
a
yback of th
e
first
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas P
e
nnequin
Add a get_offset A
P
I call t
o
mak
e
codec_advance_buffer_loc_c
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penneq
u
in
A couple
m
ore tweaks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Fix
a stupid bug
that
prevented the bufferi
n
g system
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Penneq
u
in
B
ruta
l
ly make p
l
ayback
.
c compile by disa
b
ling lots
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
More tweaking
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Dis
a
ble cod
e
c_pcmbuf_posit
i
on_callba
c
k for now
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
More t
w
eaks
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Tweak code
c
_advance_buffer_callback()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
ne
q
uin
A
d
d the bufused() API call to re
p
la
c
e the FIL
E
BUFUSED
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Penn
e
q
u
in
Fix
the error and warni
n
g
i
n
buffering
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Adapt au
d
io_loadcod
e
c() a
n
d
add a specia
l
beha
v
iour
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
A bi
t
of ada
p
ting
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas P
e
nn
e
qui
n
CUR
_
T
I
-
>
id3 is now curtrack
_
id3
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Change
struct track_
i
nfo, add bufgetid3 to playback
.
c
commit
|
commitdiff
|
tree
2007-10-25
N
i
col
a
s Pennequin
Add buffer
i
ng_i
n
it() an
d
r
e
na
m
e GUARD_SIZE to
GUARD
_
BUFS
I
ZE
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
p
l
ayback
.
c
: Add the bu
f
fering thread
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
In
i
t
ial
M
etadata-On-Buffer
files
c
ommit
.
commit
|
commitdiff
|
tree