SpeexDSPSharp SpeexDSPSharp
SpeexDSPSharp SpeexDSPSharp
DocFX + Singulink = ♥

Search Results for

    Edit this page

    Interface ISpeexDSPJitterBuffer

    A Speexdsp echo jitter buffer interface.

    Inherited Members
    IDisposable.Dispose()
    Namespace: SpeexDSPSharp.Core.Interfaces
    Assembly: SpeexDSPSharp.Core.dll
    Syntax
    public interface ISpeexDSPJitterBuffer : IDisposable

    Methods

    | Edit this page View Source

    Ctl<T>(JitterBufferCtl, ref T)

    Performs a ctl request.

    Declaration
    int Ctl<T>(JitterBufferCtl request, ref T value) where T : unmanaged
    Parameters
    Type Name Description
    JitterBufferCtl request

    The request you want to specify.

    T value

    The input/output value.

    Returns
    Type Description
    int

    0 if no error, -1 if request is unknown.

    Type Parameters
    Name Description
    T

    The type you want to input/output.

    | Edit this page View Source

    Get(ref SpeexDSPJitterBufferPacket, int, ref int)

    Get one packet from the jitter buffer.

    Declaration
    JitterBufferState Get(ref SpeexDSPJitterBufferPacket packet, int desired_span, ref int start_offset)
    Parameters
    Type Name Description
    SpeexDSPJitterBufferPacket packet

    Returned packet.

    int desired_span

    Number of samples (or units) we wish to get from the buffer (no guarantee).

    int start_offset

    Timestamp for the returned packet.

    Returns
    Type Description
    JitterBufferState

    JitterBufferState

    | Edit this page View Source

    GetAnother(ref SpeexDSPJitterBufferPacket)

    Used right after jitter_buffer_get() to obtain another packet that would have the same timestamp. This is mainly useful for media where a single "frame" can be split into several packets.

    Declaration
    int GetAnother(ref SpeexDSPJitterBufferPacket packet)
    Parameters
    Type Name Description
    SpeexDSPJitterBufferPacket packet

    Returned packet.

    Returns
    Type Description
    int

    JitterBufferState

    | Edit this page View Source

    GetPointerTimestamp()

    Get pointer timestamp of jitter buffer.

    Declaration
    int GetPointerTimestamp()
    Returns
    Type Description
    int

    I have no clue what this returns.

    | Edit this page View Source

    Put(ref SpeexDSPJitterBufferPacket)

    Put one packet into the jitter buffer.

    Declaration
    void Put(ref SpeexDSPJitterBufferPacket packet)
    Parameters
    Type Name Description
    SpeexDSPJitterBufferPacket packet

    Incoming packet.

    | Edit this page View Source

    RemainingSpan(int)

    Telling the jitter buffer about the remaining data in the application buffer.

    Declaration
    void RemainingSpan(int remaining_span)
    Parameters
    Type Name Description
    int remaining_span

    Amount of data buffered by the application (timestamp units).

    | Edit this page View Source

    Reset()

    Reset the jitter buffer to its original state.

    Declaration
    void Reset()
    | Edit this page View Source

    Tick()

    Advance by one tick.

    Declaration
    void Tick()
    | Edit this page View Source

    UpdateDelay(ref SpeexDSPJitterBufferPacket, ref int)

    N.A.

    Declaration
    int UpdateDelay(ref SpeexDSPJitterBufferPacket packet, ref int start_offset)
    Parameters
    Type Name Description
    SpeexDSPJitterBufferPacket packet
    int start_offset
    Returns
    Type Description
    int