Changeset 4649:140b309f881c in roaraudio


Ignore:
Timestamp:
12/06/10 23:33:32 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

typos

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r4648 r4649  
    1616        * Updated ring buffer code (Closes: #91) 
    1717        * Fixed a FTBFS error with clang (Closes: #86) 
     18        * Corrected some typos in manpages (pr1) 
    1819 
    1920v. 0.4beta1 - Mon Nov 01 2010 16:14 CET 
  • doc/man1/roarify.1

    r4571 r4649  
    1818.TP 
    1919\fB--help\fR 
    20 Print usage informations. 
     20Print usage information. 
    2121 
    2222.TP 
  • doc/man7/roartut.7

    r4612 r4649  
    7272Again most simple way is to use \fBroar_vs_run\fR(3). 
    7373 
    74  if ( roar_vs_run(vss, &err) == -1 ) { 
     74 if ( roar_vs_run(vss, &err) == \-1 ) { 
    7575  roar_vio_printf(roar_stderr, "Error: can not loop: %s\n", roar_vs_strerr(err)); 
    7676 } 
     
    8080After it returned must close the VS object. This should be done directly 
    8181after \fBroar_vs_run\fR(3) returned. This is done this way: 
    82  if ( roar_vs_close(vss, ROAR_VS_FALSE, &err) == -1 ) { 
     82 if ( roar_vs_close(vss, ROAR_VS_FALSE, &err) == \-1 ) { 
    8383  roar_vio_printf(roar_stderr, "Error: Can not close connection to server: %s\n", roar_vs_strerr(err)); 
    8484  return 1; 
     
    100100  } 
    101101 
    102   if ( roar_vs_run(vss, &err) == -1 ) { 
     102  if ( roar_vs_run(vss, &err) == \-1 ) { 
    103103   roar_vio_printf(roar_stderr, "Error: can not loop: %s\n", roar_vs_strerr(err)); 
    104104  } 
    105105 
    106   if ( roar_vs_close(vss, ROAR_VS_FALSE, &err) == -1 ) { 
     106  if ( roar_vs_close(vss, ROAR_VS_FALSE, &err) == \-1 ) { 
    107107   roar_vio_printf(roar_stderr, "Error: Can not close connection to server: %s\n", roar_vs_strerr(err)); 
    108108   return 1; 
     
    203203 
    204204After we have our current data in \fBout\fR we want to write them to the server: 
    205   if ( roar_vs_write(vss, out, sizeof(out), &err) == -1 ) { 
     205  if ( roar_vs_write(vss, out, sizeof(out), &err) == \-1 ) { 
    206206   roar_vio_printf(roar_stderr, "Error: Can not write audio data to server: %s\n", roar_vs_strerr(err)); 
    207207   break; 
     
    214214After we are finished with our main loop we have to close the connection to the server. 
    215215This is done by \fBroar_vs_close\fR(3) as we already done in the file playback example: 
    216  if ( roar_vs_close(vss, ROAR_VS_FALSE, &err) == -1 ) { 
     216 if ( roar_vs_close(vss, ROAR_VS_FALSE, &err) == \-1 ) { 
    217217  roar_vio_printf(roar_stderr, "Error: Can not close connection to server: %s\n", roar_vs_strerr(err)); 
    218218  return 1; 
     
    251251   } 
    252252 
    253    if ( roar_vs_write(vss, out, sizeof(out), &err) == -1 ) { 
     253   if ( roar_vs_write(vss, out, sizeof(out), &err) == \-1 ) { 
    254254    roar_vio_printf(roar_stderr, "Error: Can not write audio data to server: %s\n", roar_vs_strerr(err)); 
    255255    break; 
     
    257257  } 
    258258 
    259   if ( roar_vs_close(vss, ROAR_VS_FALSE, &err) == -1 ) { 
     259  if ( roar_vs_close(vss, ROAR_VS_FALSE, &err) == \-1 ) { 
    260260   roar_vio_printf(roar_stderr, "Error: Can not close connection to server: %s\n", roar_vs_strerr(err)); 
    261261   return 1; 
Note: See TracChangeset for help on using the changeset viewer.