http://gitshn5x75sgs53q3pxwjva2z65ns5vadx3h7u3hrdssbxsova66cxid.onion/S.O.N.G/Kirika/commit/00585aac138a82590dc0930a8e376c682bfaf01c
Panic ( err ) } if len ( b ) > 0 { newChannel < - b } } ( ) return NewStream ( newChannel , channels , sampleRate , s . blockSize ) , nil } 121 cgo/audio.h Normal file Unescape Escape View file @ -0,0 +1,121 @@ # include < stdint.h > # include < string.h > # include < math.h > # define BITS_TO_DIV(b) (float)((1 < < (b - 1)) - 1) __attribute__ ( ( weak ) ) void audio_multiple_channels_to_mono ( float * buffer , size_t buffer_len , int channels ) { float f ; switch ( channels ) { case 1 : break ; case 2 :...