repo.or.cz
/
openal-soft
/
android.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Just reference the context when checking for extensions
2011-09-11
Chris Ro
b
inson
Just reference the context
w
hen ch
e
ckin
g
for extensions
commit
|
commitdiff
|
tree
2011-09-11
Chris Ro
b
in
s
on
Use a RW
L
oc
k
to pr
o
te
c
t access t
o
a buff
e
r
i
n
stead
.
.
.
commit
|
commitdiff
|
tree
2011-09-11
Ch
r
is Robi
n
son
Avoid hold
i
ng t
h
e context lo
c
k
f
or the
buffer f
u
nc
t
ion
s
commit
|
commitdiff
|
tree
2011-09-11
C
hris R
o
b
i
nson
Avoid
h
olding the context
l
oc
k
w
hen setting auxilia
r
y
.
.
.
commit
|
commitdiff
|
tree
2011-09-11
Chris Ro
b
inson
Make some li
s
tene
r
p
r
ope
r
ties
volatile
commit
|
commitdiff
|
tree
2011-09-11
Chris Robins
o
n
Mark some
s
ourc
e
pr
o
perties volatile
commit
|
commitdiff
|
tree
2011-09-11
Chris
Robi
n
son
Sm
a
l
l
fixes t
o
s
etting the source's dir
e
ct
f
i
l
t
er an
d
.
.
.
commit
|
commitdiff
|
tree
2011-09-11
C
h
ris Rob
i
nson
Avoid h
o
lding the conte
x
t
lock while se
t
ting source
.
.
.
commit
|
commitdiff
|
tree
2011-09-11
Chris Robinson
Initi
a
l
i
ze source
p
ar
a
meters
b
efore adding the
s
ource
.
.
.
commit
|
commitdiff
|
tree
2011-09-11
Ch
r
is Ro
b
inson
Don't def
e
r stopped and initia
l
so
u
rce
s
tate
chan
g
es
commit
|
commitdiff
|
tree
2011-09-11
Ch
r
i
s Robi
n
s
on
Add a commen
t
about when FreeConte
x
t a
n
d FreeDevi
c
e
.
.
.
commit
|
commitdiff
|
tree
2011-09-11
Chr
i
s
R
obinson
Trace the devic
e
pointer whe
n
warning ab
o
u
t
leftover
.
.
.
commit
|
commitdiff
|
tree
2011-09-11
Chri
s
Robinson
Set the d
e
vice
-
connected flag
to false first when han
d
ling
.
.
.
commit
|
commitdiff
|
tree
2011-09-11
Chris Robinson
C
onde
n
se some code
commit
|
commitdiff
|
tree
2011-09-11
Chris
Robinson
Clean up some code
c
omments
commit
|
commitdiff
|
tree
2011-09-10
Chris Robins
o
n
L
ock the lists w
h
ile probing devices
commit
|
commitdiff
|
tree
2011-09-10
Chris Robin
s
on
Clean up so
m
e commen
t
s
commit
|
commitdiff
|
tree
2011-09-10
Chris
R
o
b
inson
Slight
l
y modify a war
n
ing
commit
|
commitdiff
|
tree
2011-09-10
Chri
s
R
ob
i
nson
Properly des
t
roy contexts that are lef
t
o
n
the device
.
.
.
commit
|
commitdiff
|
tree
2011-09-10
Chri
s
Ro
b
inso
n
Avoid locking the
d
evice
w
hen addin
g
and removing contexts
commit
|
commitdiff
|
tree
2011-09-10
Chris R
o
binson
Avoi
d
holding the lis
t
loc
k
when not need
e
d
commit
|
commitdiff
|
tree
2011-09-10
Chris Robi
n
son
W
arn about contexts that are errantly
l
eft c
u
rrent
commit
|
commitdiff
|
tree
2011-09-10
Chris
R
o
b
inson
Hold an extra reference on the d
e
vice for each
o
f its
.
.
.
commit
|
commitdiff
|
tree
2011-09-10
Ch
r
is Rob
i
nson
Ad
d
some refer
e
nce co
u
nting to t
h
e device
commit
|
commitdiff
|
tree
2011-09-10
Chris Robinso
n
Fi
x
a
parame
t
e
r type
commit
|
commitdiff
|
tree
2011-09-10
Chris R
o
binso
n
U
se alGetEnumValue to chec
k
for
suppo
r
ted fil
t
e
r
s and
.
.
.
commit
|
commitdiff
|
tree
2011-09-10
Chris Robinson
Add an option to
t
rap d
e
vic
e
errors in a deb
u
gger
commit
|
commitdiff
|
tree
2011-09-10
Chris Robins
o
n
A
d
d an opt
i
on to
tra
p
con
t
ext errors in a debugger
commit
|
commitdiff
|
tree
2011-09-10
Chris Robinson
Allow PulseAudi
o
's t
l
engt
h
t
o
grow
t
o m
a
ke s
u
re there
.
.
.
commit
|
commitdiff
|
tree
2011-09-10
Chris Robinson
Use
a
n
arra
y
t
o
g
et th
e
de
v
ice fo
r
m
a
t fro
m
the us
e
r
.
.
.
commit
|
commitdiff
|
tree
2011-09-02
Chris Robinso
n
Avoid an
unnecessary lock
commit
|
commitdiff
|
tree
2011-09-02
C
h
ris Robinson
Do an atomic
co
m
pare-exchange on the global context
.
.
.
commit
|
commitdiff
|
tree
2011-09-02
Chris Robinson
Fix multichann
e
l
wet gainh
f
c
alcul
a
tion
commit
|
commitdiff
|
tree
2011-09-02
Chris R
o
b
i
nson
U
se
a
n
ato
m
ic exch
a
nge t
o
get the o
l
d g
l
obal context
.
.
.
commit
|
commitdiff
|
tree
2011-09-02
Chris Ro
b
inson
Log t
h
e
f
unc
t
ion nam
e
in
s
te
a
d of the
s
ourc
e
file a
n
d
.
.
.
commit
|
commitdiff
|
tree
2011-09-02
C
h
r
i
s
Robinso
n
T
race
t
h
e
reverb buff
e
r size
commit
|
commitdiff
|
tree
2011-09-02
Chri
s
Robinson
Combi
n
e the r
e
v
e
rb eff
e
cts
commit
|
commitdiff
|
tree
2011-09-02
Chris Robinson
D
on't re
c
re
a
te the effect when switchi
n
g betw
e
en the
.
.
.
commit
|
commitdiff
|
tree
2011-09-02
Chris Ro
b
inson
Combin
e
t
he dedicat
e
d
(dialog/LFE)
e
ffects
commit
|
commitdiff
|
tree
2011-08-31
Ch
r
i
s
Robinson
Fix a com
m
ent
commit
|
commitdiff
|
tree
2011-08-31
Chris Rob
i
nson
Fix
a
pote
n
tial infinite loop when removing an effect
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
Chris Robin
s
on
S
tor
e
the filter g
a
i
ns dire
c
tl
y
in the source inst
e
ad
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
C
hris Robinson
Avoid the context lock w
h
en generating and deleting
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
Chris Ro
b
inson
Avoid the context lock whe
n
generating
a
nd deleting
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
Chris Robinson
D
o
n't set a thre
a
d prio
r
ity if real-time isn't reque
s
ted
commit
|
commitdiff
|
tree
2011-08-31
C
hris
R
ob
i
nson
A
dd
a function to initialize a RWLock
commit
|
commitdiff
|
tree
2011-08-31
C
h
r
is Robinson
Hold the co
n
text l
o
ck only as needed when handling
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
Ch
r
is
R
obinson
Avo
i
d locki
n
g the context while
getti
n
g and settin
g
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
C
hris Robins
o
n
Use
t
he active effect s
l
ot
list for pe
n
din
g
u
p
dates
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
Chris Robinson
R
e
n
ame GetR
e
ffedContext
t
o GetCon
t
e
x
tRef
commit
|
commitdiff
|
tree
2011-08-31
Chris R
o
bin
s
on
Use a
m
ore appropriate er
r
or
f
o
r trying to delete
an
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
Chris Robins
o
n
Hold the
l
o
c
k only as ne
e
ded
w
hen gener
a
t
i
ng and deleting
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
Chris Robinson
Add a li
m
it to
t
he UIntMap size and
u
s
e
i
t for sources
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
Chris Ro
b
inson
Use a s
e
pa
r
ate array for the auxiliary slots in the
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
C
hri
s
Robinson
Fix
compil
a
t
i
on
wit
h
MSVC
commit
|
commitdiff
|
tree
2011-08-31
Chris Robinson
A
dd functions to ret
r
ieve
t
he sourc
e
f
r
om the source
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
C
h
r
i
s R
o
b
i
ns
o
n
Use
a
R
W
Loc
k
an
d
atomi
c
exchan
g
e
s
for thu
n
k
handling
commit
|
commitdiff
|
tree
2011-08-30
Chris
R
obinson
Lock the cont
e
xt while dele
t
in
g
sources only as
needed
commit
|
commitdiff
|
tree
2011-08-30
C
h
ri
s
Robins
o
n
Do
n
't lock
the co
n
t
e
xt while chec
k
ing the va
l
idity
.
.
.
commit
|
commitdiff
|
tree
2011-08-30
C
h
ris Robinson
Do
a
p
o
i
nte
r
exchange
w
hen re
p
lacing
t
h
e source buffer
.
.
.
commit
|
commitdiff
|
tree
2011-08-30
C
h
ris Rob
i
nson
Use the reference cou
n
ting
f
unctions for the buffer
.
.
.
commit
|
commitdiff
|
tree
2011-08-30
C
h
ris Robinson
Hold
t
he co
n
text l
o
c
k
a
s
needed while gener
a
ting and
.
.
.
commit
|
commitdiff
|
tree
2011-08-30
Chri
s
R
o
b
in
s
on
Use a ge
n
eric int t
y
p
e
to handle en
u
m swaps
commit
|
commitdiff
|
tree
2011-08-30
Chris Robinson
Do
a
compare-exchange to set the
c
o
ntext erro
r
commit
|
commitdiff
|
tree
2011-08-30
Chris
Robinson
Exchange the AL
e
rro
r
when retrieving it
commit
|
commitdiff
|
tree
2011-08-30
Chris Robins
o
n
Make specific fun
c
tions
to lock/u
n
lo
c
k
U
IntMap access
commit
|
commitdiff
|
tree
2011-08-30
C
h
ris
R
obinson
M
a
nually lo
c
k th
e
map while
iterati
n
g through its con
t
e
n
ts
commit
|
commitdiff
|
tree
2011-08-30
Chris Robi
n
son
Us
e
a read-w
r
ite lock to prot
e
ct access to
t
he UInt
.
.
.
commit
|
commitdiff
|
tree
2011-08-29
C
h
ris Rob
i
nson
Make the so
u
rce's NeedsUpdate volati
l
e
commit
|
commitdiff
|
tree
2011-08-29
Chris Robinson
D
o
a pr
o
per e
x
change w
h
en
s
etting a new s
t
a
t
e
commit
|
commitdiff
|
tree
2011-08-29
Ch
r
is Robin
s
on
Lo
c
k
th
e
context as needed for the d
e
f
e
r and proces
s
.
.
.
commit
|
commitdiff
|
tree
2011-08-29
Ch
r
is Robinson
Make AL
C
cont
e
xt's
DeferUpdate
s
fiel
d
volatile
commit
|
commitdiff
|
tree
2011-08-29
Ch
r
is Robinson
Hold a refere
n
ce on
the globa
l
c
o
ntext
commit
|
commitdiff
|
tree
2011-08-29
Chris Robinson
GCC's atomic built-i
n
s were introduced
i
n 4
.
1
.
0, so
.
.
.
commit
|
commitdiff
|
tree
2011-08-29
C
h
r
i
s Robinson
Fix typo
commit
|
commitdiff
|
tree
2011-08-29
Chris Robins
o
n
Use atomic ex
c
h
a
nges
w
hen
c
he
c
ki
n
g
for updates to ob
j
e
c
ts
.
.
.
commit
|
commitdiff
|
tree
2011-08-29
Chris
R
o
b
inson
Use a
n
enum instea
d
of an
boolean for some
f
lags
commit
|
commitdiff
|
tree
2011-08-29
Chris Robinso
n
Increm
e
nt the
c
ontext referenc
e
count when l
o
c
k
ing
commit
|
commitdiff
|
tree
2011-08-29
Chri
s
Ro
b
inson
Use a lis
t
of
c
ont
e
x
ts in
the devi
c
e instead
o
f an
.
.
.
commit
|
commitdiff
|
tree
2011-08-29
Chris Robinson
Avoid a glo
b
al li
s
t of contexts
commit
|
commitdiff
|
tree
2011-08-29
C
h
ri
s
Robins
o
n
C
h
eck if the context is valid only if
it's
replacing
.
.
.
commit
|
commitdiff
|
tree
2011-08-29
Chris Robinson
Hold
a
r
eference on th
e
cont
e
x
t
when being s
e
t as curr
e
nt
.
.
.
commit
|
commitdiff
|
tree
2011-08-29
C
h
r
i
s
Robin
s
o
n
Rena
m
e AL
C
context_De
r
e
f
t
o ALCco
n
text_DecRef
commit
|
commitdiff
|
tree
2011-08-29
Chris Rob
i
nson
Emulate pt
h
r
e
ad T
L
S f
u
nct
i
ons in Windows
commit
|
commitdiff
|
tree
2011-08-28
Chris Robinson
Add reference counting to t
h
e AL
C
c
o
n
texts
commit
|
commitdiff
|
tree
2011-08-28
Chris Robinson
Print
an error for invalid speaker layout key
s
commit
|
commitdiff
|
tree
2011-08-25
Chris Robins
o
n
Free t
h
e
WaveIn
bu
f
fe
r
s' data
after unpreparing them all
commit
|
commitdiff
|
tree
2011-08-24
Chris Robin
s
on
Re
t
urn
a
n ALC erro
r
enum from the Op
e
nCapture bac
k
end
.
.
.
commit
|
commitdiff
|
tree
2011-08-24
Ch
r
is Robinson
R
eturn
a
n
A
LC
error en
u
m from the OpenPlayback bac
k
end
.
.
.
commit
|
commitdiff
|
tree
2011-08-23
Chris Robi
n
so
n
Remove the Buf
f
e
r field from t
h
e
source
commit
|
commitdiff
|
tree
2011-08-23
Chris Robinson
Explicitly set
BufferLi
s
tStart's pre
v
fi
e
ld
commit
|
commitdiff
|
tree
2011-08-23
Chris Robinson
Add AL_SOFTX_d
e
ferred_update
s
to th
e
c
o
ntext's
e
xtensi
o
n
.
.
.
commit
|
commitdiff
|
tree
2011-08-23
Chris
Robinson
P
r
event sou
r
ce an
d
effect slo
t
updates
from
o
ccuring
.
.
.
commit
|
commitdiff
|
tree
2011-08-22
Ch
r
is Ro
b
inso
n
R
e
m
ove
so
m
e g_
p
r
e
fixes
commit
|
commitdiff
|
tree
2011-08-22
Chris Ro
b
inson
R
e
n
a
m
e
a couple
variables
commit
|
commitdiff
|
tree
2011-08-22
Chris Robinson
Always use
t
he t
h
unk functions to get object
I
D
s
commit
|
commitdiff
|
tree
2011-08-22
Ch
r
is Robinson
Don't use
t
he thunk
a
rray for object lookups
commit
|
commitdiff
|
tree
2011-08-21
Chris Robi
n
son
D
e
fer sou
r
ce offset chan
g
es requested
b
y
the app
commit
|
commitdiff
|
tree
2011-08-21
Chris R
o
bi
n
s
o
n
Us
e
-1 to mark an invalid sourc
e
offset
i
nst
e
ad
of 0
commit
|
commitdiff
|
tree
2011-08-21
Ch
r
i
s Robin
s
on
D
efer source state
change
s
fr
o
m alSourcePlay/Pause
.
.
.
commit
|
commitdiff
|
tree
next