Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

muroar_beep(3) [debian man page]

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

NAME
muroar_beep - Send notify beep to RoarAudio sound daemon SYNOPSIS
#include <muroar.h> int muroar_beep (muroar_t fh); DESCRIPTION
This function sends a notify beep to the sound daemon fh is connected to. fh need to be connected using muroar_connect(3) to a sound server supporting the RoarAudio protocol and the BEEP command. RETURN VALUE
On success this call return 0. On error, -1 is returned. NOTES
The beep is canceld at the server side as soon as the connection is closed. This means that you should not close the connection before the beep is played completely. BUGS
This commands requests the server for a default beep. No other kind of beep can be send. There is in addition no way to tell the actual length of the beep. The application should at least wait a bit more than 512ms before closing the socket. In case possible it is good to wait a minimum of about one secound to be really sure the beep ended. HISTORY
This function first appeared in muRoar version 0.1rc2. SEE ALSO
muroar_connect(3), muroar_quit(3), RoarAudio(7). muRoar April 2012 muroar_beep(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

12 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

no beep in shell??

hiho, who has an idea how i can tell my shell that it should not beep on errors or when i'm using the TAB in bash to complete noone needs to know when i make mistakes ;-) solaris 9 (SPARC) bash 2.05 thx a lot Preßy (1 Reply)
Discussion started by: pressy
1 Replies

2. HP-UX

Turn off awful beep

. (1 Reply)
Discussion started by: Driver
1 Replies

3. UNIX for Dummies Questions & Answers

Need to shut off beep

I need to know how to turn off the beep in my unix environment. I tried with the Common Desktop Environment on solaris but it didn't work. I used to know the environment variable to set but I have forgotten it. (1 Reply)
Discussion started by: jpedicone
1 Replies

4. UNIX for Dummies Questions & Answers

How do I make 'tail -f' beep?

Hi, I'm moniroting numerous logs in my new job (tail -f JOE.log | grep ALERT) and I want to be able to make the Terminal BEEP when ever something comes up. Is this something I can do easily? Any help with the above (or an alternative) would be appreciated, so I can stop staring at the... (1 Reply)
Discussion started by: the_big_v
1 Replies

5. UNIX for Dummies Questions & Answers

turn off sound

how to disable anoying beep sound??? (4 Replies)
Discussion started by: nnn
4 Replies

6. UNIX for Dummies Questions & Answers

How to make sound using C under UNIX

i'm programming using C under UNIX. i wonder to how make sound using C ? any sound like "beep" would be fine. thx. :confused: (6 Replies)
Discussion started by: trapeze
6 Replies

7. AIX

Onboard Sound

Is there a command to make the onboard sound beep? (0 Replies)
Discussion started by: dig1tal
0 Replies

8. UNIX for Dummies Questions & Answers

How to get ride of the BEEP in Solaris

Hello, I did a search on this forum and a global search to try and find out how to disable that annoying beep that you get when you mistype or hit the esc key in VI and i didn't have that problem last week. I'm using Solaris and bash shell and i've put these commands into my .profile file: ... (2 Replies)
Discussion started by: bobk544
2 Replies

9. SCO

Please help me

Hi, I need help to solve problem. I am getting beep sounds continiously on Dell power edge 2400 and the operating sound is SCO unix. I am able to work on SCO. i am able to log in and logout. please reply me. thanks in advance. Cheers. Rajeev (3 Replies)
Discussion started by: engineer_7
3 Replies

10. Ubuntu

I can't make my pc speakers beep

I don't know why, but when I issue echo -e '\a' or beep. I get only some sound, set in my OS (Ubuntu Karmic). I tried to run these on Lenovo Y510KA and Lenovo S10-2. Is there another way to make my laptops beep?.. (3 Replies)
Discussion started by: Sapfeer
3 Replies

11. HP-UX

Newb Help, need to image one HD to another

Hello, I am totally new to Unix We have a piece of test equipment, three of them actually, that run HP-UX 9.0 from like 1994. We had backup tapes with procedures to load the OS and our test software, but the 16-track tapes are corrupt now. HP will not support it, they dont have it anymore,... (11 Replies)
Discussion started by: Newball80
11 Replies

12. UNIX for Dummies Questions & Answers

Ftp showing connected only

hi, good morning. Anyone can help me out. A trying to ftp from server A to server B. from server A to B its working fine but from server B to A, its only showing connected only: finap7 #ftp 10.10.10.210 Connected to 10.10.10.210. I refresh the inetd but nothing is happening. Please... (1 Reply)
Discussion started by: kamaldev
1 Replies