Changeset 4295:599bb8861565 in roaraudio


Ignore:
Timestamp:
08/31/10 03:15:13 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

typos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/ltm.h

    r4294 r4295  
    3030 *  or libpulse*: 
    3131 *  The libs libroaresd, libroararts and libroarpulse link this lib 
    32  *  and are therefore GPL. Because of this it may be illigal to use 
     32 *  and are therefore GPL. Because of this it may be illegal to use 
    3333 *  them with any software that uses libesd, libartsc or libpulse*. 
    3434 */ 
     
    4646 * Takes 
    4747 * - connection to server, 
    48  * - used MT (monetoring type), 
     48 * - used MT (monitoring type), 
    4949 * - used window, 
    5050 * - array of streams, 
     
    5454 * Registration is stacked. 
    5555 * This means that if you register a stream twice you need to unregister it twice. 
    56  * This is becaue maybe clients may wich to use LTM and it would be bad 
     56 * This is because maybe clients may witch to use LTM and it would be bad 
    5757 * if the first client which disconnects would remove the LTM from the stream. 
    5858 */ 
     
    6767 * unregister a subset. or a larger set of streams. 
    6868 * 
    69  * The given mt musst match. If it does not the behavor is undefined. 
     69 * The given mt must match. If it does not the behavior is undefined. 
    7070 * The server may refuse the request or just unregister the given bits. 
    7171 * you should not do this. 
     
    8888 * The MT is allowed to not match the registered mt but must not 
    8989 * contain more bits than registered. In most causes this match 
    90  * the registred MT. 
     90 * the registered MT. 
    9191 * 
    9292 * The window must match the window used then streams got registered. 
    9393 * 
    9494 * The list of streams must not match a single registration. 
    95  * but all streams must be registred with at least the bits used in mt 
     95 * but all streams must be registered with at least the bits used in mt 
    9696 * set at registration. 
    9797 * 
     
    109109/* This function frees the result. 
    110110 * This may be defined as macro. Never call the function 
    111  * this refrences as directly if this is a macro. 
     111 * this references as directly if this is a macro. 
    112112 */ 
    113113#define roar_ltm_freeres(x) roar_mm_free((x)) 
     
    129129 
    130130/* Get the number of channels a stream in result has. 
    131  * Thakes the result and the index of the stream in the result. 
     131 * Takes the result and the index of the stream in the result. 
    132132 * The stream index is the index of the stream in the stream list 
    133133 * you provided to roar_ltm_get(). This is not the stream id. 
     
    137137 * You must use this function to get the number of channels for a stream 
    138138 * and not any value you got on some other way. 
    139  * This is becaue this function returns the value in the very moment in witch the 
     139 * This is because this function returns the value in the very moment in witch the 
    140140 * result set was collected in the server. 
    141141 */ 
     
    143143 
    144144/* Extract a single value from the result. 
    145  * Thakes 
     145 * Takes 
    146146 * - the result, 
    147147 * - the mt for which you ask, 
     
    157157 * 
    158158 * The channel is the channel number you ask data for. 
    159  * it must not be bigger than one less what roar_ltm_get_numchans() retruned. 
     159 * it must not be bigger than one less what roar_ltm_get_numchans() returned. 
    160160 * (channels are counted from zero to N-1, not from 1 to N) 
    161161 */ 
Note: See TracChangeset for help on using the changeset viewer.