Fixed issues with original verion, as directed in pull request.

corrected the typeo's,
 Used sampleFrame instead of float* making the code cleaner.
 Set up a socket to change the samplerate where required.
 Stopped using malloc ( yeah that was bad practice on my part ).
 Now using lmms_Math.h and the predefined versions of F_PI and F_2PI,
 I didn't know data from the knobs etc. was not updated over the course of a buffer, so have moved outside the processing loop,
 made appropriate functions inline,
 used sinf.
 Multiplication has replaced division where possible,
 zeroing of the buffer has been removed, as redundant.
This commit is contained in:
dave
2014-11-16 15:02:15 +00:00
parent 6d2b91054b
commit 4c82ba22a9
10 changed files with 115 additions and 104 deletions

View File

@@ -666,7 +666,7 @@ If you're interested in translating LMMS in another language or want to imp
<translation type="unfinished"></translation>
</message>
<message>
<source>Lfo Ammount</source>
<source>Lfo Amount</source>
<translation type="unfinished"></translation>
</message>
</context>
@@ -685,7 +685,7 @@ If you&apos;re interested in translating LMMS in another language or want to imp
<translation type="unfinished"></translation>
</message>
<message>
<source>Feedback Ammount:</source>
<source>Feedback Amount:</source>
<translation type="unfinished"></translation>
</message>
<message>