rsc3/doc/help/server-command/b-query.help.scrbl
2022-08-28 12:27:01 +02:00

29 lines
399 B
Racket

#lang scribble/manual
@(require (for-label racket))
@title{/b_query}
[
int - buffer number
] * N
Responds to the sender with a /b_info message. The arguments to
/b_info are as follows:
[
int - buffer number
int - number of frames
int - number of channels
float - sample rate
] * N
@racketblock[
(with-sc3
(lambda (fd)
(async fd (/b_alloc 10 6 1))
(async fd (/b_query 10))))
]