Skip to content

Commit c2971fc

Browse files
committed
Version 2.2.1
Fixed AdvancedAudioPlayer position display vs. time-stretching.
1 parent 8da1a7f commit c2971fc

File tree

52 files changed

+3
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+3
-3
lines changed

Superpowered/SuperpoweredBitcrusher.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ class Bitcrusher: public FX {
1616

1717
/// @brief Constructor. Enabled is false by default.
1818
/// @param samplerate The initial sample rate in Hz.
19-
Bitcrusher(unsigned int samplerate);
20-
~Bitcrusher();
19+
JSWASM Bitcrusher(unsigned int samplerate);
20+
JSWASM ~Bitcrusher();
2121

2222
/// @brief Processes the audio. Always call it in the audio processing callback, regardless if the effect is enabled or not for smooth, audio-artifact free operation.
2323
/// It's never blocking for real-time usage. You can change all properties on any thread, concurrently with process().
2424
/// @return If process() returns with true, the contents of output are replaced with the audio output. If process() returns with false, the contents of output are not changed.
2525
/// @param input Pointer to floating point numbers. 32-bit interleaved stereo input.
2626
/// @param output Pointer to floating point numbers. 32-bit interleaved stereo output. Can point to the same location with input (in-place processing).
2727
/// @param numberOfFrames Number of frames to process. Recommendations for best performance: multiply of 4.
28-
bool process(float *input, float *output, unsigned int numberOfFrames);
28+
JSWASM bool process(float *input, float *output, unsigned int numberOfFrames);
2929

3030
private:
3131
bitcrusherInternals *internals;

0 commit comments

Comments
 (0)