Changeset 5296:b7fd2c45243e in roaraudio for doc


Ignore:
Timestamp:
11/25/11 02:27:12 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Updated connection object. (Closes: #188)

Location:
doc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • doc/man3/roar_disconnect.3

    r5032 r5296  
    11.\" roar_simple_play.3: 
    22 
    3 .TH "roar_disconnect" "3" "May 2011" "RoarAudio" "System Manager's Manual: RoarAudio" 
     3.TH "roar_connectionref" "3" "May 2011" "RoarAudio" "System Manager's Manual: RoarAudio" 
    44 
    55.SH NAME 
    6 roar_disconnect \- disconnect from RoarAudio's sound server 
     6roar_connectionref, roar_connectionunref \- change reference counter for RoarAudio connections 
    77 
    88.SH SYNOPSIS 
     
    1010#include <roaraudio.h> 
    1111 
    12 int roar_disconnect(struct roar_connection * con); 
     12int roar_connectionref(struct roar_connection * con); 
     13 
     14int roar_connectionunref(struct roar_connection * con); 
     15 
     16#define roar_disconnect(x) roar_connectionunref((x)) 
    1317 
    1418.SH "DESCRIPTION" 
    15 Closes es connection previously opend via \fBBroar_simple_connect\fR(3) or \fBBroar_simple_connect2\fR(3). 
    16  
     19Those functions change the reference counter for connection objects 
     20previously opend via \fBroar_connect\fR(3), \fBroar_connect_fh\fR(3) or \fBroar_simple_connect\fR(3). 
     21If the reference counter hints zero the connection is closed and the object is destroyed. 
     22.PP 
     23The \fBroar_disconnect\fR(3) macro is provided to be source compatible (recompile needed) 
     24with RoarAudio 0.4 or older. 
    1725 
    1826.SH "PARAMETERS" 
    1927.TP 
    2028\fBcon\fR 
    21 The connection to be closed. 
     29The connection to be altered. 
    2230 
    2331.SH "RETURN VALUE" 
  • doc/symlinks.src

    r5083 r5296  
    2929roar_vs_latency                 3       roar_vs_position        3 
    3030roar_vs_latency2                3       roar_vs_position        3 
     31roar_connectionref              3       roar_disconnect         3 
     32roar_connectionunref            3       roar_disconnect         3 
Note: See TracChangeset for help on using the changeset viewer.