{"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.\r\n// Licensed under the MIT license.\r\n /**\r\n  * An abstract base class that defines callback methods (read() and close()) for\r\n  * custom audio input streams).\r\n  * @class PullAudioInputStreamCallback\r\n  */\r\nexport abstract class PullAudioInputStreamCallback {\r\n\r\n    /**\r\n     * Reads data from audio input stream into the data buffer. The maximal number of bytes\r\n     * to be read is determined by the size of dataBuffer.\r\n     * @member PullAudioInputStreamCallback.prototype.read\r\n     * @function\r\n     * @public\r\n     * @param {ArrayBuffer} dataBuffer - The byte array to store the read data.\r\n     * @returns {number} the number of bytes have been read.\r\n     */\r\n    public abstract read(dataBuffer: ArrayBuffer): number;\r\n\r\n    /**\r\n     * Closes the audio input stream.\r\n     * @member PullAudioInputStreamCallback.prototype.close\r\n     * @function\r\n     * @public\r\n     */\r\n    public abstract close(): void;\r\n}\r\n"]}