xiph opusfile support and taglib write support.
This commit is contained in:
+13
-1
@@ -33,6 +33,8 @@
|
||||
audio-ao-buf-ms!
|
||||
audio-ao-buf-ms
|
||||
audio-known-exts?
|
||||
audio-param!
|
||||
audio-param
|
||||
)
|
||||
|
||||
(define-runtime-path placed-player-module "audio-placed-player.rkt")
|
||||
@@ -52,6 +54,9 @@
|
||||
(define (percentage? p)
|
||||
(and (number? p) (>= p 0)))
|
||||
|
||||
(define (any? x)
|
||||
#t)
|
||||
|
||||
(define (max-percentage? n)
|
||||
(λ (p) (and (percentage? p)
|
||||
(<= p n))))
|
||||
@@ -280,7 +285,14 @@
|
||||
(define/contract (audio-ao-buf-ms handle)
|
||||
(-> audio-play? (or/c integer? boolean?))
|
||||
((audio-play-rpc handle) 'ao-buf-ms))
|
||||
|
||||
|
||||
(define/contract (audio-param! handle param value)
|
||||
(-> audio-play? symbol? any? any?)
|
||||
((audio-play-rpc handle) 'param! param value))
|
||||
|
||||
(define/contract (audio-param handle param)
|
||||
(-> audio-play? symbol? any?)
|
||||
((audio-play-rpc handle) 'param param))
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user