cli player agent added
This commit is contained in:
@@ -70,3 +70,14 @@ plays them with @tt{racket-audio}. Its configured display name is authoritative
|
||||
and is followed by the server. Importing the module does not start the GUI; the
|
||||
function must be called explicitly.
|
||||
}
|
||||
|
||||
@defproc[(run-player-agent-cli [#:server-url server-url
|
||||
(or/c string? #f) #f]
|
||||
[#:name name (or/c string? #f) #f]
|
||||
[#:config-file config-file
|
||||
(or/c path-string? #f) #f]) void?] {
|
||||
|
||||
Starts a headless playback agent using the same audio and gapless-prefetch
|
||||
runtime as the GUI. Missing keyword values are read from the normal agent INI
|
||||
file. The procedure runs until interrupted.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user