NAME
libroar - RoarAudio sound library
roarvs - RoarAudio very simple API
SYNOPSIS
#include <roaraudio.h>
roar_vs_t * vss;
DESCRIPTION
The VS (for Very Simple) API is a high level abstraction layer used to allow use of RoarAudio from very simple programs. The API was designed to help people to easly upgrade existing artsc and pulse-simple code to RoarAudio. While the API is equivalently simple it is much more powerful than one one by aRtsc or PulseAudio.
The VS API also has a mode to play back (and record) files easly. As this uses VIO/DSTR it can handle streams as well.
TUTORIALS
Tutorials can be found in roartut(7).
IMPORTANT FUNCTIONS
There are several important functions. This is a small list of the most important ones.
- Error handling
- Closing
- Reading and writing
- Non-Blocking and Asyncron IO
-
roar_vs_blocking(3), roar_vio_select(3)
- Volume and Flags
-
roar_vs_pause(3), roar_vs_mute(3), roar_vs_volume_mono(3), roar_vs_volume_stereo(3), roar_vs_volume_get(3)
- Meta data
- Buffered mode
BUGS
A lot...