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
Avoid holding the context lock for the buffer functions
2011-09-11
Chri
s
Robinson
Avoid holding t
h
e
context lock for th
e
buffer
functions
commit
|
commitdiff
|
tree
2011-09-11
C
h
ris
Robinson
Avo
i
d h
o
lding
t
h
e context lock
wh
e
n setti
n
g auxili
a
ry
.
.
.
commit
|
commitdiff
|
tree
2011-09-11
C
hr
i
s Ro
b
inson
M
ake some
l
i
st
e
ne
r
p
roperties volatile
commit
|
commitdiff
|
tree
2011-09-11
C
hr
i
s Robinson
Mark some
s
ou
r
ce pro
p
erties volatile
commit
|
commitdiff
|
tree
2011-09-11
Chr
i
s Ro
b
inso
n
Small fixes
to setting
t
he
s
ourc
e
's
d
irect fil
t
er an
d
.
.
.
commit
|
commitdiff
|
tree
2011-09-11
Chris Robinson
Avoid holding
t
he context loc
k
while setting source
.
.
.
commit
|
commitdiff
|
tree
2011-09-11
Chris R
o
binson
Ini
t
ialize
source parameters before ad
d
ing the s
o
urce
.
.
.
commit
|
commitdiff
|
tree
2011-09-11
Chris Robinson
Do
n
't defer st
o
pped
a
n
d ini
t
ial s
o
urce sta
t
e changes
commit
|
commitdiff
|
tree
2011-09-11
C
hris Ro
b
inson
Add
a
c
o
mment about whe
n
F
reeC
o
ntext
a
n
d
FreeDevice
.
.
.
commit
|
commitdiff
|
tree
2011-09-11
C
hris
Robinson
Tr
a
ce the devic
e
pointer when war
n
in
g
a
b
out leftove
r
.
.
.
commit
|
commitdiff
|
tree
2011-09-11
Chris Robins
o
n
Set
t
h
e device-connected fl
a
g t
o
fal
s
e first
w
hen handlin
g
.
.
.
commit
|
commitdiff
|
tree
2011-09-11
Chris Ro
b
inson
Condense som
e
cod
e
commit
|
commitdiff
|
tree
2011-09-11
Chris
R
obinson
Clean up some co
d
e
c
omments
commit
|
commitdiff
|
tree
2011-09-10
C
hris
R
o
bi
n
son
L
o
ck
t
h
e l
i
st
s
w
hil
e
prob
i
ng devices
commit
|
commitdiff
|
tree
2011-09-10
C
h
ris Robinson
Cl
e
an up some comments
commit
|
commitdiff
|
tree
2011-09-10
Chri
s
Ro
b
in
s
on
Sl
i
ghtly modify a warning
commit
|
commitdiff
|
tree
2011-09-10
Chr
i
s
Robin
s
on
Properly destroy co
n
texts that are lef
t
on the device
.
.
.
commit
|
commitdiff
|
tree
2011-09-10
Chris Robinson
Av
o
id
l
ockin
g
the
d
e
v
ice w
h
en adding
and
removi
n
g contexts
commit
|
commitdiff
|
tree
2011-09-10
Chris Robinson
Avoid
holding the lis
t
lo
c
k w
h
en not needed
commit
|
commitdiff
|
tree
2011-09-10
Ch
r
is
Robinson
Warn abou
t
contexts
t
h
a
t are errantly left
c
u
rr
e
nt
commit
|
commitdiff
|
tree
2011-09-10
Chris Ro
b
in
s
o
n
H
old
a
n
extra re
f
er
e
nce on the device for each of its
.
.
.
commit
|
commitdiff
|
tree
2011-09-10
Ch
r
is Robinson
Add
s
o
me refe
r
en
c
e coun
t
ing to the
d
evice
commit
|
commitdiff
|
tree
2011-09-10
C
h
ri
s
Robinson
F
ix a parameter type
commit
|
commitdiff
|
tree
2011-09-10
Chris Robinson
Use alGetEnumValue
t
o check for supporte
d
filters and
.
.
.
commit
|
commitdiff
|
tree
2011-09-10
Chris R
o
b
i
nson
Add an o
p
t
i
on to trap device
e
rro
r
s in a debugger
commit
|
commitdiff
|
tree
2011-09-10
Ch
r
i
s Robinson
Add an opt
i
on t
o
trap context
errors in
a
debugger
commit
|
commitdiff
|
tree
2011-09-10
Chris
R
obinson
Allow Pul
s
eA
u
dio's
tle
n
gt
h
to grow
to make sure
t
h
e
r
e
.
.
.
commit
|
commitdiff
|
tree
2011-09-10
Chr
i
s Rob
i
nson
Use an array to get t
h
e de
v
ice
form
a
t from the user
.
.
.
commit
|
commitdiff
|
tree
2011-09-02
Chris Robinson
Avoid an unnecessary lock
commit
|
commitdiff
|
tree
2011-09-02
Chris Robinso
n
Do a
n
atomic compa
r
e
-excha
n
ge on the global contex
t
.
.
.
commit
|
commitdiff
|
tree
2011-09-02
Chr
i
s R
o
bi
n
s
o
n
F
i
x mul
t
ichannel wet
gain
h
f c
a
l
c
ulation
commit
|
commitdiff
|
tree
2011-09-02
Chris R
o
binson
Us
e
an atomic e
x
cha
n
ge
t
o get the old glo
b
al
context
.
.
.
commit
|
commitdiff
|
tree
2011-09-02
Chris R
o
binson
Log the fu
n
ction name instead
of
t
he sour
c
e f
i
l
e and
.
.
.
commit
|
commitdiff
|
tree
2011-09-02
Chris Robinson
Trace the reverb buffer size
commit
|
commitdiff
|
tree
2011-09-02
Chris Robinson
Comb
i
n
e
the rever
b
effects
commit
|
commitdiff
|
tree
2011-09-02
Chris Robi
n
son
D
o
n'
t
recreate the effect when switc
h
ing b
e
tween the
.
.
.
commit
|
commitdiff
|
tree
2011-09-02
C
h
ris R
o
b
i
nson
C
o
mbine
t
he dedicated (
d
ialog/LFE) effects
commit
|
commitdiff
|
tree
2011-08-31
C
h
r
is Robinson
Fix a c
o
mment
commit
|
commitdiff
|
tree
2011-08-31
Chris Robinson
Fix a potent
i
al infinite
loop when r
e
m
oving an effect
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
Chris Robinson
S
tore the filter gains
d
irectly in the source
i
nstead
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
Chris
R
obinson
Av
o
i
d the
c
ontext loc
k
when gene
r
at
i
ng and
d
eleting
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
Chris
R
obinson
Avoid the
conte
x
t lock whe
n
genera
t
i
n
g and deletin
g
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
Chris Robins
o
n
Don
'
t set a thread priority
if rea
l
-time isn't r
e
quested
commit
|
commitdiff
|
tree
2011-08-31
Chris Robin
s
on
Add a
function
to initialize a RWLock
commit
|
commitdiff
|
tree
2011-08-31
Chri
s
Robi
n
s
o
n
H
o
ld the contex
t
l
ock only
a
s needed whe
n
handlin
g
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
Chri
s
Robinso
n
Av
o
id locki
n
g
the context whi
l
e getting and
s
etti
n
g
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
C
hris
Robinson
Use t
h
e active effect
s
lot list for
pendin
g
up
d
at
e
s
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
C
h
r
i
s R
o
b
i
nson
Rename GetReffedContext
t
o
G
etContextRef
commit
|
commitdiff
|
tree
2011-08-31
Chris Rob
i
nson
Use a more appro
p
riate
error
f
or t
r
y
i
n
g
t
o delete an
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
Chris Rob
i
nson
Hold
the
lo
c
k only
as nee
d
ed wh
e
n generating
and deleting
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
Chris Robinson
Add a
limit to
the UIntMap size and use it fo
r
so
u
rces
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
Chris
R
obin
s
on
Use a sepa
r
a
t
e arr
a
y
f
or the auxiliary sl
o
ts in the
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
Chr
i
s Robin
s
o
n
Fix compilati
o
n with MSVC
commit
|
commitdiff
|
tree
2011-08-31
Ch
r
i
s Robinson
Add function
s
t
o
retrieve the source from the source
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
Chris Robinson
Use a RWLoc
k
an
d
atomic
exchanges for thunk h
a
ndlin
g
commit
|
commitdiff
|
tree
2011-08-30
Chris Robinson
L
ock the context wh
i
le deleting sourc
e
s
only
as needed
commit
|
commitdiff
|
tree
2011-08-30
Chris Rob
i
nson
Don't lock the
context while
c
hecking the validity
.
.
.
commit
|
commitdiff
|
tree
2011-08-30
Ch
r
is R
o
binson
Do a p
o
inter exch
a
nge wh
e
n replacing the source buffe
r
.
.
.
commit
|
commitdiff
|
tree
2011-08-30
Chris Robinso
n
Use the ref
e
rence counting functions for the buffer
.
.
.
commit
|
commitdiff
|
tree
2011-08-30
Chris Robinson
Hold the context lock
as needed whi
l
e
g
enerating
a
nd
.
.
.
commit
|
commitdiff
|
tree
2011-08-30
Chris
Rob
i
nson
U
se a
generic int ty
p
e to
handle enum
s
waps
commit
|
commitdiff
|
tree
2011-08-30
Ch
r
is Robinson
Do a
comp
a
re-exch
a
nge
to
s
et t
h
e
context erro
r
commit
|
commitdiff
|
tree
2011-08-30
Chri
s
Robinson
E
x
change the
A
L
error
when retrie
v
i
n
g
i
t
commit
|
commitdiff
|
tree
2011-08-30
Chris Robinson
M
a
ke specif
i
c functions to lock/un
l
o
c
k U
I
ntMap acce
s
s
commit
|
commitdiff
|
tree
2011-08-30
Chris
Rob
i
ns
o
n
M
anu
a
l
ly loc
k
the map whil
e
iter
a
ting throug
h
its c
o
ntent
s
commit
|
commitdiff
|
tree
2011-08-30
C
h
ris R
o
binson
Use
a rea
d
-write lock to protec
t
access to the UInt
.
.
.
commit
|
commitdiff
|
tree
2011-08-29
Chris
Robinson
Make
th
e
source's Nee
d
s
U
pdate volatile
commit
|
commitdiff
|
tree
2011-08-29
Ch
r
is
Robinson
D
o
a prop
e
r exc
h
ange when
se
t
t
i
n
g
a
new state
commit
|
commitdiff
|
tree
2011-08-29
Ch
r
is Rob
i
nso
n
Lo
c
k the
c
ontext as needed for the defer and process
.
.
.
commit
|
commitdiff
|
tree
2011-08-29
Ch
r
is Robinson
Make ALCcontext's DeferUpdates f
i
el
d
v
olatile
commit
|
commitdiff
|
tree
2011-08-29
Chris Robinson
H
o
ld a reference on the g
l
obal context
commit
|
commitdiff
|
tree
2011-08-29
Chris Robinson
GCC's atomi
c
bui
l
t-ins wer
e
introd
u
c
e
d in 4
.
1
.
0, so
.
.
.
commit
|
commitdiff
|
tree
2011-08-29
Chris Robin
s
o
n
Fix typo
commit
|
commitdiff
|
tree
2011-08-29
C
h
ris Robinson
U
s
e a
t
omi
c
exchan
g
es when
c
hecking fo
r
up
d
ates
t
o objects
.
.
.
commit
|
commitdiff
|
tree
2011-08-29
Chris Robi
n
s
on
Use an e
n
um instead of an boolea
n
fo
r
some fl
a
gs
commit
|
commitdiff
|
tree
2011-08-29
Ch
r
is Robins
o
n
Incr
e
ment t
h
e conte
x
t
refere
n
ce count w
h
en locking
commit
|
commitdiff
|
tree
2011-08-29
Chris
R
obinson
Use a list of c
o
n
t
exts in the device ins
t
ead of
a
n
.
.
.
commit
|
commitdiff
|
tree
2011-08-29
Chris Robinson
A
v
oid a
global list of contexts
commit
|
commitdiff
|
tree
2011-08-29
C
h
ris Robinson
Check
i
f th
e
context
i
s valid only
i
f it's replacing
.
.
.
commit
|
commitdiff
|
tree
2011-08-29
Chris R
o
binson
Hold
a reference on the context when being set
as c
u
rrent
.
.
.
commit
|
commitdiff
|
tree
2011-08-29
Chris Robinson
Rename ALCc
o
n
text_Deref
t
o
ALCc
o
n
t
ext_DecRef
commit
|
commitdiff
|
tree
2011-08-29
Chris Ro
b
inson
Emulate pthread TLS fu
n
c
tions in Windows
commit
|
commitdiff
|
tree
2011-08-28
Chris Robinson
Add
reference counting to the ALC
contexts
commit
|
commitdiff
|
tree
2011-08-28
Chris
R
o
b
inson
Print an erro
r
for inval
i
d speaker
l
a
yout keys
commit
|
commitdiff
|
tree
2011-08-25
C
hris Robinson
Fr
e
e
the
W
aveIn buf
f
e
rs'
d
ata
af
t
er unpreparin
g
them all
commit
|
commitdiff
|
tree
2011-08-24
Chris Robinson
Ret
u
rn an ALC
er
r
o
r enum f
r
om th
e
OpenCa
p
ture backend
.
.
.
commit
|
commitdiff
|
tree
2011-08-24
Chri
s
Rob
i
n
son
Return an ALC error en
u
m f
r
o
m th
e
O
p
e
nPlayback backend
.
.
.
commit
|
commitdiff
|
tree
2011-08-23
Ch
r
is Robi
n
son
Remove the Buffer
field from th
e
s
o
urc
e
commit
|
commitdiff
|
tree
2011-08-23
C
h
ri
s
Robi
n
son
Explicitly se
t
BufferListStart's prev
field
commit
|
commitdiff
|
tree
2011-08-23
C
h
ris Robinson
Add AL_SO
F
TX_
d
efe
r
red_updat
e
s
to the context's
extension
.
.
.
commit
|
commitdiff
|
tree
2011-08-23
Chris R
o
binso
n
Prevent source
and effe
c
t
slot updates fr
o
m oc
c
u
r
i
ng
.
.
.
commit
|
commitdiff
|
tree
2011-08-22
Chris Robinson
Remov
e
some g_ prefixes
commit
|
commitdiff
|
tree
2011-08-22
Chris Rob
i
ns
o
n
Rename a couple variables
commit
|
commitdiff
|
tree
2011-08-22
Chris Robi
n
son
A
l
ways
use
the thunk
fun
c
t
ions to get object
IDs
commit
|
commitdiff
|
tree
2011-08-22
Chris
R
o
bins
o
n
Do
n
'
t
use the
t
hunk array f
o
r object lookup
s
commit
|
commitdiff
|
tree
2011-08-21
Chris Robinson
Defer source offset changes r
e
quested by the app
commit
|
commitdiff
|
tree
2011-08-21
C
h
r
is Robin
s
on
Use -1 to mark an invalid source offset
inst
e
ad
o
f
0
commit
|
commitdiff
|
tree
2011-08-21
Chris Robins
o
n
Def
e
r source
s
t
a
te changes fro
m
al
S
o
u
rcePlay/Pause
.
.
.
commit
|
commitdiff
|
tree
2011-08-20
Chris Robinson
Use
a separate func
t
ion to set the source
state
commit
|
commitdiff
|
tree
2011-08-20
Chris R
o
bi
n
son
Remove some spaces
commit
|
commitdiff
|
tree
next