This extension provides a mechanism for applications to move the output of a device from one endpoint to another. Standard OpenAL devices are associated with an output on the system upon being opened, but if the endpoint should no longer be the desired output, there is no method for the application to easily change it. The only option for the application is to delete all AL objects, destroy the context, close the device handle, open a new device, and reload/recreate the necessary resources. A method to more simply move the device with its existing resources to a different output is easier, requiring less management from the application.
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | alcReopenDeviceSOFT(long
a non- device, ByteBuffer NULL handle for an existing devicethe device name to open, or deviceName, IntBuffer NULL for the default (same as would be passed to OpenDevice)an attribute list to configure the device with, with the same attribute list that would be passed to attribs)CreateContext.Once a playback device is opened, it becomes associated with a particular output endpoint. |
| public static boolean | alcReopenDeviceSOFT(long
a non- device, CharSequence NULL handle for an existing devicethe device name to open, or deviceName, IntBuffer NULL for the default (same as would be passed to OpenDevice)an attribute list to configure the device with, with the same attribute list that would be passed to attribs)CreateContext.Once a playback device is opened, it becomes associated with a particular output endpoint. |
| public static boolean | alcReopenDeviceSOFT(long device, ByteBuffer deviceName, int[] attribs)
Array version of: |
| public static boolean | alcReopenDeviceSOFT(long device, CharSequence deviceName, int[] attribs)
Array version of: |
| public static boolean |
| SOFTReopenDevice | back to summary |
|---|---|
| protected SOFTReopenDevice() | |
| alcReopenDeviceSOFT | back to summary |
|---|---|
| public static boolean alcReopenDeviceSOFT(long device, ByteBuffer deviceName, IntBuffer attribs) Once a playback device is opened, it becomes associated with a particular output endpoint. When this output is no longer the desired output, the
playback device can be reopened to re-associate it with a potentially different output endpoint using
| |
| alcReopenDeviceSOFT | back to summary |
|---|---|
| public static boolean alcReopenDeviceSOFT(long device, CharSequence deviceName, IntBuffer attribs) Once a playback device is opened, it becomes associated with a particular output endpoint. When this output is no longer the desired output, the
playback device can be reopened to re-associate it with a potentially different output endpoint using
| |
| alcReopenDeviceSOFT | back to summary |
|---|---|
| public static boolean alcReopenDeviceSOFT(long device, ByteBuffer deviceName, int[] attribs) Array version of:
| |
| alcReopenDeviceSOFT | back to summary |
|---|---|
| public static boolean alcReopenDeviceSOFT(long device, CharSequence deviceName, int[] attribs) Array version of:
| |
| nalcReopenDeviceSOFT | back to summary |
|---|---|
| public static boolean nalcReopenDeviceSOFT(long device, long deviceName, long attribs) Unsafe version of: | |