mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 18:07:31 +09:00
[webaudio] Fix up ReverbInputBuffer's writeIndex.
This commit is contained in:
parent
2cb1162b7f
commit
1835a24351
2 changed files with 13 additions and 11 deletions
|
|
@ -30,6 +30,7 @@
|
|||
#define ReverbInputBuffer_h
|
||||
|
||||
#include "nsTArray.h"
|
||||
#include "mozilla/Atomics.h"
|
||||
#include "mozilla/MemoryReporting.h"
|
||||
|
||||
namespace WebCore {
|
||||
|
|
@ -63,7 +64,7 @@ public:
|
|||
|
||||
private:
|
||||
nsTArray<float> m_buffer;
|
||||
size_t m_writeIndex;
|
||||
mozilla::Atomic<size_t, mozilla::ReleaseAcquire> m_writeIndex;
|
||||
};
|
||||
|
||||
} // namespace WebCore
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue