roarvs7
Roaraudio sound library roarvs - roaraudio very simple api
Usage
#include <roaraudio.h>
roar_vs_t * vss;
Overview
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
Releases
Unchanged in 5 releases since Debian 7 (Wheezy).