Setting large amounts of SoundData at a time

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
DTmg
Prole
Posts: 16
Joined: Tue Apr 18, 2023 12:47 pm

Re: Setting large amounts of SoundData at a time

Post by DTmg »

I know how to set each sample individually with a loop, I'm dealing with pre-generated samples from a SF2 file so I was hoping there would be a more efficient way to set it when loading hundreds of samples like that. I managed to solve this by just casting the pointer to a number and back from RNavega's solution.
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 11 guests