VISR  0.12.1
Versatile Interactive Scene Renderer
PortAudio Audio Interface

Audio Interface Configuration

The following options can be provided when using PortAudio as our top level component’s Audio Interface:

  • sampleformat: Specifies PortAudio sample format. Possible values are:
    • signedInt8Bit
    • unsignedInt8Bit
    • signedInt16Bit
    • unsignedInt16Bit
    • signedInt24Bit
    • unsignedInt24Bit
    • signedInt32Bit
    • unsignedInt32Bit
    • float32Bit .
  • interleaved: Enable/disable interleaved mode, possible values are true, false.
  • hostapit: Used to specify PortAudio backend audio interface. Possible values are:
    • default
    • WASAPI : Supported OS: Windows.
    • ASIO : Supported OS: Windows.
    • WDMKS : Supported OS: Windows.
    • DirectSound : Supported OS: Windows.
    • CoreAudio : Supported OS: MacOs.
    • ALSA : Supported OS: Linux.
    • JACK : Supported OSs: MacOs, Linux.

Other deprecated or unused backends which are available within PortAudio are SoundManager(MacOs), OSS(Linux), AL, BeOS, AudioScienceHPI(Linux).

Configuration Syntax

This is the configuration syntax, expressed in json language:

{
"sampleformat": "",
"interleaved": "",
"hostapi" : ""
}

Configuration Example

This configuration is an example of usage of PortAudio, with Jack audio interface as backend.

{
"sampleformat": "float32Bit",
"interleaved": "false",
"hostapi" : "JACK"
}