Sakuraqwq1/moonflac-encoder/src/encode does not have a README file
pub suberror EncodeError {
Empty
BadChannels(Int)
BadBits(Int)
BadSampleRate(Int)
NotWholeFrames(Int, Int)
}fn encode(samples : Array[Int64], sample_rate : Int, channels : Int, bits_per_sample : Int) -> Bytes raise EncodeErrorInstall
Download zipPure MoonBit FLAC encoder: turn interleaved PCM into a native .flac stream with fixed and LPC prediction, Rice partitioned residuals and stereo decorrelation.