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
ins
o
n
Just
r
ef
e
r
e
nce the context when checkin
g
fo
r
extensions
commit
|
commitdiff
|
tree
2011-09-11
Chris R
o
binson
Use
a RWLock t
o
pro
t
ect access to
a
buffer
i
nstead
.
.
.
commit
|
commitdiff
|
tree
2011-09-11
Chris Rob
i
nson
Avoid
ho
l
di
n
g the context loc
k
f
or the buffer functions
commit
|
commitdiff
|
tree
2011-09-11
C
hris Robinson
Avoid h
o
lding th
e
context
lock when sett
i
ng auxiliary
.
.
.
commit
|
commitdiff
|
tree
2011-09-11
Chris Robinson
Make some listener properties volatile
commit
|
commitdiff
|
tree
2011-09-11
Chris
Robinson
Mark some so
u
rce proper
t
ies volatile
commit
|
commitdiff
|
tree
2011-09-11
Chris Robinson
Small fixes to setting the source's direct filt
e
r
and
.
.
.
commit
|
commitdiff
|
tree
2011-09-11
Chris Robinson
Avoid holding
the context lock while setting so
u
r
ce
.
.
.
commit
|
commitdiff
|
tree
2011-09-11
Chri
s
Robinson
I
nitialize
s
ou
r
ce parameters befor
e
adding
th
e
source
.
.
.
commit
|
commitdiff
|
tree
2011-09-11
Ch
r
is Robinson
Don't defer st
o
ppe
d
and initial
s
ource state changes
commit
|
commitdiff
|
tree
2011-09-11
Chris Robinson
Add a comm
e
nt about when FreeCo
n
text and FreeDe
v
ice
.
.
.
commit
|
commitdiff
|
tree
2011-09-11
Chris Robinson
Trace
t
h
e device poin
t
er whe
n
w
arnin
g
ab
o
ut
l
eftover
.
.
.
commit
|
commitdiff
|
tree
2011-09-11
Chris Robinson
Set the devi
c
e-con
n
ected f
l
a
g
to false fir
s
t when handlin
g
.
.
.
commit
|
commitdiff
|
tree
2011-09-11
Chris Robi
n
s
on
C
o
n
dense some code
commit
|
commitdiff
|
tree
2011-09-11
Chri
s
Robinson
C
l
ean
u
p some code comments
commit
|
commitdiff
|
tree
2011-09-10
Chris Robinson
Lock the lists while p
r
obing devices
commit
|
commitdiff
|
tree
2011-09-10
Ch
r
is Robinson
Cl
e
an up som
e
comments
commit
|
commitdiff
|
tree
2011-09-10
Chr
i
s Rob
i
nson
Slightly modi
f
y a warning
commit
|
commitdiff
|
tree
2011-09-10
C
hris Robinson
Pro
p
e
rly des
t
roy con
t
e
x
ts that
a
re left on
the device
.
.
.
commit
|
commitdiff
|
tree
2011-09-10
Chris Robinson
Avoi
d
locking the
device when adding and removing con
t
exts
commit
|
commitdiff
|
tree
2011-09-10
Chris Robins
o
n
Avoid hold
i
ng the l
i
st
l
ock when not needed
commit
|
commitdiff
|
tree
2011-09-10
Chris Robinso
n
Warn abou
t
contexts that
a
r
e errantly left
curren
t
commit
|
commitdiff
|
tree
2011-09-10
Chris Robinson
Hold an extra ref
e
r
ence
on the
d
e
v
i
c
e
f
or
e
ach of its
.
.
.
commit
|
commitdiff
|
tree
2011-09-10
Chris
Robins
o
n
Add
s
om
e
reference counti
n
g
t
o the de
v
ice
commit
|
commitdiff
|
tree
2011-09-10
Chris Ro
b
inson
Fix a param
e
ter typ
e
commit
|
commitdiff
|
tree
2011-09-10
Chris Robinson
U
se alG
e
tEnum
V
a
l
u
e
to check for supported filte
r
s and
.
.
.
commit
|
commitdiff
|
tree
2011-09-10
Chris Robinson
A
dd an option to trap device errors in a d
e
bug
g
e
r
commit
|
commitdiff
|
tree
2011-09-10
Chris
R
obin
s
on
Add an optio
n
to trap context er
r
ors in a debugger
commit
|
commitdiff
|
tree
2011-09-10
Chris Rob
i
nson
Al
l
ow PulseAudi
o
's tlength
to gr
o
w
t
o
m
a
ke sure there
.
.
.
commit
|
commitdiff
|
tree
2011-09-10
Chris Robinson
Use
a
n
a
r
r
ay to get t
h
e devic
e
format from
t
h
e
user
.
.
.
commit
|
commitdiff
|
tree
2011-09-02
Chris Robinson
Avoid an un
n
ecessar
y
lock
commit
|
commitdiff
|
tree
2011-09-02
Chris
R
obinson
D
o
an atomic
c
ompar
e
-exchange on the glob
a
l
context
.
.
.
commit
|
commitdiff
|
tree
2011-09-02
Chris
R
o
b
inson
Fix multichannel wet
gainhf calculation
commit
|
commitdiff
|
tree
2011-09-02
Chris Robinson
Use an atom
i
c exchange to get the old
global co
n
text
.
.
.
commit
|
commitdiff
|
tree
2011-09-02
Chris Robinson
Log the functi
o
n name instead o
f
the source file
a
nd
.
.
.
commit
|
commitdiff
|
tree
2011-09-02
Chri
s
Rob
i
ns
o
n
Trace
t
h
e
rev
e
r
b buffer si
z
e
commit
|
commitdiff
|
tree
2011-09-02
Chris
R
obinson
Comb
i
n
e
the reve
r
b
e
ffects
commit
|
commitdiff
|
tree
2011-09-02
Chris Robinson
Don
'
t recreate
t
h
e
effect when switching between the
.
.
.
commit
|
commitdiff
|
tree
2011-09-02
Chris Robinso
n
Combin
e
the
d
edicated
(
dia
l
og/LFE
)
effects
commit
|
commitdiff
|
tree
2011-08-31
Chr
i
s
Robinso
n
Fix
a comment
commit
|
commitdiff
|
tree
2011-08-31
Chris
R
obinson
Fix a
po
t
ential inf
i
n
ite loop whe
n
removing
a
n effect
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
C
h
ris Robinson
S
t
or
e
the filter gai
n
s d
i
r
ectly in th
e
s
o
urce inste
a
d
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
Chr
i
s
R
obinson
Avoi
d
t
he
c
ontext lock when generating
a
n
d
d
eleting
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
Chris Robinson
Avoid
the conte
x
t
lo
c
k when
g
enerat
i
ng and delet
i
ng
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
Chr
i
s
Robins
o
n
Don't set a thread pri
o
rity if real-time isn't requested
commit
|
commitdiff
|
tree
2011-08-31
Chris Robinson
Add a function to initi
a
l
i
ze a RWLock
commit
|
commitdiff
|
tree
2011-08-31
Chris R
o
binson
Hold the
conte
x
t lock only as n
e
eded
when handling
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
Chris R
o
binson
Avoid loc
k
ing
t
h
e
context while getting an
d
set
t
ing
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
Chris R
o
b
i
nson
Use the active effect s
l
ot list fo
r
pending updates
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
Chri
s
Robinson
Rename GetReffedContext to
GetCo
n
textRe
f
commit
|
commitdiff
|
tree
2011-08-31
Chris Robinson
Use a more approp
r
iat
e
er
r
or
f
or trying to delete an
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
Chris Robinson
Hol
d
the lock
o
nly as needed when generating and deleting
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
Chris Robinson
Add a limit
to th
e
U
I
ntMap size and use it for sources
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
C
hris R
o
b
i
nson
Use
a separate array
fo
r
the auxil
i
ary
s
l
o
ts
in the
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
Chris Rob
i
n
s
on
Fi
x
co
m
pilation with MS
V
C
commit
|
commitdiff
|
tree
2011-08-31
Chris R
o
b
i
nson
Add func
t
ions to retri
e
v
e
the so
u
r
c
e from th
e
s
ource
.
.
.
commit
|
commitdiff
|
tree
2011-08-31
Chris
R
obinson
U
se
a
R
WLock and at
o
mic e
x
chan
g
es for thun
k
handlin
g
commit
|
commitdiff
|
tree
2011-08-30
C
hris Robinson
Lock the
c
ontext while deleting sou
r
ces
onl
y
as needed
commit
|
commitdiff
|
tree
2011-08-30
Chris R
o
binson
Don't lock the contex
t
whi
l
e chec
k
ing the validity
.
.
.
commit
|
commitdiff
|
tree
2011-08-30
Chr
i
s Robinson
Do a pointer exc
h
a
nge
w
h
e
n
re
p
l
a
ci
n
g the s
o
urce buffer
.
.
.
commit
|
commitdiff
|
tree
2011-08-30
Chris Ro
b
ins
o
n
U
s
e the
r
eference co
u
nting func
t
ions for the buffe
r
.
.
.
commit
|
commitdiff
|
tree
2011-08-30
Chris Robins
o
n
Hold the conte
x
t
l
ock
a
s needed while gen
e
rating a
n
d
.
.
.
commit
|
commitdiff
|
tree
2011-08-30
Chr
i
s Robinson
Use a generic
int ty
p
e to
handle
enum s
w
a
ps
commit
|
commitdiff
|
tree
2011-08-30
C
hris Ro
b
inson
Do
a compare-exchang
e
to
se
t
the context err
o
r
commit
|
commitdiff
|
tree
2011-08-30
Chris Ro
b
i
nson
Excha
n
ge
t
he AL
e
rror when retrieving
it
commit
|
commitdiff
|
tree
2011-08-30
Chris Robin
s
o
n
Make spe
c
if
i
c function
s
to loc
k
/unl
o
c
k U
I
n
tMap access
commit
|
commitdiff
|
tree
2011-08-30
Chri
s
Rob
i
ns
o
n
Manua
l
ly lock the map while iterating thro
u
gh
i
ts
c
o
n
tents
commit
|
commitdiff
|
tree
2011-08-30
Chris
R
o
b
i
n
son
U
se a read-write lock
to prote
c
t access
to the UInt
.
.
.
commit
|
commitdiff
|
tree
2011-08-29
Chris Robinson
Make
the
source's NeedsUpdate volatile
commit
|
commitdiff
|
tree
2011-08-29
Chris Robinson
Do a proper
excha
n
g
e
when setting a new stat
e
commit
|
commitdiff
|
tree
2011-08-29
Chris Robi
n
son
Lo
c
k
the co
n
text
as needed for the
d
efer
and proce
s
s
.
.
.
commit
|
commitdiff
|
tree
2011-08-29
Chris Robi
n
son
Make ALCconte
x
t
's De
f
erU
p
d
a
te
s
field
v
o
latile
commit
|
commitdiff
|
tree
2011-08-29
Ch
r
is R
o
binson
Hold a ref
e
rence on the g
l
obal con
t
ext
commit
|
commitdiff
|
tree
2011-08-29
Chris Robinson
GCC
'
s atomi
c
built-in
s
w
e
re intr
o
d
uced in 4
.
1
.
0
, so
.
.
.
commit
|
commitdiff
|
tree
2011-08-29
Chris Robin
s
o
n
Fix typo
commit
|
commitdiff
|
tree
2011-08-29
Chris Robins
o
n
U
s
e
atomic exch
a
nges when checking for
up
d
a
tes
to objects
.
.
.
commit
|
commitdiff
|
tree
2011-08-29
Chris Robinson
Use an enu
m
in
s
tead of an boolean for some
flags
commit
|
commitdiff
|
tree
2011-08-29
Chr
i
s R
o
b
i
nson
Increment the contex
t
ref
e
rence
cou
n
t
when lo
c
k
i
ng
commit
|
commitdiff
|
tree
2011-08-29
Chris Robins
o
n
Use a l
i
st of contexts in the devic
e
i
n
stead of an
.
.
.
commit
|
commitdiff
|
tree
2011-08-29
Chris Robi
n
son
Avoid
a
glob
a
l
l
i
s
t
of cont
e
x
t
s
commit
|
commitdiff
|
tree
2011-08-29
Chris Robin
s
on
Check if the conte
x
t
i
s
vali
d
o
nly
if it
'
s rep
l
acing
.
.
.
commit
|
commitdiff
|
tree
2011-08-29
Chris Robinson
Hold a ref
e
r
e
nce on the conte
x
t
when b
e
ing set as c
u
rrent
.
.
.
commit
|
commitdiff
|
tree
2011-08-29
Chris Robinson
Renam
e
ALCcontext_
D
er
e
f
t
o ALCcontext_DecRef
commit
|
commitdiff
|
tree
2011-08-29
Chris Robinson
Emulate pt
h
read TLS function
s
in Windows
commit
|
commitdiff
|
tree
2011-08-28
Chris
Robi
n
so
n
Add
r
eference counting
t
o the ALC contexts
commit
|
commitdiff
|
tree
2011-08-28
Ch
r
i
s Robinson
Print
a
n error for invalid sp
e
ak
e
r layout keys
commit
|
commitdiff
|
tree
2011-08-25
Chri
s
Robinson
Free the
W
aveIn
b
u
ffers' d
a
ta after unprepar
i
n
g
them all
commit
|
commitdiff
|
tree
2011-08-24
Chri
s
Robinson
Return an ALC
err
o
r
en
u
m fro
m
the OpenCapture
b
ackend
.
.
.
commit
|
commitdiff
|
tree
2011-08-24
Chr
i
s Robinson
Retur
n
an ALC
error enum
f
r
om
t
he OpenPlayback
b
ackend
.
.
.
commit
|
commitdiff
|
tree
2011-08-23
C
hris Robinson
Remove the Buff
e
r field f
r
om the source
commit
|
commitdiff
|
tree
2011-08-23
Chris Robinson
Exp
l
icitly set BufferListStart's prev fie
l
d
commit
|
commitdiff
|
tree
2011-08-23
C
h
r
is
R
obinson
Add AL
_
S
O
F
TX_deferred_updates to
t
h
e contex
t
's extension
.
.
.
commit
|
commitdiff
|
tree
2011-08-23
Chris R
o
b
i
nson
Prevent
s
ource and
effect s
l
ot updates from occuring
.
.
.
commit
|
commitdiff
|
tree
2011-08-22
Chr
i
s Robinson
R
emove
s
ome g_ prefixes
commit
|
commitdiff
|
tree
2011-08-22
Chri
s
Robinson
Rename a couple vari
a
bles
commit
|
commitdiff
|
tree
2011-08-22
C
h
r
i
s Robinson
Always us
e
the t
h
unk functions t
o
get object IDs
commit
|
commitdiff
|
tree
2011-08-22
Chris Ro
b
in
s
o
n
Don't
u
se the
thunk array for objec
t
lookups
commit
|
commitdiff
|
tree
2011-08-21
Chris Robinson
Defer source
o
ffse
t
ch
a
nges r
e
quested b
y
the app
commit
|
commitdiff
|
tree
2011-08-21
Chris Robinson
U
s
e
-1
t
o mark an invalid
s
o
urce offset inste
a
d of 0
commit
|
commitdiff
|
tree
2011-08-21
Chris
R
obins
o
n
Defer source state changes
f
rom alSourcePlay/Pause
.
.
.
commit
|
commitdiff
|
tree
next