Bug #1497
Synchronous loop zero padding permanent
Status: | Resolved | Start date: | 2015-12-16 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | - | |||
Target version: | - |
Description
Currently the zero-padding feature for synchronous loops destroys the buffer in the pool and replaces it with the newly padded buffer. This is because JavaScript does not copy objects but references them.
History
#1
Updated by Nicholas Jillings over 9 years ago
- Status changed from New to Resolved
Resolved in dev_main revision. If the source is to be looped, the audioObject will copy the buffer rather than reference it. When the audioEngine performs the zero-padding it will use the copied buffer rather than the referenced buffer, leaving it preserved for other test pages use.