libroar(7)
π libroar β the RoarAudio sound library, bestie edition π
okay so real talk: we're talking about libroar, aka the whole entire heart of RoarAudio β¨. It lives in the System Manager's Manual: RoarAudio section of your man pages, and it's the library you call when you wanna talk to a RoarAudio server. Pull up a chair, grab a boba π§, and let's get into it.
πΈ NAME πΈ
libroar β the RoarAudio sound library π
β¨ SYNOPSIS β¨
#include <roaraudio.h>
likeβ¦ that's it. that's the whole doorway. one include and you're in π
π¦ DESCRIPTION π¦
so libroar is the central library you use to comunicate with RoarAudio servers. she's the main character fr fr π
she supports all the commands, from the super simple ones like "play some audio" all the way up to the complex ones that control the server and do nice things over the network π.
and bestie, she does not stop there β she also ships several useful functions, from buffer management to IO abstraction. it's giving "does everything, effortlessly" ππ
π EXAMPLES π
the basic tools that ship with RoarAudio are literally designed to also work as examples for the lib. so you can just go read code instead of guessing, iconic behavior tbh π«Ά
- wanna see how to simply play back some audio? go look at the source code of
roarcat(1). starter pack energy β¨ - want something more complex?
roarvorbis(1)is the one β she even includes meta data updates π₯
you should also have a look at the VS API β check out roarvs(7) for an overview π
π§ TUTORIALS π§
tutorials can be found in roartut(7). go get educated, bestie ππ
π ENVIRONMENT VARIABLES π
these variables are used in libroar itself, so they're common to all clients using libroar. no cap.
HOMEβ the user's home directory πROAR_SERVERβ the address of the listening server π‘. this may be in the form ofhost:portfor TCP/IP connections, or/path/to/sockfor UNIX Domain Sockets. and if you give it a value of'+fork', aroardgets forked and used π΄. thisroardwill not listen on any sockets, so it is used exclusiv by this client. seeroard(1)for more information.ROAR_PROXYβ sets the type of proxy being used to connect to the server π°οΈ. valid values are'socks4','socks4a','socks4d','http'and'ssh'for the moment. you can add type depending options in the form'type/opts'.socks_proxyβ the SOCKS4/4a/4d/5 proxy to use, in the form[user@]host[:port]π§¦. the default port is9050.http_proxy,https_proxyβ the HTTP/HTTPS Proxy server π. this server needs to understand theCONNECTrequest type. give the server name in this format:[http://]host[:port][/]. the default port is8080.ssh_proxyβ the remote host to use as an SSH Proxy server π. give the server name in this format:[user@]host[:port]. the default port is22. note that you may need to use publickey based auth orssh-agent, because the application may start SSH in a non interactive environment and SSH can not ask you for a password π (rude of it, honestly).
π FILES π
/etc/roarserverβ this is a symlink to the server socket π. it means all types of server addresses are supported. example:
ln -s /tmp/roar /etc/roarserver
ln -s somehost /etc/roarserver
ln -s mynode:: /etc/roarserver
look at her go π
π BUGS π
A lot...
(no like. a lot. the original said it, not me π)
β SEE ALSO β
roar-config(1), roartypes(1), roarvs(7), roartut(7), roard(1), roartips(7), RoarAudio(7).
go read them all, bestie, that's the assignment πβ¨
π HISTORY π
see RoarAudio(7).
okay that's the whole page, slay π this was libroar(7) from the RoarAudio crew, dated June 2011 ποΈ. it's giving vintage but make it timeless. bye bestie, go make some noise π§π«Ά
π¦ where this page comes from
- ubuntu jammy: libroar-dev 1.0~beta12-4 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms