SpeexDSPSharp SpeexDSPSharp
SpeexDSPSharp SpeexDSPSharp
DocFX + Singulink = ♥

Search Results for

    Edit this page

    Interface ISpeexDSPEchoCanceler

    A Speexdsp echo cancellation interface.

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

    Methods

    | Edit this page View Source

    Ctl<T>(EchoCancellationCtl, ref T)

    Performs a ctl request.

    Declaration
    int Ctl<T>(EchoCancellationCtl request, ref T value) where T : unmanaged
    Parameters
    Type Name Description
    EchoCancellationCtl 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

    EchoCancel(byte[], byte[], byte[])

    Performs echo cancellation a frame, based on the audio sent to the speaker (no delay is added to playback in this form).

    Declaration
    void EchoCancel(byte[] rec, byte[] play, byte[] output)
    Parameters
    Type Name Description
    byte[] rec

    Signal from the microphone (near end + far end echo).

    byte[] play

    Signal played to the speaker (received from far end).

    byte[] output

    Returns near-end signal with echo removed.

    | Edit this page View Source

    EchoCancel(short[], short[], short[])

    Performs echo cancellation a frame, based on the audio sent to the speaker (no delay is added to playback in this form).

    Declaration
    void EchoCancel(short[] rec, short[] play, short[] output)
    Parameters
    Type Name Description
    short[] rec

    Signal from the microphone (near end + far end echo).

    short[] play

    Signal played to the speaker (received from far end).

    short[] output

    Returns near-end signal with echo removed.

    | Edit this page View Source

    EchoCancel(float[], float[], float[])

    Performs echo cancellation a frame, based on the audio sent to the speaker (no delay is added to playback in this form).

    Declaration
    void EchoCancel(float[] rec, float[] play, float[] output)
    Parameters
    Type Name Description
    float[] rec

    Signal from the microphone (near end + far end echo).

    float[] play

    Signal played to the speaker (received from far end).

    float[] output

    Returns near-end signal with echo removed.

    | Edit this page View Source

    EchoCapture(byte[], byte[])

    Perform echo cancellation using internal playback buffer, which is delayed by two frames to account for the delay introduced by most sound cards (but it could be off!).

    Declaration
    void EchoCapture(byte[] rec, byte[] output)
    Parameters
    Type Name Description
    byte[] rec

    Signal from the microphone (near end + far end echo).

    byte[] output

    Returns near-end signal with echo removed.

    | Edit this page View Source

    EchoCapture(short[], short[])

    Perform echo cancellation using internal playback buffer, which is delayed by two frames to account for the delay introduced by most sound cards (but it could be off!).

    Declaration
    void EchoCapture(short[] rec, short[] output)
    Parameters
    Type Name Description
    short[] rec

    Signal from the microphone (near end + far end echo).

    short[] output

    Returns near-end signal with echo removed.

    | Edit this page View Source

    EchoCapture(float[], float[])

    Perform echo cancellation using internal playback buffer, which is delayed by two frames to account for the delay introduced by most sound cards (but it could be off!).

    Declaration
    void EchoCapture(float[] rec, float[] output)
    Parameters
    Type Name Description
    float[] rec

    Signal from the microphone (near end + far end echo).

    float[] output

    Returns near-end signal with echo removed.

    | Edit this page View Source

    EchoPlayback(byte[])

    Let the echo canceler know that a frame was just queued to the sound card.

    Declaration
    void EchoPlayback(byte[] play)
    Parameters
    Type Name Description
    byte[] play

    Signal played to the speaker (received from far end).

    | Edit this page View Source

    EchoPlayback(short[])

    Let the echo canceler know that a frame was just queued to the sound card.

    Declaration
    void EchoPlayback(short[] play)
    Parameters
    Type Name Description
    short[] play

    Signal played to the speaker (received from far end).

    | Edit this page View Source

    EchoPlayback(float[])

    Let the echo canceler know that a frame was just queued to the sound card.

    Declaration
    void EchoPlayback(float[] play)
    Parameters
    Type Name Description
    float[] play

    Signal played to the speaker (received from far end).

    | Edit this page View Source

    Reset()

    Reset the echo canceler to its original state.

    Declaration
    void Reset()