Нет войне
Нет войне

Reputation: 1139

Do implementations of the Web Audio API tend to make full use of available CPU cores?

A somewhat general question, and I am interested in answers pertaining to any and all browsers with Web Audio API support.

If I make use of a large number of AudioNodes in a web audio application, are implementations of the Web Audio API share processing across the available cores of a machine (e.g. by perhaps assigning part of the node 'graph' to each core)?

The only reference to Web Audio multi-core support I could find was at https://padenot.github.io/web-audio-perf/, which just says that multi-core support should be used for decodeAudioData.

Upvotes: 0

Views: 107

Answers (1)

cwilso
cwilso

Reputation: 13908

Most implementations will put the audio system on a separate core from most of the rest of the web platform (e.g. JavaScript execution and layout) but it won't split across multiple cores for separate nodes. (The API would have to expose that, since it would increase latency.)

Upvotes: 1

Related Questions