rsc3/doc/help/server-command/b-query.help.scrbl

30 lines
399 B
Text
Raw Normal View History

2022-08-24 13:53:18 +00:00
#lang scribble/manual
@(require (for-label racket))
@title{/b_query}
2022-08-28 10:27:01 +00:00
2022-08-24 13:53:18 +00:00
[
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
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(with-sc3
(lambda (fd)
(async fd (/b_alloc 10 6 1))
(async fd (/b_query 10))))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00