24 lines
380 B
Racket
24 lines
380 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
|
|
|
|
(with-sc3
|
|
(lambda (fd)
|
|
(async fd (/b_alloc 10 6 1))
|
|
(async fd (/b_query 10))))
|
|
|