Reference+
Name
usePortAudio()
Class
MultiChannel
Description
Force using PortAudio instead of JavaSound.
Support for 24 bit audio interfaces on Windows requires using the native
PortAudio bindings instead of the default JavaSound one. The Sound library
will automatically check for and load PortAudio when it is necessary to do
so. However, when Sound.list()
is called before selecting an
output device, it might show an incorrect number of channels for
multi-channel interfaces. By explicitly loading PortAudio ahead of time you
can ensure that Sound.list()
will show accurate channel
numbers from the start.
Returns true
if PortAudio was successfully loaded.
Syntax
MultiChannel.usePortAudio()
Return
boolean
Related
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.