Show / Hide Table of Contents

    Struct UnmixedAudioBuffer

    Represents an unmanaged audio buffer containing unmixed data corresponding to a specific speaker in a conference. This structure contains a pointer to the unmanaged audio buffer, the length of the buffer and the ID of the audio source of the active speaker.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Microsoft.Skype.Bots.Media
    Assembly: Microsoft.Skype.Bots.Media.dll
    Syntax
    public struct UnmixedAudioBuffer

    Properties

    ActiveSpeakerId

    The ID of the audio source of the active speaker.

    Declaration
    public uint ActiveSpeakerId { get; }
    Property Value
    Type Description
    UInt32

    Data

    Pointer to the unmanaged media buffer.

    Declaration
    public IntPtr Data { get; }
    Property Value
    Type Description
    IntPtr

    Length

    The length in bytes of the media buffer.

    Declaration
    public long Length { get; }
    Property Value
    Type Description
    Int64

    OriginalSenderTimestamp

    Original timestamp of the unmixed audio buffer as it was sourced, in 100-ns units. This property may differ from AudioMediaBuffer.Timestamp, which represents the timestamp of when the media content was received by the bot.

    Declaration
    public long OriginalSenderTimestamp { get; }
    Property Value
    Type Description
    Int64
    Remarks

    The OriginalSenderTimestamp can have a value of 0 under various circumstances, eg. in the first 4-5 seconds of the call, or during various media events (media reconnects, sample rate changes, etc).

    In This Article
    • Properties
      • ActiveSpeakerId
      • Data
      • Length
      • OriginalSenderTimestamp
    Back to top Copyright (c) Microsoft Corporation. All rights reserved.