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
Make the audio thread wait with a timeout even when filling
2007-10-25
Nicolas Pennequin
Make th
e
audi
o
t
h
r
ead
wai
t
with a
t
imeout eve
n
when
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
P
e
nnequin
Minor t
w
eak to the audio
t
h
r
ead buffer filling logic
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
I
n
cre
a
se MAXTHREA
D
S
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Add
t
h
e
"
b
uffering" s
t
at
u
s indicator
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
Remove som
e
disabled code fro
m
playback
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Invalidate
h
andle cache
o
n
handle
removal
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
P
ennequin
Change a
u
dio
_
r
e
lease_track
s
() so
t
hat
it ensu
r
es closing
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Better logic
in the
b
u
ffe
r
i
n
g
t
hread lo
o
p
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Turn
b
u
fclose in
t
o
a
q
u
eue ev
e
nt sender to ensure a
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
i
n
Protect
the linked list with a
mutex
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas
P
enneq
u
i
n
S
ome cleanup/simplificat
i
on and an
added
comme
n
t
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Move th
e
call to ata_sleep() i
n
f
i
l
l_buffer()
commit
|
commitdiff
|
tree
2007-10-25
N
icolas P
e
n
nequin
No bufclos
i
n
g
of handles aft
e
r trac
k
cha
n
ge
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Penneq
u
i
n
Add a b
i
t more debug
i
n
f
o
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pen
n
equi
n
Reintroduce codec_advance_b
u
ffer_counters()
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Don't a
t
tem
p
t to
b
uffe
r
track
s
i
f
ther
e
are no more
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
q
uin
Hide t
h
e buffering t
h
read an
d
queu
e
inside buff
e
r
ing
.
c
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Reve
r
t "Replace y
i
eld
_
codec() with a
call to queue_wait_w_tm
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequi
n
Same as the previous c
o
mmit but with a
d
iffer
e
nt
c
a
l
lback
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Check that metadata is present
before calling
b
ack
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s
Pennequi
n
10
t
icks
i
s way too long
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
filebuf_is_lo
w
data isn't needed anymore
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Replace yield_codec(
)
wi
t
h a call
t
o
qu
e
ue_wait_w_tmo()
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penne
q
u
i
n
Rebuf
f
er
a
fter playlist
changes
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Enab
l
e
a
nd correct
audio_invalidate_track
s
t
o make
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
as Pennequin
Line l
e
ng
t
hs
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Penneq
u
in
Onl
y
at
t
empt to
fill the
b
uffe
r
if it needs to b
e
filled
commit
|
commitdiff
|
tree
2007-10-25
N
i
cola
s
Pennequin
F
r
e
e
the buffe
r
more o
f
t
en when there is les
s
data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
Penn
e
quin
Improved buffer use by filling w
h
e
n the disk is active
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las P
e
nnequin
The number of track
s
for whic
h
we have hand
l
es is one
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
P
e
nnequin
Ad
d
buffe
r
ed
_
d
ata(
)
for later use
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequin
Debug
screen for the buf
f
eri
n
g
t
hread
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as
P
e
n
nequin
M
a
ke
dir skipping wo
r
k correctly
a
nd proba
b
ly impro
v
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s P
e
nne
q
u
i
n
c
od
e
c
_
advan
c
e
_buffer_ca
l
lback:
Remove unused co
d
e
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
codec_seek_buff
e
r_callba
c
k
:
a
simple
bufsee
k
call is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
ennequin
Mak
e
bufa
d
vance rely on bufs
e
ek instead of duplicating
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pe
n
nequin
Correct bufseek
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
S
om
e
co
d
e docum
e
n
tation
u
p
d
a
te
s
commit
|
commitdiff
|
tree
2007-10-25
N
i
co
l
as Pe
n
nequin
Ren
a
m
e
f
ree
_
bu
f
fer
(
) to shrink_hand
l
e
(
)
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
P
ennequin
audio_current_tr
a
ck:
D
on'
t
u
s
e
curtrack_id3 i
f
it's
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
as
Pennequin
F
i
x war
n
ing
commit
|
commitdiff
|
tree
2007-10-25
N
i
col
a
s Pen
n
equ
i
n
Cl
e
ar static stru
c
t
s on
s
t
op
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
Im
p
rove metadata
u
s
e
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
i
n
Pointer cosmetic c
h
a
ng
e
s
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ol
a
s
Pennequin
Silence warnings
o
n
coldfire
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
ennequin
Rename g
e
tptr to bufgetc
o
de
c
and make it
e
n
s
u
r
e
the
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
n
neq
u
i
n
bufopen: Immediately request buf
f
e
ring f
o
r cert
a
in
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
Ch
e
ck fo
r
t
h
e
case when no data is
ready and
t
he req
u
ired
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Revert "Simpli
f
y codec_request_buffer
_
cal
l
back()"
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pennequin
curtra
c
k
_id3 and
n
exttrac
k
_
id3 shoul
d
b
e static
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
A bit
of mainten
a
nce
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
Simpl
i
fy cod
e
c_request_b
u
ffer_callback()
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las P
e
nnequin
Only
ask once for buf
f
ering,
t
h
e
n wait for the data
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
c
olas Pennequin
F
i
x bufre
a
d implement
a
tion
.
T
h
is
fixes problems with
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
eq
u
in
Minor c
l
eanu
p
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
en
n
e
quin
Properly cle
a
r track info
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
r
ese
t
_handle(): Fix warning an
d
make it
s
tat
i
c
commit
|
commitdiff
|
tree
2007-10-25
N
icol
a
s Pennequin
Factor out the dupl
i
c
a
te
c
od
e
f
rom b
u
fa
d
vance in rebuffer
_
ha
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequ
i
n
I
m
pleme
n
t ba
c
kward
s
s
kippi
n
g
b
y commplet
i
n
g
au
d
io_rebuffer()
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
o
l
as P
e
nnequin
Clear warnings and mor
e
c
l
eanup
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Cleanup
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pennequin
S
i
l
e
nce the warning
f
rom reset_ha
n
d
l
e()
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
P
ennequin
audio_stop
_
playback
(
)
: Release track handles BEFORE
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pe
n
ne
q
uin
S
e
eking wa
s
n't actully q
u
it
e
corr
e
ct:
make it se
e
k
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
Imp
l
ement rebuffering for se
e
king o
u
tside
o
f bu
f
fered
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las
P
ennequin
Fix playb
a
ck resuming
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
P
e
nnequin
Prevent f
i
le descr
i
ptor leakage
o
r
o
ver
u
se
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
code
c
_filebuf_
c
a
llback: Setting copy_n
to 0 was a VERY
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pennequi
n
S
ilence a few wa
r
nin
g
s
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Pennequin
bufc
l
ose:
M
ak
e
sure the handl
e
's file descriptor is
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
bufopen(): Don't immediately buf
f
er certain types of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pe
n
nequin
c
o
de
c
_seek_buffer_callbac
k
()
:
Check whether it's possible
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
U
ncomment a part of audio_rebuffer() t
o
make rebuffering
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
l
a
s Pennequi
n
When dat
a
can't
w
r
ap, start over a
t
the
b
eginn
i
ng of
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Don't ask to bu
f
fer tra
c
ks right after loading
them
commit
|
commitdiff
|
tree
2007-10-25
N
i
colas Pennequin
A
dd USB con
n
ection handling t
o
the
b
uffe
r
ing thread
commit
|
commitdiff
|
tree
2007-10-25
Nicola
s
Penne
q
uin
Fix trac
k
s being forgotten about
w
h
en there
was
n
o
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pennequin
Improve yiel
d
_co
d
ec and use it better to
make a
u
dio
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
bufgetdata(): fix the
avai
l
ab
l
e
v
s
.
req
u
i
red ch
e
c
k
.
commit
|
commitdiff
|
tree
2007-10-25
N
i
cola
s
Pen
n
equin
Fix a stupid bug
t
h
a
t caused
som
e
handles no
t
to be
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Penneq
u
in
I
n
troduce yi
e
ld_codec(), simi
l
a
r
to the
o
riginal audio_yield
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequ
i
n
Ma
k
e th
e
target b
e
have the
same a
s
the sim (don'
t
care
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas Pen
n
equin
Tryi
n
g to
m
ake audio sta
r
t playing faster
.
commit
|
commitdiff
|
tree
2007-10-25
N
icolas
P
ennequin
F
ix
p
layback stopping
b
y closin
g
a
l
l
tra
c
k
handles
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Pe
n
ne
q
uin
A
few
c
o
mment
t
weaks
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
olas Pen
n
equin
Add a
t
est in audio_c
u
r
rent_track()
commit
|
commitdiff
|
tree
2007-10-25
Nicol
a
s Pen
n
e
q
uin
Do
the
i
nitia
l
populating of the static
I
D3
s
t
ructs
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas
Pennequin
M
ake audio_read_next_m
e
tad
a
t
a a bi
t
safer
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pen
n
e
quin
M
inor correction
o
f a comment
commit
|
commitdiff
|
tree
2007-10-25
Nic
o
las Penn
e
qu
i
n
Use id3_hi
d
rath
e
r than taginfo_r
e
ady to know if ID3
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Requ
e
st b
u
ffering
o
f
t
he
current
trac
k
i
f
i
t is
t
o
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Ni
c
ola
s
Penneq
u
in
Add
some synchronisation to prevent some de
a
dlo
c
k
s
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Make basic seeking ac
t
ua
l
ly w
o
rk
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Add
c
lose_track_handles and reenabl
e
a
u
dio
_
clear_trac
k
_en
t
ri
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nico
l
as Pennequin
Release
d
a
t
a fo
r
the
f
inished track
on track change
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas P
e
nnequin
S
t
o
re fil
e
s
i
ze
o
n
load
.
This makes basic seeking work
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penneq
u
in
S
t
art using "fi
l
ling" correctly
to make more tr
a
cks
.
.
.
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequi
n
Remove th
e
test plugin
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Penn
e
quin
Increme
n
t
track_w
i
dx after loading a track
commit
|
commitdiff
|
tree
2007-10-25
Nicolas Pennequin
Cosm
e
tics
and get rid
of warni
n
gs
.
commit
|
commitdiff
|
tree
next