sensorium / Mozzi

sound synthesis library for Arduino
https://sensorium.github.io/Mozzi/
GNU Lesser General Public License v2.1
1.06k stars 185 forks source link

The randSeed() argument type is different in the header and source files. #191

Closed marksard closed 1 year ago

marksard commented 1 year ago

Hello, I am trying to use randSeed() and I am getting a link error.

When I tried to use randSeed() I was getting a link error. The reason is that the type of randSeed is different in mozzi_rand.h and mozzi_rand.cpp. xorshiftSeed was also the same.

mozzi_rand.h

mozzi_rand.cpp

I am grateful for your projects. Thanks in advance.

sensorium commented 1 year ago

Thanks for that. Changed them to unsigned long. Does it work now?

marksard commented 1 year ago

Thanks! I was able to build it. And it works now.