Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

roar_vs_run(3) [debian man page]

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

NAME
roar_vs_iterate, roar_vs_run - Iterate streams SYNOPSIS
#include <roaraudio.h> int roar_vs_iterate (roar_vs_t * vss, int wait, int * error); int roar_vs_run (roar_vs_t * vss, int * error); DESCRIPTION
roar_vs_iterate() sends a block of data from the local buffer to the server or reads data from the server into the local buffer in blocking mode, or pushes or pulls data to or from server in file mode. roar_vs_run() does the same as roar_vs_iterate() but loops until EOF or error. PARAMETERS
vss The VS object to be used. wait If ROAR_VS_WAIT roar_vs_iterate() will block until data has been synced with the server. If ROAR_VS_NOWAIT roar_vs_iterate() will not block if no data can be send to or read from the server. 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 EOF these calls return 0. roar_vs_iterate() returns a positive value on non-EOF success. On error, -1 is returned. EXAMPLES
FIXME SEE ALSO
roarvs(7), libroar(7), RoarAudio(7). RoarAudio June 2011 roar_vs_iterate(3)

Check Out this Related 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)
Man Page

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

\n after EOF

Hello all, I have unix file that ends with the following EOF '9999999999' I want to remove the '\n' character after EOF. What is the command that should be included in the script, before sending the file? will this work: $ echo "<99999999999>\c" >> <filename> thanks in advance. (3 Replies)
Discussion started by: priya12
3 Replies

2. Shell Programming and Scripting

"unexpected end of file" when Iīm use EOF inside block if

I have a trouble in my script when i use EOF inside block if. If i use EOF whitout block if I donīt have problem. Guys any ideas? Sorry for my terrible English. #!/bin/sh set -xv HOST='ftp.fiction.com.br' USER='fictionuser' PASS='fictionpass' FILE='ftpteste.txt' busca=`find... (4 Replies)
Discussion started by: ricardo.ludwig
4 Replies

3. Shell Programming and Scripting

To block ip address

Hi, I need to block a ip address without logging to the server not for a single server for more number of servers. I use the tool " apf" to block an ip apf -d <Ipaddress> Is this can be done with the shell script.? (10 Replies)
Discussion started by: gsiva
10 Replies

4. IP Networking

handling incoming messages

I have a few clients connecting to the server(which is using select()) and theyre trying to send messages to each other. How do I wait for input on stdin and at the same time I wait for data to being sent from the server? Should I use select() in my client too? How exactly though? (1 Reply)
Discussion started by: charlitos
1 Replies

5. UNIX for Dummies Questions & Answers

unexpected EOF

hello everyone...im having this problem with unexpected EOF with line 85 which is..i cant see whats wrong with it..can any1 plz help me out. read -p "$p1 please enter the number of tries you wish to have:" lifeline function main() { guessnum=0 read -p "Please enter if its sinle player game... (1 Reply)
Discussion started by: Freakhan
1 Replies

6. UNIX for Dummies Questions & Answers

Urgent..!!

What is the output for this prgm? $vi test<<EOF >:5 >dd >:wq! >EOF $ (2 Replies)
Discussion started by: karthi_g
2 Replies