This commit is contained in:
2026-08-09 19:55:28 +02:00
parent 8e6bf4e0f7
commit 1d9899c0d2
8 changed files with 29 additions and 20 deletions
+5 -5
View File
@@ -71,10 +71,10 @@ Example:
This binding is also re-exported by
@racketmodname[racket-audio/audio-decoder] and by
@racketmodname[racket-audio/main].
@racketmodname[racket-audio].
}
@section{Validation}
@section[#:tag "opusfile-decoder-validation"]{Validation}
@defproc[(opusfile-valid? [audio-file any/c]) boolean?]{
@@ -86,7 +86,7 @@ when the file is opened by @racket[opusfile-open]. The generic decoder
layer also performs extension and existence checks before opening a file.
}
@section{Opening}
@section[#:tag "opusfile-decoder-opening"]{Opening}
@defproc[(opusfile-open [audio-file (or/c path? string?)]
[cb-stream-info procedure?]
@@ -125,7 +125,7 @@ where @racket[info] is a mutable hash containing at least:
or the value reported by @tt{libopusfile}.}]
}
@section{Reading}
@section[#:tag "opusfile-decoder-reading"]{Reading}
@defproc[(opusfile-read [handle struct?]) any/c]{
@@ -176,7 +176,7 @@ a target decoded sample and stores it as a pending seek request. The
actual native seek is performed later by @racket[opusfile-read].
}
@section{Stopping}
@section[#:tag "opusfile-decoder-stopping"]{Stopping}
@defproc[(opusfile-stop [handle struct?]) void?]{