Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

roarvio(7) [debian man page]

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

NAME
libroar - RoarAudio sound library roarvio - RoarAudio virtual IO layer SYNOPSIS
#include <roaraudio.h> struct roar_vio_calls; DESCRIPTION
The RoarAudio VIO interface is RoarAudio's IO abstraction layer. It provides basic IO functions such as read and write independing on the underlaying IO. For Example can you open a plain or a gziped file via the VIO layer. After a successful open both objects behave the same, libroar takes care about the compression in the gzip case. TUTORIALS
Tutorials can be found in roartutvio(7). IMPORTANT FUNCTIONS
There are several important functions. This is a small list of the most important ones. Opening roar_vio_open_file(3), roar_vio_open_fh(3), roar_vio_open_stdio(3), roar_vio_open_dstr(3), roar_vio_open_proto(3). While there are a lot functions important for opening files the most important one is roar_vio_open_dstr(3). It opens a stream based on URLs that can point to local files or files on remote machines. It also can handle compression and encryption. Closing roar_vio_close(3), roar_vio_shutdown(3) Reading and writing roar_vio_read(3), roar_vio_write(3) Seeking and positioning roar_vio_lseek(3) Non-Blocking and Asyncron IO roar_vio_nonblock(3), roar_vio_sync(3), roar_vio_select(3) Networking and Sockets roar_vio_accept(3) String handling roar_vio_printf(3) BUGS
A lot... SEE ALSO
roar-config(1), roartypes(1), roartutvio(7), RoarAudio(7). RoarAudio May 2011 roarvio(7)

Check Out this Related Man Page

roar_simple_stream(3)					System Manager's Manual: RoarAudio				     roar_simple_stream(3)

NAME
roar_simple_stream - Opens a stream to RoarAudio's sound server SYNOPSIS
#include <roaraudio.h> int roar_simple_stream(int rate, int channels, int bits, int codec, char * server, int dir, char * name); DESCRIPTION
This creates a new stream to RoarAudio. Normally you want to use one of roar_simple_play(3), roar_simple_monitor(3), roar_simple_record(3) or roar_simple_filter(3). his functions are marked obsolete and will be removed very soon. Please upgrade to VS API. See roar_vs_new_simple(3). PARAMETERS
rate, channels, bits, codec, server, name For an explanation on these parameters see roar_simple_play(3). dir The direction of the new stream. See below for a list of valid directions. STREAM DIRECTIONS
ROAR_DIR_PLAY This stream directions meens that a player streams data to the server in order to play it back. ROAR_DIR_RECORD This direction is to record audio from the soundcard. This is used if for example you want to get data from your microphon or line in. ROAR_DIR_MONITOR This direction is used to get a copy of what the server sends to the soundcard. This can for example be used to stream the fully mixed data to Icecast (see icecast2(1)). ROAR_DIR_FILTER This is used to crate a filter stream: A filter stream is a stream used to filter the output of the sound server by some tool. This can for example be used for an software equalizer. The filter stream is the only bi-directional stream. You have to read some data and write back data of exactly the same size. ROAR_DIR_OUTPUT This is the type of the stream the server sends to the soundcard. You can not create such a stream. It's only listend for complete- ness. RETURN VALUE
On success these calls return a filehandle. On error, -1 is returned. EXAMPLES
FIXME SEE ALSO
roar_vs_new_simple(3), roar_simple_play(3), roar_simple_close(3), libroar(7), RoarAudio(7). RoarAudio May 2011 roar_simple_stream(3)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

VI opens slow

when ever I try to vi a file that resides on another machines it takes forever for it to open. Does anyone have any ideas why it would be doing this? I have 7 unix machines and the only two that do this are both running tru64. (6 Replies)
Discussion started by: Moca4444
6 Replies

2. Shell Programming and Scripting

Reading value from one file & using it for 2nd file

In File A I have 1st col as numbers. Using these numbers, I need to find out the rows at this numbered index in other file. I know loose commands. To get the 1st col from file A : awk '{print $1}' fileA To get the row at the index, say 100 - from file B : sed '100p' fileB After... (7 Replies)
Discussion started by: videsh77
7 Replies

3. Shell Programming and Scripting

To extract the string between two patterns

Sample input: Loading File System Networking in nature Closing the System now i need to extract the patterns between the words File and Closing: i.e. sample output: System Networking in Nature Thanks in advance !!!!!!!!!!!!!!!!! (6 Replies)
Discussion started by: aajan
6 Replies

4. AIX

Backup of VIO

I have a script running remotely using viosvrcmd command on hmc to back up the VIO servers. these are the steps involved 1. Mount the NFS directory on to the VIO server 2. run backupios command 3. un mount the directory I am stuck up in the 3rd step. I am not able to unmount the nfs... (6 Replies)
Discussion started by: balaji_prk
6 Replies

5. 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

6. AIX

Virtual Ethernet VIO HMC LPARs

Hi, I am little confused about the virtual Ethernet configuration on VIO and Client Partitions. There is alot of info on the internet but it gets more confusing.... If I have LHEA, it is very simple. Just assign LHEA (logical host ethernet adapter) to client partition -> run smitty tcpip and... (10 Replies)
Discussion started by: filosophizer
10 Replies

7. AIX

Set up a Datacenter with Power System

Can u please help me in knowing the details of the servers needed, FIBRE CABLES, HA softwares, VIO Softwares and other details. I googled through out and couldnt get a clear idea of it. Please help me (6 Replies)
Discussion started by: Sounddappan
6 Replies

8. AIX

"rmt0" is not a valid backing device - VIO

hello to all, i am trying to assing a tape drive to a virtual partition through VIO but i get the message "rmt0" is not a valid backing device. the oslevel of my VIO is AIX 6.1.3.0. when i run the command lsdev |grep rmt i get the following result: rmt0 Available 08-08-00-0,0 ... (6 Replies)
Discussion started by: omonoiatis9
6 Replies

9. AIX

Vio Build

I am planning carving out dual VIO servers on a P750 based and would like to know how to allocate internal disks to the VIOS. This has 4 internal disks and I would to assign 2 disks to each VIO. This is what I was thinking of assigning . Any advise? vio1 U5802.001.9K8H757-P1-C1 PCI-E x8... (17 Replies)
Discussion started by: mk8570
17 Replies

10. AIX

Interesting Problem! 2 VIOs, One is problematic, assigning disks and resources from the other only

Hi, The scenario is like this: 1.We needed to assign two hdisks to an LPAR 2.SAN team gives us two ldevs 3.One of our VIO is hanging on cfgmgr operation 4. We ran cfgmgr on the smooth VIO. Got the disks and assigned the disks from there to the LPAR.(By passed the other VIO as in didnt run... (11 Replies)
Discussion started by: aixromeo
11 Replies

11. AIX

HACMP with VIO, service IP failover

Would anyone please kindly help to solve this problem... An LPAR with the below network configuration. ent0 and ent1 are logical lan (virtual ethernet) from VIO SEA. en0 1.2.3.4 <- boot ip 192.168.1.1 <- persistent ip 192.168.1.10 <- service ip en1 11.22.33.44 <- boot ip When I... (6 Replies)
Discussion started by: skeyeung
6 Replies

12. AIX

VIO server does not show new LPAR

Hi All, I've been trying to create a new LPAR for some days now but I can't get the VIO server to recognize the new LPAR. This is what I did: On HMC create new LPAR On HMC create new virtual scsi adapter for LPAR in VIO profile On HMC add new virtual scsi adapter for LPAR with DLPAR... (6 Replies)
Discussion started by: petervg
6 Replies

13. AIX

VIOS FC Mapping/NPIV questions

Please forgive me here as I don't fully understand what I am talking about here so if I use the wrong terminology please overlook me. We have multiple AIX LPARs on the managed system with two VIO Servers. A Co-Worker and I are trying to set up a new LPAR client (The guy that knows this is out)... (14 Replies)
Discussion started by: juredd1
14 Replies

14. AIX

VIO SEA Adapters

hi guys BTW pretty new to VIO I inherited 2 I BM Power Server - blades PS701 - One is already configured using en8 # lsdev -Cc adapter | grep ent ent0 Available Logical Host Ethernet Port (lp-hea) ent1 Available Logical Host Ethernet Port (lp-hea) ent2 Available 04-20... (8 Replies)
Discussion started by: karlochacon
8 Replies

15. What is on Your Mind?

One liners, quick rant...

Hi fellas and fella-esses... There are numerous threads on here where people ask for, and often expect, solutions to difficult problems solved using _one_liners_. Why do they insist as such when it is virtually no different in execution time with well thought out indented code? Is it me... (12 Replies)
Discussion started by: wisecracker
12 Replies