diff options
author | Chris Robinson <[email protected]> | 2014-01-15 16:30:23 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-01-15 16:30:23 -0800 |
commit | 8d7559d9d00c66213471538632b389ad289b31a0 (patch) | |
tree | 42f88b5f2af694ae072a0831650be415824fe217 /Alc/ALc.c | |
parent | 56899716d6c73585b5fec3c2e9280cfe780e08dc (diff) |
Stop the device when updating parameters, don't close it
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |