Increasing the size of I2S buffer above 512bits


I am trying to increase the size of the I2S buffer so that I can read more bits than 512. Is it possible?

I've tried editing I2SDoubleBuffer.h to change the I2S_BUFFER_SIZE to 1024 but that had no effect.

We don't have a crystal ball to know what board you're using or what code you're trying to use.

Why do you need such a large buffer?


I am using MKR1000, I am not sure it matters since the library seems to be the same for all I2S enabled boards.

Because I need to upload the data to a server.