aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-01-15 16:30:23 -0800
committerChris Robinson <[email protected]>2014-01-15 16:30:23 -0800
commit8d7559d9d00c66213471538632b389ad289b31a0 (patch)
tree42f88b5f2af694ae072a0831650be415824fe217
parent56899716d6c73585b5fec3c2e9280cfe780e08dc (diff)
Stop the device when updating parameters, don't close it
-rw-r--r--Alc/ALc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 7b08134c..458a6874 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1698,7 +1698,7 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList)
/* If a context is already running on the device, stop playback so the
* device attributes can be updated. */
if((device->Flags&DEVICE_RUNNING))
- V0(device->Backend,close)();
+ V0(device->Backend,stop)();
device->Flags &= ~DEVICE_RUNNING;
freq = device->Frequency;