Reference DeviceShare members through the share itself
commitfd6c69e8b98e47a69c9141d01375505d19adf511
authorChris Robinson <chris.kcat@gmail.com>
Sun, 24 Jun 2018 23:39:59 +0000 (24 16:39 -0700)
committerChris Robinson <chris.kcat@gmail.com>
Sun, 24 Jun 2018 23:39:59 +0000 (24 16:39 -0700)
treea694353b08f74b0820edd228dafb5f3091da5fa6
parent0be85abec6ad9fcd6fbf65fb91497d48e237b377
Reference DeviceShare members through the share itself

Rather than pointers to individual members of the DeviceShare, just use the
pointer to the DeviceShare itself. There's no extra indirection since it's just
replacing one pointer with another, with an added offset.

This doesn't apply to members that are copied, such as the ALCcontext handle or
the auxiliary effect slot ID.
buffer.c
dsound8.c
dsound_private.h
primary.c