mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
add PA_REFCNT_INIT_ZERO
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2425 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
689528045e
commit
1b7157a8d6
1 changed files with 3 additions and 0 deletions
|
|
@ -32,6 +32,9 @@
|
|||
#define PA_REFCNT_INIT(p) \
|
||||
pa_atomic_store(&(p)->_ref, 1)
|
||||
|
||||
#define PA_REFCNT_INIT_ZERO(p) \
|
||||
pa_atomic_store(&(p)->_ref, 0)
|
||||
|
||||
#define PA_REFCNT_INC(p) \
|
||||
pa_atomic_inc(&(p)->_ref)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue