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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)