Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

roarvs(7) [debian man page]

roarvs(7)						System Manager's Manual: RoarAuido						 roarvs(7)

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 roar_vs_strerr(3) Opening roar_vs_new(3), roar_vs_new_simple(3), roar_vs_new_playback(3), roar_vs_new_from_file(3) Closing roar_vs_close(3) Reading and writing roar_vs_read(3), roar_vs_write(3) 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 roar_vs_meta(3), roar_vs_role(3) File mode roar_vs_file(3), roar_vs_file_simple(3), roar_vs_iterate(3), roar_vs_run(3) Buffered mode roar_vs_buffer(3), roar_vs_iterate(3), roar_vs_run(3) BUGS
A lot... SEE ALSO
roar-config(1), roartypes(1), roartut(7), RoarAudio(7). RoarAudio June 2011 roarvs(7)

Check Out this Related Man Page

roar_vs_volume_get(3)					   RoarAudio Programmer's Manual				     roar_vs_volume_get(3)

NAME
roar_vs_volume_get, roar_vs_volume_mono, roar_vs_volume_stereo - Get or set volume for audio stream SYNOPSIS
#include <roaraudio.h> int roar_vs_volume_get (roar_vs_t * vss, float * l, float * r, int * error); int roar_vs_volume_mono (roar_vs_t * vss, float c, int * error); int roar_vs_volume_stereo (roar_vs_t * vss, float l, float r, int * error); DESCRIPTION
Those functions are used to get or set volume for the given stream. roar_vs_volume_get() gets the volume for the given stream in stereo form as a left and a right component (L/R). If you need the mono volume just devide the sum of both by two. See examples below. roar_vs_volume_mono() sets the mono volume for the stream. Balance information is not kept. roar_vs_volume_stereo() sets the stereo volume for the stream as left and rigth component (L/R). PARAMETERS
vss The VS object for wich volume is get or set. l, r, c The volume for left, right or center (mono) channel. Value is a float in range zero to one. Zero means this channel is fully muted. One means the channel is passed without altering the amplitude. Small numerical errors are detected and corrected. Bigger errors will result in a out of range error. Note that to mute the stream you MUST NOT use volume setting but roar_vs_mute(3). error This is a pointer to a integer used to store the error value in case of error. This can be NULL if not used but it is very recom- mended to use this error value to report good error messages to the user. RETURN VALUE
On success these calls return 0. On error, -1 is returned. EXAMPLES
Getting mono volume: float l, r, c; int err; if ( roar_vs_volume_get(vss, &l, &r, &err) == -1 ) { /* handle error */ } c = (l + r)/2.; SEE ALSO
roarvs(7), libroar(7), RoarAudio(7). RoarAudio May 2011 roar_vs_volume_get(3)
Man Page

10 More Discussions You Might Find Interesting

1. AIX

VIO IVM Generating System Plan SPT.

Hello, I have a question. In the HMC if you have VIO server and LPARS already configured, the system planning tool will generate the report for you simply by clicking Create a New System --> Select the Managed Server and it will do it. 1) - How could I do the same if I don't have the... (1 Reply)
Discussion started by: filosophizer
1 Replies

2. AIX

VIO oem_setup_env user

Is there a way to have the VIO name displayed as the command prompt on a VIO server when you switch to the oem_set_env user? We have several VIO servers on several frames and want to be sure we are entering/changing info on the correct VIO. (4 Replies)
Discussion started by: daveisme
4 Replies

3. AIX

POWER6 VIO Failover

Hello, Can someone point to me document or the method to make failover for VIO Servers ? I have one VIO_Server1 which has 4 AIX LPARS - From the VIO_SERVER1 I have assigned virtual SCSI DISK to the four LPARS - For Ethernet I have used LHEA So, if my VIO Server1 crashes all the LPARS... (17 Replies)
Discussion started by: filosophizer
17 Replies

4. AIX

JS23 VIO setup.

I hope there is someone out there that understands VIO settings on a JS23. The problem I have is the VIO server already exists but I need to increase the number of VSCSI adapters (VHOST). If this was a normal LAPR on a p series using an HMC I would simply create a virtual SCSI adapter and... (3 Replies)
Discussion started by: johnf
3 Replies

5. AIX

VIO restore from NIM dosen't work

Hello guys I have been trying to restore a VIO server from NIM using the nim_resource.tar file created from the same VIO lpar. The restoration goes fine and after 99% I get the following error 0516-304 putlvodm: Unable to find device id 000b5f62263b70a50000000000000000 in the Device... (1 Reply)
Discussion started by: balaji_prk
1 Replies

6. AIX

VIO Redundancy

Hi Guys, I'm working on building a new 595 machine.. I'm try to achieve high availability for the VIO clients using 2 VIO servers, The ethernet part is satisfied using SEA failover, Now how do I achieve redundancy for the disks, its the servers internal disk attached to the scsi cards... ... (2 Replies)
Discussion started by: kkeng808
2 Replies

7. AIX

VIO server on p520

trying to put VIO server software into this p520, firmware upgraded to the latest and greatest..SF240_415_318 , I think a few questions, on this practice AIX machine on AIX 7.1 VIO can only be installed if ASMI or HMC is running ??? if so, perhaps ASMI is much simpler, since I will need to... (2 Replies)
Discussion started by: ppchu99
2 Replies

8. AIX

PowerHA Disk on VIO Server

Hello AIX GURU's Can anybody tell me the steps to crate shared VG (enhanced concurent) for my Lpars from VIO server? my questions are: 1. Should I crate Enhanced Concurent VG in VIO and map it using virtual Scsi to Lpar? or 2. Can I just create virtual SCSI in VIO and map to Lpar and... (1 Reply)
Discussion started by: Vit0_Corleone
1 Replies

9. AIX

Backupios Failing

Hi Team, Please help me to resolve the below backup (backupios) issue on my VIO. My VIO is a SAN booted from EMC and powerpath has been installed on this. We already run pprootdev fix and linked the /dev/ipldevice to rootvg hdisk. ... (2 Replies)
Discussion started by: Nazar_KA
2 Replies

10. AIX

VIO Book needed

hi all i need any good book or video tutorials for understanding and administrating VIO thanks in advance (1 Reply)
Discussion started by: mbadry13
1 Replies