Add a method to reset the device
commit3058205963ee3293341bc7d92061fa18ccae4df8
authorChris Robinson <chris.kcat@gmail.com>
Sat, 16 May 2015 08:46:06 +0000 (16 01:46 -0700)
committerChris Robinson <chris.kcat@gmail.com>
Sat, 16 May 2015 09:18:09 +0000 (16 02:18 -0700)
tree7e85b9134e2bbe35c535346b8aafe932abdc32b2
parent80f0b5e736eaf4a19b6a0de8666e055816cba043
Add a method to reset the device

This basically acts as if the app created a new context with the specified
attributes (causing the device to reset with new parameters), then immediately
delete it. Existing contexts remain undisturbed, except for a temporary pause
while the device output is reconfigured.
Alc/ALc.c
OpenAL32/Include/alMain.h