We want the original audio bits per sample also.
This commit is contained in:
@@ -83,6 +83,7 @@
|
|||||||
(hash-ref mh 'sample-rate)))))
|
(hash-ref mh 'sample-rate)))))
|
||||||
(hash-set! mh 'duration duration))
|
(hash-set! mh 'duration duration))
|
||||||
(set-flac-handle-stream-info! handle si)
|
(set-flac-handle-stream-info! handle si)
|
||||||
|
(hash-set! mh 'audio-bits-per-sample (hash-ref mh 'bits-per-sample))
|
||||||
(hash-set! mh 'bits-per-sample 32) ; Flac works internally 32 bits.
|
(hash-set! mh 'bits-per-sample 32) ; Flac works internally 32 bits.
|
||||||
(let ((cb (flac-handle-cb-stream-info handle)))
|
(let ((cb (flac-handle-cb-stream-info handle)))
|
||||||
(when (procedure? cb)
|
(when (procedure? cb)
|
||||||
|
|||||||
Reference in New Issue
Block a user