Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

roar_stream_exec(3) [debian man page]

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

15 More Discussions You Might Find Interesting

1. AIX

Setup NIM - need help please

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)
Discussion started by: touny
1 Replies

2. Shell Programming and Scripting

problem with count

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)
Discussion started by: uni_ajay_r
5 Replies

3. Solaris

change priority of stream

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)
Discussion started by: gogogo
2 Replies

4. AIX

nim master

Hi, I want to know what are steps required to create nim master in aix? Regards, Manoj (1 Reply)
Discussion started by: manoj.solaris
1 Replies

5. AIX

NIM errors

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)
Discussion started by: solaix14
5 Replies

6. AIX

Nim

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)
Discussion started by: solaix14
2 Replies

7. AIX

NIM master-client connectivity issue

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)
Discussion started by: solaix14
3 Replies

8. AIX

Back up a client NIM from nim master

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)
Discussion started by: lo-lp-kl
2 Replies

9. AIX

exclude files not working

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)
Discussion started by: to_bsr
3 Replies

10. AIX

NIM client boot problem

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)
Discussion started by: phobus
4 Replies

11. AIX

NIM : remove nim client info from the client

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)
Discussion started by: stephnane
2 Replies

12. Shell Programming and Scripting

How to get MD5 from a pipe stream and do not alter it?

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)
Discussion started by: Tribe
5 Replies

13. UNIX for Advanced & Expert Users

Ending Spam and Etc.

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)
Discussion started by: metallica1973
2 Replies

14. AIX

Nim client with different subnet to Master

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)
Discussion started by: gefa
5 Replies

15. Linux

OPENLDAP - not able to download profile from master

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)
Discussion started by: solaris_1977
4 Replies