vban - v1.4.1
    Preparing search index...

    Class VBANAudioPacket

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    bitResolution: EBitsResolutions

    Data type used to store audio sample in the packet Use it to select the correct bitResolution VBANAudioPacket.bitResolutions, or directly use VBANAudioPacket.bitResolutionObject

    bitResolutionObject: IBitResolution

    the bit resolution selected by the id in VBANAudioPacket.bitResolution

    codec: ECodecs

    Audio codec used

    data: Buffer

    current audio

    frameCounter: number

    frameCounter allow checking if you receive frame in order, and without losing them

    nbChannel: number

    Number of channel is given by an 8 bits unsigned integer (0 – 255) where 0 means 1 channel and 255 means 256 channels.

    nbSample: number

    Number of sample is given by an 8 bits unsigned integer (0 – 255) where 0 means 1 sample and 255 means 256 samples

    sr: number

    Sample Rate for this stream

    streamName: string

    the name of the current stream . Voicemeeter rely on it to allow a packet or not

    subProtocol: ESubProtocol = VBANAudioPacket.subProtocol

    the subProtocol of this packet ESubProtocol

    bitResolutions: Record<number, IBitResolution> = ...
    frameCounters: Map<string, number> = ...
    subProtocol: ESubProtocol = ESubProtocol.AUDIO

    Methods