Interface StreamParameters

The structure for specifying stream parameters.

interface StreamParameters {
    deviceId: number;
    nChannels: number;
    firstChannel?: number;
}

Properties

deviceId: number

Device id. Can be obtained using defaultInputDevice/defaultOutputDevice or using devices.

nChannels: number

Number of channels.

firstChannel?: number

First channel index on device (default = 0).

Generated using TypeDoc