Changeset 4013:abd38c189de7 in roaraudio for doc/man7


Ignore:
Timestamp:
07/01/10 19:18:30 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

some manpage fixes

Location:
doc/man7
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • doc/man7/libroar.7

    r4012 r4013  
    7070If all types of server addresses are supported. 
    7171Example: 
    72  ln -s /tmp/roar /etc/roarserver 
    73  ln -s somehost /etc/roarserver 
    74  ln -s mynode:: /etc/roarserver 
     72 ln \-s /tmp/roar /etc/roarserver 
     73 ln \-s somehost /etc/roarserver 
     74 ln \-s mynode:: /etc/roarserver 
    7575 
    7676.SH "BUGS" 
  • doc/man7/roardecnet.7

    r3107 r4013  
    77.SH SYNOPSIS 
    88 
    9  roard -n [OPTIONS...] ... 
     9 roard \-n [OPTIONS...] ... 
    1010 
    11  roarclient --server node:: [OPTIONS...] ... 
     11 roarclient \-\-server node:: [OPTIONS...] ... 
    1212 
    1313.SH "DESCRIPTION" 
     
    2020Nodenames given via '\fB-b\fR' are ignored. 
    2121Example: 
    22  roard -n 
    23  roard -n -b ::myobject 
     22 roard \-n 
     23 roard \-n -b ::myobject 
    2424 
    2525If you use the default object local clients should find there way to the server. 
  • doc/man7/roartips.7

    r4012 r4013  
    2121To do this there is a tool called \fBroarctl\fR(1). You may want to play around a bit 
    2222with it. A good start are to try those two commands: 
    23  roarctl --help 
     23 roarctl \-\-help 
    2424 roarctl allinfo 
    2525 
  • doc/man7/roartut.7

    r4012 r4013  
    4444 
    4545To open the connection we use the call \fBroar_simple_play\fR(3): 
    46  if ( (fh = roar_simple_play(rate, channels, bits, codec, NULL, "sine gen")) == -1 ) { 
     46 if ( (fh = roar_simple_play(rate, channels, bits, codec, NULL, "sine gen")) == \-1 ) { 
    4747  fprintf(stderr, "Error: can not open playback!\\n"); 
    4848  exit(1); 
     
    5959  } 
    6060 
    61 The sine is multiplyed by 127 as our amplitude range for 8 bit signed int is from -128 to +127. 
     61The sine is multiplyed by 127 as our amplitude range for 8 bit signed int is from \-128 to +127. 
    6262 
    6363After we have our current data in \fBout\fR we want to write them to the server: 
     
    8989  char out[1024]; 
    9090 
    91   if ( (fh = roar_simple_play(rate, channels, bits, codec, NULL, "sine gen")) == -1 ) { 
     91  if ( (fh = roar_simple_play(rate, channels, bits, codec, NULL, "sine gen")) == \-1 ) { 
    9292   fprintf(stderr, "Error: can not open playback!\\n"); 
    9393   exit(1); 
     
    108108 
    109109To compile and link we can use a command like this one: 
    110  cc -o roarsin roarsin.c -lm `roar-config --libs --cflags` 
     110 cc \-o roarsin roarsin.c \-lm `roar\-config \-\-libs \-\-cflags` 
    111111 
    112112We need to use \fB-lm\fR to link the math library for \fBsin()\fR. 
Note: See TracChangeset for help on using the changeset viewer.