Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mohamedkhallouq
GitHub Repository: mohamedkhallouq/content
Path: blob/main/files/en-us/web/api/audiodecoder/decodequeuesize/index.md
6517 views
---
title: AudioDecoder.decodeQueueSize slug: Web/API/AudioDecoder/decodeQueueSize page-type: web-api-instance-property status: - experimental browser-compat: api.AudioDecoder.decodeQueueSize
---

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}

The decodeQueueSize read-only property of the {{domxref("AudioDecoder")}} interface returns the number of pending decode requests in the queue.

Value

An integer containing the number of requests.

Examples

The following example prints the size of the queue to the console.

console.log(AudioDecoder.decodeQueueSize);

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}