roar_stream_exec(3) System Manager's Manual: RoarAudio roar_stream_exec(3)NAME
roar_stream_exec - Set a stream as master stream of a client
SYNOPSIS
#include <roaraudio.h>
int roar_stream_exec(struct roar_connection * con, struct roar_stream * s);
DESCRIPTION
This sets a stream to be the master stream of a client. A master stream is a stream send via the client's controll channel. If a master
stream is closed the client and all it's streams are closed. Setting a master stream can not be undone nor can any controll commands be
send anymore. This is used mainly for opening a connection for just playback without need to change things later like roar_simple_play(3)
does it.
PARAMETERS
con The connection to the server.
s The stream to be set as master stream.
RETURN VALUE
On success these calls return 0. On error, -1 is returned.
EXAMPLES
FIXME
SEE ALSO roar_simple_play(3), libroar(7), RoarAudio(7).
RoarAudio May 2011 roar_stream_exec(3)
Check Out this Related Man Page
roar_stream_add_data(3) System Manager's Manual: RoarAudio roar_stream_add_data(3)NAME
roar_stream_add_data - Adds data to a stream's input buffer using the controll connection
SYNOPSIS
#include <roaraudio.h>
int roar_stream_add_data(struct roar_connection * con, struct roar_stream * s, char * data, size_t len);
DESCRIPTION
This adds data to the input buffer of a stream. It's like doing some thing like this:
write(stream_fh, data, len);
but uses the controll channel to add the data.
PARAMETERS
con The connection to the server.
s The stream to add data to it's input buffer.
data The data to add to the buffer.
len The length of the data to be added.
RETURN VALUE
On success these calls return 0. On error, -1 is returned.
EXAMPLES
FIXME
BUGS
This call doesn't work with the current roard. The server does not use all of the buffer size and complains about unterruns.
SEE ALSO write(2), libroar(7), RoarAudio(7).
RoarAudio May 2011 roar_stream_add_data(3)
Hi guys,
I have a system with the last version of AIX 5.3ML2 on which I installed nim master (nim_master_setup).
After the installation (NIM master setup is complete - enjoy! I like this message :D ) , I check the level of my systems it looks bad some filesets are missing for ML1 and ML2 (and... (1 Reply)
Hi,
consider this file "master" which contains data as
11:skjs:24:asd2
1:skdfjk:23:sfdf
12:su:25:jkh5
13:gre:22:kljl7
14:sai:34:kjg7
I am trying to enter data into the file "master"
i want to count the number of times 11 is present in the file "master" that to in the first filed... (5 Replies)
Is it possible to change priority of stream process ?
Original source: stream ./javawebserver
Desired change is kind of: nice --10 of (stream ./javawebserver) (2 Replies)
Hello all,
I have a NIM master already up and running. When I try to add a client to the NIM environment (from client side), I get the following errors:
1) 0042-376 niminit: This command cannot be executed on a NIM master unless the "is_alternate" attribute is specified.
(I never... (5 Replies)
Hello guys,
what is a sure-shot single command to find out if the NIM environment is working properly from both master as well as client side? (2 Replies)
Hello All,
I believe my NIM master is fine. lsnim and cat /etc/niminfo gives me the right output. While doing "lsnim" on a client machine, I get ksh:lsnim:"not found".
Please someone be nice enough to explain what are the steps to verify the master and client connectivity to do all the NIM... (3 Replies)
Hello everyone
Im trying to backup a nim client from nim master but I got this message
COMMAND STATUS
Command: failed stdout: yes stderr: no
Before command completion, additional instructions may appear below.
0042-001 nim:... (2 Replies)
HI,
I have upgraded nim master and client to TL8,SP6. Now when the mksysb backup ran from master,it is not excluding directories specified in /etc/exclude.rootvg in the client.Instead,mksysb is getting created for all the file systems in the rootvg. This problem only appeared after the TL... (3 Replies)
Hi all,
I have created VIO Server which serves 3 lpars. All of them are on VLAN ID 50.
From one lpar I installed and set up NIM master server called testAIX1.
I have created client and allocated resources to it:
testAIX1:/ > lsnim -l test_lpar
test_lpar:
class = machines
... (4 Replies)
Hi.
I change my client's IP and hostname but I forgot to change anything on the master. How can I redefine or modify my client's resource from my master, or with using smit niminit from my client ?
Tks (2 Replies)
Say I have a stream and want to get MD5 from it, without altering it. I won't know how big the stream is or how much time it will take to close. Here is the idea:
cat somefile | calculate md5 and put it somewhere | bzip2 > somefile.bz2 (5 Replies)
This is a very general question but the idea popped into my head several years ago and wanted the opinions of all the master jedi's of this forum. I had a client that no matter what was done to control there spam(spam assassin,anti-virus(email scanning) and etc) sooner or later something would slip... (2 Replies)
Iam attempting to add a client to NIM however the new client has a different subnet than master 10... & 193... , I've established from redbooks that it should be possible but can't find anything that states how?
Does anyone use nim in this way? (5 Replies)
Hi,
I have created a new OpenLDAP server, on RHEL 7. I am trying to connect a Solaris-10 client to it. But when I am adding this client to ldap master, it is not able to download ldap_client file and thats why service is not coming online. Need help in fixing this issue.
-bash-3.2#... (4 Replies)