mirror of
https://github.com/vsariola/sointu.git
synced 2025-05-28 03:10:24 -04:00
Throughout sointu, we assume stereo audiobuffers, but were passing around []float32. This had several issues, including len(buf)/2 and numSamples*2 type of length conversion in many places. Also, it caused one bug in a test case, causing it to succeed when it should have not (the test had +-1 when it should have had +-2). This refactoring makes it impossible to have odd length buffer issues. |
||
---|---|---|
.. | ||
bridge | ||
templates | ||
compiler_macros.go | ||
compiler.go | ||
featureset_macros.go | ||
song_macros.go | ||
wasm_macros.go | ||
x86_macros.go |