Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

muroar_connect(3) [debian man page]

muroar_connect(3)					    muRoar Programmer's Manual						 muroar_connect(3)

NAME
muroar_connect - Opens a connection to a RoarAudio sound daemon SYNOPSIS
#include <muroar.h> muroar_t muroar_connect(const char * server, const char * name); DESCRIPTION
This function opens a connection to sound server supporting the RoarAudio protocol. PARAMETERS
server The address of the server to connect to. May be set to NULL to connect to the default server. name The name for the application. Should be set to some a string the user will recognize. For example use "OpenOffice Impress" not "soffice.bin" (process name). This can be set to NULL to use a generaic default string. However it is strongly recommented to set this to some useful string. RETURN VALUE
On success this call returns a file handle to a open connection. On error, MUROAR_HANDLE_INVALID is returned. BUGS
This function does currently not support DECnet (UNIX Sockets and IPv4 is supported). HISTORY
This function first appeared in muRoar version 0.1beta0. SEE ALSO
muroar_connect(3), muroar_quit(3), RoarAudio(7). muRoar April 2012 muroar_connect(3)

Check Out this Related Man Page

muroar_stream(3)					    muRoar Programmer's Manual						  muroar_stream(3)

NAME
muroar_stream - Create a stream connected to a RoarAudio sound server SYNOPSIS
#include <muroar.h> muroar_t muroar_stream (muroar_t fh, int dir, int * stream, int codec, int rate, int channels, int bits); DESCRIPTION
This function connects a stream to a sound server supporting the RoarAudio protocol. It takes a connected control connection created with roar_connect(3) and converts it into a connected stream. The socket can no longer be used as control connection. PARAMETERS
fh The connected control connection. dir The stream direction for the new stream. For playback of a waveform stream (PCM data) this is MUROAR_PLAY_WAVE. For all possible values see the offical muRoar manual. stream This is a pointer to an integer muRoar stores the stream ID in. If your application does not need to know the stream ID of the new stream this can be set to NULL. codec This is the codec to be used for the new stream. For signed PCM in host byte order use MUROAR_CODEC_PCM or MUROAR_CODEC_PCM_S. For unsigned PCM use MUROAR_CODEC_PCM_U. There are a lot other codecs defined. However using a codec not supported by the server will result an failure of this call. For all possible values see the offical muRoar manual. rate This is the sample/frame rate the new stream will use. For streams this setting does not make any sense set this to zero. channels This is the number of channels for the new stream. For streams this setting does not make any sense set this to zero. bits This is the number of bits per sample to be used by the data. For streams this setting does not make any sense set this to zero. RETURN VALUE
On success this call return the new stream IO handle. This may be the same as the control connection or a new one and the control connec- tion is closed. On error, MUROAR_HANDLE_INVALID is returned. BUGS
In failure where is no way to tell was was going wrong. HISTORY
This function first appeared in muRoar version 0.1beta0. SEE ALSO
muroar_connect(3), muroar_close(3), RoarAudio(7). muRoar April 2012 muroar_stream(3)
Man Page

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

cant connect

ok the fact taht i cant even connect to the school UNIX server isnt good. thats where the project is. the server address is telnet://164.106.464.10 when i type it in and press enter a window pops up and it says Connecting to 164.106.464.10 then it just closes. doesnt say anything (or it... (6 Replies)
Discussion started by: Combat Form
6 Replies

2. BSD

X configuration

HEllo, I try to Launch OOO, but I have X configuration problem. I 'm searching in man pages but if someone can help me... Of course I set the DISPLAY as explain in the man page but with no more result: setenv DISPLAY myws:0 Thanks in advance (1 Reply)
Discussion started by: SoulCoder
1 Replies

3. UNIX for Dummies Questions & Answers

grafix and sound on Sparc CPU?

Hi, I'm new to this forum AND to UNIX and here are my questions: I have a Sun V480 server sitting here, and I would like to use it. Mainly just for education. Now, I would like to know if I can buy a videocard and a soundcard and install them on this machine? I have looked at som videocards, but... (1 Reply)
Discussion started by: hyperion
1 Replies

4. Programming

How to recognize that the server is currently unavailable?

hi all How to recognize that the server is currently unavailable? by programatically.give some example. am using fedora5 AMD cheers (2 Replies)
Discussion started by: munna_dude
2 Replies

5. UNIX for Dummies Questions & Answers

RHEL Internet connection

Hi all :) I got a problem that I need to solve here, its kinda confusing me. I got servers which is RHEL that its not supposed to connect to internet, but right now I want this server to connect to internet, so firewall and everything already open. but I have no idea why it still unable to... (2 Replies)
Discussion started by: flekzout
2 Replies

6. UNIX for Dummies Questions & Answers

Why i cannot execute remotely soffice with this new user ?

Hi, I would like to remotely execute soffice with different users on a remote machine. Basically I am connected to the machineA as user John. I would like to execute several soffice to the remote machineB. The remote machine B has different users R,S on the same group. I can launch remotely... (12 Replies)
Discussion started by: Robert2011
12 Replies