AudioControl

    Audio

    Description:

    Provides control-related APIs for audio rendering or capturing, including functions to start, stop, pause, and resume audio rendering or capturing, and flush data in the audio buffer.

    Since:

    1.0

    Version:

    1.0

    Summary

    Data Fields

    Field Documentation

    Flush

    Description:

    Flushes data in the audio buffer.

    Parameters:

    Name

    Description

    handle Indicates the audio handle.

    Returns:

    Returns 0 if the flush is successful; returns a negative value otherwise.

    Description:

    Pauses audio rendering or capturing.

    Parameters:

    Returns:

    Returns 0 if the rendering or capturing is successfully paused; returns a negative value otherwise.

    See also:

    Resume

    Resume

    Description:

    Resumes audio rendering or capturing.

    Parameters:

    Description

    handle Indicates the audio handle.

    Returns:

    Returns 0 if the rendering or capturing is successfully resumed; returns a negative value otherwise.

    See also:

    Start

    Description:

    Starts audio rendering or capturing.

    Parameters:

    Returns:

    Returns 0 if the rendering or capturing is successfully started; returns a negative value otherwise.

    See also:

    Stop

    Description:

    Stops audio rendering or capturing.

    Parameters:

    Name

    Description

    handle Indicates the audio handle.

    Returns:

    Returns 0 if the rendering or capturing is successfully stopped; returns a negative value otherwise.

    Start