michaeltyson / TPCircularBuffer

A simple, fast circular buffer implementation
http://atastypixel.com/blog/a-simple-fast-circular-buffer-implementation-for-audio-processing/
839 stars 141 forks source link

Compiler Error: TPCircularBuffer.h:159:9: No matching function for call to 'atomic_fetch_add' #20

Closed BigSauce closed 6 years ago

BigSauce commented 6 years ago

I just integrated TPCircularBuffer into my Swift project via pod 'TPCircularBuffer', '~> 1.5', and I'm getting the following compiler error at line 159 of TPCircularBuffer.h.

image

I see the following StackOverflow answer, which is helpful, but I'm wondering if support for Swift projects could be implemented as part of this library.

Thanks!

michaeltyson commented 6 years ago

Just leaving this open for now - I don't have the time presently to look into it, but I can see it'd definitely be useful

michaeltyson commented 6 years ago

Should be solved now (dup of #25)