{"version":3,"sources":["src/sdk/Audio/PullAudioInputStreamCallback.ts"],"names":[],"mappings":"AAEC;;;;GAIG;AACJ,8BAAsB,4BAA4B;IAE9C;;;;;;;;OAQG;aACa,IAAI,CAAC,UAAU,EAAE,WAAW,GAAG,MAAM;IAErD;;;;;OAKG;aACa,KAAK,IAAI,IAAI;CAChC","file":"PullAudioInputStreamCallback.d.ts","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\n /**\n  * An abstract base class that defines callback methods (read() and close()) for\n  * custom audio input streams).\n  * @class PullAudioInputStreamCallback\n  */\nexport abstract class PullAudioInputStreamCallback {\n\n    /**\n     * Reads data from audio input stream into the data buffer. The maximal number of bytes\n     * to be read is determined by the size of dataBuffer.\n     * @member PullAudioInputStreamCallback.prototype.read\n     * @function\n     * @public\n     * @param {ArrayBuffer} dataBuffer - The byte array to store the read data.\n     * @returns {number} the number of bytes have been read.\n     */\n    public abstract read(dataBuffer: ArrayBuffer): number;\n\n    /**\n     * Closes the audio input stream.\n     * @member PullAudioInputStreamCallback.prototype.close\n     * @function\n     * @public\n     */\n    public abstract close(): void;\n}\n"]}