Encoder testing
This commit is contained in:
+1
-1
@@ -703,7 +703,7 @@
|
||||
(define (bool->flac-bool v) (if v 1 0))
|
||||
|
||||
(define (native-signed-ref bs start bytes)
|
||||
(integer-bytes->integer bs #t (system-big-endian?) start (+ start bytes)))
|
||||
(int-bytes->integer bs #t (system-big-endian?) start (+ start bytes)))
|
||||
|
||||
(define (scale-sample sample in-bits out-bits)
|
||||
(cond [(> in-bits out-bits) (arithmetic-shift sample (- out-bits in-bits))]
|
||||
|
||||
Reference in New Issue
Block a user